TriCore 1798 DEVICE_LOCKED Flash Protection

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

cross mob
Not applicable
Hello,

it seems like I made a huge mistake on use of the flash protection descriped here: http://www.infineonforums.com/threads/1013-Flash-Protection-for-TriCore?

Unfortunately I locked the device and can't even connect the MemTool to it any more. DAS says "DEVICE_LOCKED".

Is there anything I can do, to get access to it again?

Hope you can Help...
Stefan
0 Likes
9 Replies
Not applicable
I made the same misstake but on TC1793.
I Wonder if it's possible to fully erase flash or if I should replace processor.

Aurélien
0 Likes
Travis
Employee
Employee
First solution authored Welcome! 500 replies posted
Hi Guys,

Erasing the UCB can reset everything.

However did you guys implement additional code to erase the UCB? Pls drop me a PM with your email address so that I can contact you directly.

Best Regards
Travis
0 Likes
Not applicable
Anybody can explain how to erase UCB?
0 Likes
Not applicable
I need same info please...how can read it ? how can erase ? or how can unlock it..
0 Likes
Not applicable
I can't erase the USB, because I have not access to the flash. So i can't load new code to the device.
0 Likes
Not applicable
I got into almost the same situation, my email address is miaozhendaoren@163.com
0 Likes
Not applicable
I'm facing the same problem. but on tc277c .
and now i can not connect to it with Memtool.
how can i erase the UCB?
Can anyone give me the Infonemation to solve the problem?
0 Likes
HANSEN
Employee
Employee
1. which debugger is used?
2. What is the hardware configure for TC277?
If use ineternal flash, no problem for JTAG/DAP connection. The customer can use the same flash driver(program,erase) for DFLASH and UCB.
0 Likes
Not applicable
Travis, can you provide me with the code to do so please...?

I have the same problem.
0 Likes