Jtag CyJtagRead, CyJtagWrite buffer parameter format

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
YuCh_4287461
Level 1
Level 1

We want to use CY7C65215 's JTAG port to do jtag boundary scan, communicating with our new IC (fpga).

We found jtag APIs in "Cypress USB-Serial API Document.pdf”.

CyJtagRead

CyJtagWrite

However, the document doesn’t mention CY_DATA_BUFFER 's buffer format.

We don't know how to program this buffer.

How to send a command to IR register? Select a DR and read it's data?

Can Cypress provides jtag sample code or relevant documents?

Thanks,

0 Likes
1 Solution
Sananya_14
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hello,

JTAG interface is supported in USB-Serial with only the OpenOCD tool and since the part is a fixed firmware part, only that particular command format is supported. We currently do not have any external document to provide details on the commands.

However, you can check the latest source file openjtag.c used in OpenOCD version 0.10.x which passes those commands using the CyJtagWrite() and CyJtagRead() APIs from-http://openocd.org/. Please look for the commands which perform the required operations on the IR or DR and use the same format in your application.

Best Regards,
Sananya

View solution in original post

0 Likes
1 Reply
Sananya_14
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hello,

JTAG interface is supported in USB-Serial with only the OpenOCD tool and since the part is a fixed firmware part, only that particular command format is supported. We currently do not have any external document to provide details on the commands.

However, you can check the latest source file openjtag.c used in OpenOCD version 0.10.x which passes those commands using the CyJtagWrite() and CyJtagRead() APIs from-http://openocd.org/. Please look for the commands which perform the required operations on the IR or DR and use the same format in your application.

Best Regards,
Sananya

0 Likes