Reflash Traveo 2 CYT2B95 using SWD and a JLink segger

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

cross mob
abdelhadibe
Level 1
Level 1
First question asked Welcome!

Hello, 

We are having serious problems connecting to a CYT2B95CAC part using SWD and a JLink segger.
This is the message displayed on j-flash
Can you help please?
Thanks

Message : 

Connecting ...
- Connecting via USB to probe/ programmer device 0
- Probe/ Programmer firmware: J-Link V11 compiled Dec 7 2021 08:37:18
- Device "CYT2B95CAC_M0" selected.
- ConfigTargetSettings() start
- Disabling flash programming optimizations: Compare, SkipBlankDataOnProg and flash breakpoints
- J-Link script: ConfigTargetSettings()
- ConfigTargetSettings() end
- ConfigTargetSettings() start
- Disabling flash programming optimizations: Compare, SkipBlankDataOnProg and flash breakpoints
- J-Link script: ConfigTargetSettings()
- ConfigTargetSettings() end
- Target interface speed: 200 kHz (Auto)
- VTarget = 3.354V
- ConfigTargetSettings() start
- Disabling flash programming optimizations: Compare, SkipBlankDataOnProg and flash breakpoints
- J-Link script: ConfigTargetSettings()
- ConfigTargetSettings() end
- ConfigTargetSettings() start
- Disabling flash programming optimizations: Compare, SkipBlankDataOnProg and flash breakpoints
- J-Link script: ConfigTargetSettings()
- ConfigTargetSettings() end
- ERROR: Failed to connect.
Could not establish a connection to target.

 

Regards,

Abdelhadi

0 Likes
1 Solution
Kavya_B
Moderator
Moderator
Moderator
100 replies posted 10 likes given 25 solutions authored

Hello Abdelhadi,

By seeing the log you shared it can be understood that it's failing to establish the connection to the target. There could be multiple reasons for this like damaged device, wrong configuration file, power connection issues, wrong parameter etc.

As first step, you can check if power supply is stable and the device is not in reset state.

If there is no issue with respect to power, then you can try to erase using Auto Flash Utility tool and try flashing. In order to download Auto Flash Utility tool, please first register yourself to MyInfineon platform. The steps to follow to get access to our documentation and software tools can be found in below link:

https://www.infineon.com/cms/en/product/promopages/MyICP-platform-for-Microcontroller/

Please try the initial steps suggested and let us know your observations.

 

Thanks,

Kavya

View solution in original post

0 Likes
1 Reply
Kavya_B
Moderator
Moderator
Moderator
100 replies posted 10 likes given 25 solutions authored

Hello Abdelhadi,

By seeing the log you shared it can be understood that it's failing to establish the connection to the target. There could be multiple reasons for this like damaged device, wrong configuration file, power connection issues, wrong parameter etc.

As first step, you can check if power supply is stable and the device is not in reset state.

If there is no issue with respect to power, then you can try to erase using Auto Flash Utility tool and try flashing. In order to download Auto Flash Utility tool, please first register yourself to MyInfineon platform. The steps to follow to get access to our documentation and software tools can be found in below link:

https://www.infineon.com/cms/en/product/promopages/MyICP-platform-for-Microcontroller/

Please try the initial steps suggested and let us know your observations.

 

Thanks,

Kavya

0 Likes