- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Does anyone have experimented this ? I have created a target board for my custom board with mk_taget_board. I have a Quartus project and a software that work fine. I can use the command line "nios2-flash-programmer" to program my EPCS or my flash, but when I try to use the Nios2 IDE Flash Programmer, I cannot program the flash (button is greyed out), and I get the message "There is a problem with the target board. Check the target board selection in SOPC Builder for this system". In my design, I have correctly chosen as target board the one I have created with mk_custom_board, I don't see what other configuration I can set. The only way I found to have this working is to open the quartus project and the associated SOPC Builder (for my design project, not for the target board project). When it is open, the button in the Flash Programmer is available and I don't get any error message. Is this a bug or a misuse from me ? Thanks podLink Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
cetic,
you're not alone. In the past there have been several topics regarding this problem. You have to start SOPC builder everytime you will use 'Flash-Programmer'. To avoid this, open SDK-Shell, change to the directory of your EPCS firmware (Debug or Release) and call the script file, which was created by Flash-Programmer, directly. This scriptfile has the extension .sh and has to be called with the prefix ./ (Unix style). Mike- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your help !
pod- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Where (in which directory) is your target board component located? Did you place it in the <nios2_rootdir>/components directory? Alternately, you could place it in a different directory and then change your SOPC_BUILDER_PATH to point to it.
From the behaviour you're describing, it sounds like your target board component is not in one of the standard component search locations. Cheers, - slacker- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi slacker,
well, my target board is in the default directory, I mean in <my_quartus_project_dir>/target_board/. I never placed it in the components directory, I followed the Flash Programmer Guide, and ran mk_target_board in my quartus project directory. I will try to move it to the components directory, but in this case, will the target board be visible for my quartus project ? Thanks pod- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
....yes, it apparently is. And it works now. So I just moved my target board quartus project from my quartus project to the components dir and I don't get the error message from the flash programmer
thanks slacker pod
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page