IAR: Failed to load the CPU core driver Session aborted!

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

cross mob
txcao
Level 1
Level 1
First comment on KBA 25 sign-ins 5 questions asked

Hello,

I am using Traveo II Family Entry Starter Kit (CYT2B75CADES).

I have tried to flash and debug Firmware from IAR (ARM 9.20.4), but I got the problem as below:

Failed to load the CPU core driver Session aborted!

txcao_0-1660737751037.png

I have followed all guide from these links (use SWD CMSIS DAP, upgrade KitProg3)

https://community.infineon.com/t5/TRAVEO-T2G/Failed-to-load-the-CPU-core-driver-Session-aborte/m-p/3...

But the problem can't be solved.

txcao_1-1660738061203.png

Please check and help me to solve this problem.

Thanks,

0 Likes
1 Solution
KumarAP
Moderator
Moderator
Moderator
50 solutions authored 100 replies posted 5 likes given

Hi @txcao ,

Please run below mentioned commands in sequence using  "Auto Flash Utility" :

1. to erase :
openocd -s ../scripts -f interface/kitprog3.cfg -c "transport select swd" -f target/traveo2_1m_a0.cfg -c "init; reset init; flash erase_sector 0 0 last; shutdown"

2. to program :
openocd -s ../scripts -f interface/kitprog3.cfg -f target/traveo2_1m_a0.cfg -c "program <elf/srec/hex file path> 0x0 verify exit"

Thank you.

View solution in original post

0 Likes
3 Replies
KumarAP
Moderator
Moderator
Moderator
50 solutions authored 100 replies posted 5 likes given

Hi @txcao ,

Could you please try to erase and program the chip using "Auto Flash Utility". 

Thank you.

0 Likes
txcao
Level 1
Level 1
First comment on KBA 25 sign-ins 5 questions asked

Hello Kumar,

Error: DAP 'traveo2.cpu' initialization failed (check connection, power, etc.)

txcao_0-1660803536423.png

Please help me to check it.

0 Likes
KumarAP
Moderator
Moderator
Moderator
50 solutions authored 100 replies posted 5 likes given

Hi @txcao ,

Please run below mentioned commands in sequence using  "Auto Flash Utility" :

1. to erase :
openocd -s ../scripts -f interface/kitprog3.cfg -c "transport select swd" -f target/traveo2_1m_a0.cfg -c "init; reset init; flash erase_sector 0 0 last; shutdown"

2. to program :
openocd -s ../scripts -f interface/kitprog3.cfg -f target/traveo2_1m_a0.cfg -c "program <elf/srec/hex file path> 0x0 verify exit"

Thank you.

0 Likes