Can we use LPC1768 to configure FPGA via JTAG

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can we use LPC1768 to configure FPGA via JTAG

963 Views
marysoniadurom
Contributor II

My project prototype have LPC1768 Mbed board and Altera Max10M50 development kit. I would like to perform Remote System Upgrade(RSU) on FPGAs using LPC1768 via JTAG.  My idea is to receive FPGS Configuration data from Host PC via UART, store it , then write it to Configuration Flash of Max10 FPGA.

Is that doable?

Labels (1)
3 Replies

732 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Mary,

    If you want to use the LPC1768 to control your FPGA via JTAG, you can select some IO pin, then simulate the JTAG control sequence to control FPGA, and write the according code. But I Think you can use the LPC JTAG pin to control the external JTAG device, the on chip JTAG interface is used for the chip debug mode, to chip, it is a slave, but actually, you want to use the LPC as the JTAG master. So you need to prepare the according code. You also need to learn the JTAG protocol.

Wish it helps you!

Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

732 Views
marysoniadurom
Contributor II

Thank you for your reply.

So LPC1768 has an on-chip JTAG slave device that can be used only for debugging and programming the chip.

Is there any registers associated with JTAG interface like Instruction/Data register that can be accessed?

Do I need to code the entire JTAG protocol from scratch like generating TCK and sampling TDI &TDO?

0 Kudos

732 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Mary,

    Unfortunately, the JTAG interface don't have the according instruction/data register for your normal usage in the LPC17XX, so you need to code the entire JTAG protocol.

Wish it helps you!


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------