Forum Discussion
Altera_Forum
Honored Contributor
20 years agoUpgrading Nios Software - external flash
Dear all, I would like to upgrade my NIOS code by RS232. The NIOS runs from external memory. This is my procedure: - I transfer the .elf file to the .flash file by the instruction el...
Altera_Forum
Honored Contributor
20 years ago --- Quote Start --- originally posted by pfab@Mar 1 2006, 06:26 AM hi karel,
your function updatesoftware should be written to the onchip memory by the altera bootloader that gets linked into the .flash file for your project.
can you explain me how you can do that? do you have an example?
this is quite important, because the .flash file is the one you should use to upgrade your software! you can convert it to a bin file using a tool like srec2bin.
you should also check the objdump file for your project if everything is placed in the correct memory.
during the update process avoid function calls and make sure to disable all interrupts if you are using any (e.g. system_timer).
hope this helps,
--wolfgang
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=13024)
--- quote end ---
--- Quote End ---