Getting Debug Messages through JTAG

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

cross mob
Anonymous
Not applicable

We are short of pins and have used the UART pins for some other purpose.

   

Is it possible to get debug messages though the JTAG port through JLink cable? If yes, do I need to use the CyU3PDebugInit ? This API needs the destination socket id.How this is to be populated?

   

 

   

Thanks,

   

Skan

0 Likes
3 Replies
Anonymous
Not applicable

I don't think you would be able to do that through JTAG. If the UART pins are used why are you not using I2C or SPI to send these debug messages.

   

Regards,

   

Anand

0 Likes
Anonymous
Not applicable

I should have stated it more correclty.  I was using UART to get debug messages and had to give up it also along with SPI.

   

BTW how to interpret the debug messages on the I2C? Can you please recommend any product/tool for this? I searched and found some but do not know which one will be suitable for this.

   

 

   

Thanks,

   

Sandeep

0 Likes
Anonymous
Not applicable

Sandeep,

   

Any I2C bus monitor should work but you'll have to decode the hex and see what is being sent (That is the main advantage that UART has, you've utilities do the decoding for you)

   

Regards,

   

Anand

0 Likes