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 agoHi Karol,
where do you declare the variable FlashAd? void UpdateSoftware(void) { alt_irq_context count3; count3 = alt_irq_disable_all(); for(FlashAd = 0x0000000; FlashAd < 0x0140000; FlashAd += 0x0020000) { EraseFlashSector(FlashAd); } ...