Forum Discussion
MAX 10 programming flow via JTAG
Hi Aiman,
You are correct. The goal is to program the MAX 10 devices with our third party programmer. In addition, we do want to manage the pof file directly, without converting it to SVF or JAM with Quartus.
We are already able to manage the pof file. For the programming algorithm we are following the BSDL 1532 & MAX10_programming_spec_Ver6.pdf documents. However, my first question is why the SVF file generated with Quartus includes also the following JTAG sequence:
SDR 23 TDI (500008);
SIR 10 TDI (205);
RUNTEST 128 TCK;
SDR 32 TDI (00000000) TDO (1E000000) MASK (FF800000);
I cannot find anything about it. I'm worried that it must be performed even if not described in any document.
Regarding my second question, we have already find out the solution: the ISC address is simply the address with MSB first.
Best Regards,
Luca
Hi Aiman,
The reason I am also asking for this is because of an issue while re-programming the MAX 10 if the CFM is secured (all the content is read out as 0x0000..). In this scenario, the BSDL1532 sequence fails: the CFM memory is still read out with 0x00 even after a DSM Clear command. Of course, Quartus can reprogram it successfully instead. I'm worried then that the BSDL 1532 file does not take into account all possible scenarios.
As I can see from the Handbook on page 294, I suspect that the CFM Verify Protect may be enabled. In that case, what can I do to unlock it? I would expect that after a DSM Clear the Verify Protect feature is turned off.
Best Regards,
Luca