Forum Discussion
Altera_Forum
Honored Contributor
18 years agoHapyang,
From what I can tell, your data sheet does not contain address info; the address info is provided by UltraEdit as it displays the contend of your binary file. If you are building an independent system, you would need add a JTAG UART, Nios II, and a Common Flash Interface Controller core to your SOPC builder. Write some code for Nios to read from the JTAG UART and write to the Flash controller. You will need to decide the starting address you want to write in the flash and increment the address as you write. Having said the above, Altera has already included a Nios II Flash Programmer which does this. (http://www.altera.com/literature/ug/ug_nios2_flash_programmer.pdf) Instead of using a JTAG UART and writing your own code, Nios II Flash Programmer transfer the data via Nios' JTAG debug port. Hope this helps.