- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi MTG,
Please refer to AP32381 AURIX™ 2nd Generation startup and initialisation.
https://pls-mc.com/downloads/datasheets/UDE_Manual.pdf
dw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For HWCFG, please refer to Table 283 in AURIXTC3XX_um_part1_v2.0.pdf
For Triboard HWCFG[5...3], please refer to Table4-1 TriBoardManual_TC3X7_V24.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.