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

TRAVEO™ T2G Forum Discussions

Shashank_K
Level 1
Level 1
First reply posted 5 sign-ins First question asked

Hi,

I am facing an issue while debugging the CYT2B9 MCU in IAR workbench with J-Link debugger.  Please help me to solve this issue.

 

The debug log file is attached below.

0 Likes
3 Replies
AS_36
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 250 replies posted

Hi @Shashank_K 

Please provide some background on the issue - 

  1. Are you facing this issue on multiple devices?
  2. Have you tried programming this particular device before and did it work or is this the first time you are programming it?
  3. The last message in the log is related to breakpoints. Are there any breakpoints set in your project? Can you try removing all breakpoints from your project and try again?
  4. Can you give some overview of what project are you trying to program on your device?

Regards.

0 Likes
Shashank_K
Level 1
Level 1
First reply posted 5 sign-ins First question asked

Hi AS_36,

Thanks for the reply...

  • Are you facing this issue on multiple devices?

We are working on this device for the first time and we got this error.

  • Have you tried programming this particular device before and did it work or is this the first time you are programming it?

First time we configured CYT2B9 MCU with J Link IAR workbench.

  • The last message in the log is related to breakpoints. Are there any breakpoints set in your project? Can you try removing all breakpoints from your project and try again?

I removed all the break points in the project and restarted the code. Still I face the same issue.

  • Can you give some overview of what project are you trying to program on your device?

We are planning to develop a digital IO based application with CYT2B9 MCU, for this we used IAR workbench with J Link and we got this issue.

 

Will you please share any relevant document for configuring the project for successfully debugging of CYT2B9 MCU with IAR workbench and J link.

 

Thanks in advance.

0 Likes
AS_36
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 250 replies posted

Hi @Shashank_K 

We tried programming the default LED blinking project from SDL 7.7.0 to the CYT2B9 rev C device using J-Link and it works for us.

Did you select the correct debugger settings in IAR? Right click on the project and select Options -> Under Debugger select J-Link/J-Trace - > Under J-Link/JTrace select interface as SWD.

AS_36_0-1673852367583.pngAS_36_1-1673852398113.png

You can also try doing a Clean and Rebuild All for your project.

Are you using any of the evaluation boards from Infineon or are you using your own custom board?

You could also try using Auto Flash Utility to erase and program the device. You can download Auto Flash Utility from the following link - https://community.infineon.com/t5/TRAVEO-T2G/Auto-Flash-Utility-download-link/td-p/353345

We also recommend you to contact IAR/J-Link if the issue persists.

Regards.

0 Likes