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

cross mob
MTG
Level 2
Level 2
5 questions asked 25 sign-ins 10 replies posted

Hello Sir/Madam,

We designed board and used TC389 MCU. We have a problem. If we connect via UDEpls debugger at our design card, it works.

If I repower this board than it doesn't work. I configured HWconfig pins as below. (Internal Start from Flash)

P14.5 HWCFG1 : Pull-up
P14.2 HWCFG2 : Pull-up
P14.4 HWCFG6 : Pull-up
P14.3 HWCFG3 : Pull-down
P10.5 HWCFG4 : Pull-up
P10.6 HWCFG5 : Pull-up 

Because we connect via UDEpls debugger at TC389 application board, it works. If I repower TC389 application board than it works.

We don't understand this problem. Could you help me please, how we solve this problem?

0 Likes
1 Solution
Di_W
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 100 likes received

PLS UDE 2021 has UCB read and write function like below, but you should carefully analyze its content, or the chip will be bricked forever even if you only erased UCBs.

dw_0-1655797264477.png

 

View solution in original post

0 Likes
6 Replies
Di_W
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 100 likes received

Hi MTG,

Please refer to AP32381 AURIX™ 2nd Generation startup and initialisation.

https://pls-mc.com/downloads/datasheets/UDE_Manual.pdf

 

 

dw

0 Likes
Di_W
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 100 likes received

For HWCFG, please refer to Table 283 in AURIXTC3XX_um_part1_v2.0.pdf

 

dw_0-1655722773125.png

 

For Triboard HWCFG[5...3], please refer to Table4-1 TriBoardManual_TC3X7_V24.pdf

dw_1-1655722799412.png

 

0 Likes
MoD
Employee
Employee
50 likes received 500 replies posted 100 solutions authored

Two possibilies:

The board will be do nothing and don't stay in reset in case of start without debugger:

There is no valid bootmode header programmed. Please programm e.g., BMHD0 with a valid bootmode header and a valid startaddress.

The board will be start shortly and after some ms goes to reset and  stay in reset in case of start without debugger:

You have a problem with the watchdogs, 1 or more watchdog is active and not serviced by software.

 

0 Likes
MTG
Level 2
Level 2
5 questions asked 25 sign-ins 10 replies posted

Hello MoD,

We used the aurix development studio example code. I share the sample code picture below. We disabled watchdog and service watchdog. But we don't how to configured BMHD0. Could you explain please, how we configure it?MicrosoftTeams-image (2).png

0 Likes
MoD
Employee
Employee
50 likes received 500 replies posted 100 solutions authored

In this case there is the BMHD missing. I don't know if you project contain a bootmode header or not. If yes, then you must enable the UCB programming in the UDE flasher. Otherwise there should be support for BMHD settings in UDE itself where you can change the BMHD settings. I am not very familiar with UDE therefore, I can't give you the correct names of menu points.

0 Likes
Di_W
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 100 likes received

PLS UDE 2021 has UCB read and write function like below, but you should carefully analyze its content, or the chip will be bricked forever even if you only erased UCBs.

dw_0-1655797264477.png

 

0 Likes