Menu

Reply To: JTAG flashing problems

Home Forums OSSC OSSC – DIY Kit support JTAG flashing problems Reply To: JTAG flashing problems

#18462

borti4938
Participant

Quartus Prime does not handle c compilation. You can use the Eclipse tools for building the firmware or any other c project management tool. marqs85 e.g. uses Codelite and provides workspaces for that.

Interaction workflow between hardware and software is:
– hardware provides NIOS2 softcore and BRAM for the program
– program is initialized with content which has to be generated with nios2eds tools (default location is software/sys_controller/mem_init/sys_onchip_memory2_0.hex) <- this is needed to see your changes if you reinitialize the FPGA
– in runtime you can download new NIOS2 programs (default location is software/sys_controller/sys_controller.elf) to the NIOS2 core with nios2-download -g –accept-bad-sysid sys_controller.elf

Some links regarding this:
https://github.com/marqs85/ossc/issues/2
https://github.com/marqs85/ossc#building-software-image