- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
The Flash Programmer can’t access my custom board. The error message is as follows: “There is a problem with the target board. Check the target board selection in SOPC Builder for this system.” Where can I get more information about this? The system was always running without any problem. Bye, niosIIuserLink Copied
6 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We had kind of the same problem - the problem arose because we started using a flash from Spansion. The flash supports the CFI format/protocol, but unfortunately, the Spansion flash is more picky about CFI, and thus we experienced the same problem.
What happens is that the programmer will download a "flash programmer" design to your board, it will then use the CFI functions to figure out how the flash is configured (banks, sizes etc). Finally the flash chip will be programmed. We kept getting the error message you mentioned, so... We then tried to program the flash by downloading a small program via JTAG, the program would try to write stuff to the flash using the alt_flash functions. This kept failing, so singlestepping through the code, we realized that the alt_flash_ functions did not work with the Spansion flash, since we have the source code, we where able to fix the error. I suggest you make a small "hello, world" type application, and then try to open, and write stuff to your flash. Try singlestepping through the code (inside the alt_flash_ routines), and figure out why it fails. But at some point, the flash programmer should be recompiled so that it will work with other CFI flash devices.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
niosIIuser,
try: open SOPC-builder , close SOPC-builder, open Flash-programmer Mike- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello morten_tor,
Thank you for your tips. Unfortunately this will not help because the error comes up before the button “Program Flash” is activated. And the board was running exactly in this configuration. I don’t know why there are problems now. Yesterday I figured out then when the SOPC Builder is open sometimes the error message does not appear and programming the flash does work. Bye, niosIIuser- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by mir@Feb 1 2005, 04:08 PM niosiiuser,
try: open sopc-builder , close sopc-builder, open flash-programmer
mike --- Quote End --- Hello MiR, I’m sorry I haven’t seen your post before answering to “morten_tor“. What have written does help but could you tell me why? Bye, niosIIuser
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello niosIIuser,
we're answering at the same time. I don't know why this works. I think there is a problem with javaw.exe which is used by both programs. In the past there was an error resulting in hanging of javaw.exe. This one is solved. Sorry, no further idea. Mike- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Mike,
Thanks for your help. I think I can live with this bug. Bye, niosIIuser
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