Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
10 years ago

Bootloader for MAX10 by JTAG (without NIOS!)

Hi,

in my Project, i have a MAX10 FPGA and a nearby µC on one single board. So i would like to use the µC to reprogram/update the MAX10 (over CAN or ETHERNET). As far as i understand, there is only one external hardwareinterface to flash to the CFM0, CFM1, CFM2? By Using JTAG? (as written in the Handbook):

--- Quote Start ---

You can program the internal flash including the CFM of MAX 10 devices with ISP through industry standard JTAG interface. ISP offers the capability to program, erase, and verify the CFM. The JTAG

circuitry and ISP instructions for MAX 10 devices are compliant to the IEEE-1532-2002 programming

specification.

During ISP, the MAX 10 receives the IEEE Std. 1532 instructions, addresses, and data through the TDI

input pin. Data is shifted out through the TDO output pin and compared with the expected data.

--- Quote End ---

Therefore i have some Questions:

- Am i right? Do i have to update it by JTAG when i want to do it externally?

- Is the only alternativ technique to use a second bootloader image, build up a nios core, write an application, use it to recieve flash commands by a serial interface only to pass them again directly to the flash by the on chip-Flash Programmer IP?

- Is there any (Altera?) documentation existing about how to use the JTAG? Inside the document, there is even no word about how to get data into the device (assuming a command like ISC_DATA_SHIFT) Only samples of other typical TJAG commands like ISC_ERASE are mentioned.

- Is there a howto or sample-project existing showing how to program the device by JTAG?

- What else can i do to config the MAX? On Cyclone, i just took the hexout and simply copied it to the ECPS by the nearby µC. That was quite very easy.

Thank you very much!
No RepliesBe the first to reply