Forum Discussion
Altera_Forum
Honored Contributor
20 years ago --- Quote Start --- originally posted by cosmosd@Oct 9 2005, 03:26 AM hello,can everyone tell me how to download a .srec or .bin file to nios2 dev board,in the nios1,i use nios-run in the shell,but in the nios2,i also use nios-run ,but it always says:waiting for target.....,why ,help me!
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=10243)
--- quote end ---
--- Quote End --- The srec method still works ( to download to RAM). The nr abc.flash won't work. Someone screwed up. The GERMS monitor has faulty code in that does not write or erase the CFI flash. Has to do with byte and word write commands(assembly code in GERMS) First try to manipulate memory before trying to download. On the terminal type "nr -t". This should give you direct access to the GERMS monitor. Hit enter a few times. You must see a memory dump. If that does not work then something is wrong (baud rate etc...) If that worked then try to write and read from the memory block you are targeting. e.g. read from the location first: m40000 <enter> You should see a memory dump at 0x40000. Next write something to 0x40000. m40000:1234 Then read it again. If it differs then your memory is not correctly interfaced. You can also try to fill the block with a fixed value m40000-50000:1234 Dump the memory and see if a location or more has gone to cyber heaven ----- For all practical purposes Nios2 should download to RAM without a problem using nios-run. The only real problem is writing to flash. VictorS