Forum Discussion
Altera_Forum
Honored Contributor
14 years agoCYCLONE III - EPCS16 - AS MODE and FLASH PROGRAMMING
Hi all, this is santhosh. i am not too much into fpga's.... we are utilizing an altera cyclone iii board for a energy meter purpose. We have made a board for the application.i find that in my...
Altera_Forum
Honored Contributor
14 years ago.... Ok so after tying MSEL[1] to VCCA, the AS problem is solved.
My second issue is the FLASH PROGRAMMER which comes with the NIOS II Software Build Tools. I am able to now use JTAG mode and AS mode with Quartus II. I usually use the Flash programmer to do a complete programming(Quartus and NIOS code). I do the following,- JTAG the FPGA board, write the sof. NIOS II CPU reset vector pointing to EPCS device.
- Note that in NIOS the all Linker segments apart from entry and exceptions point to sram_0 (2Mb SRAM)
- open NIOS, generate BSP, build project and the open the flash programmer.
- Add Choose the BSP/SOPC file.
- add .sof file
- add .elf file
- add offset for elf file based on sof file size
- and run the programmer.