Showing results for 
Search instead for 
Did you mean: 

NIOSII altera_epcq_controller v15.1 - Stuck in ALTERA_EPCQ_CONTROLLER_INIT with debug


I face with a problem that during running debugger (blaster) the processor is stuck in where try to " read EPCQ_RD_RDID for the silicon ID":
silicon_id = IORD_ALTERA_EPCQ_CONTROLLER_RDID(flash->csr_base);

The address is valid, but when suspending the debugger right before this line execution and try to read from 'Memory Monitor', I receive an error that address isn't valid.

This situation doesn't occur if I program the ".jic" file of the same solution.

Arthur D.

0 Kudos
1 Reply

Hi @Arthur_Davidov,

Thank you for posting in Intel community forum and hope this message find you well.
Upon generating the jic file you should have an output.jic and an file created. Check the file and it will tell you the EPCQ addresses of the sof and hex files. Check if the hex file starts right after the sof file. (e.g. the sof is 0x000 - 0xAAA, the the hex file should start with 0xAAB)

I believe that you might have build the jic correctly, but here are also some good references of the steps to create the jic files.

Note: More details explanation of the address can be found in the following user guide under 'Nios II Processor Application Copied from EPCQ Flash to RAM'

Warm regards.

0 Kudos