Jul 17, 2017
03:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 17, 2017
03:40 AM
Hi,
I am using AURIX TC299TF controller.
I want the JTAG to be locked so that only authorized person can access the JTAG and modify things.
For example :
To flash new application into the flash memory the JTAG first needs to be unlocked with correct password. If JTAG was successfully unlocked only then it will allow the new application to be flashed into the flash memory.
Is this possible? If yes, what should I refer for configurations?
My target is to understand,
1: How can we protect the debug interface or how to lock it?
2: How to set the configuration for debug interface lock?
3: How to unlock the debug interface by means of password or hardware settings etc. when we will connect the debugger.
I have went through the user manual and found that we need to configure UCB_DBG
UCB_DBG is located at 0xAF101400H. So do we have to flash the configurations directly at this location as per following?
Table 10-13 UCB_DBG Content
Offset Content Description
00H PROCONDBG Protection of the debug interface.
10H PROCONDBG Copy.
20H PW0 – PW7 256-bit password, from least significant word to most
significant word (8 words).
40H PW0 – PW7 Copy of 256-bit password.
70H Confirmation 4 bytes.
78H Confirmation Copy.
We have to flash the password at 20H and its copy at 40H?.
Location 00H and 10H will be flashed with configurations as per the PROCONDBG?
Do we have to do any additional configurations?
Could you please explain the complete procedure and configurations to be done step by step.
Thank you,
Harish Anchan.
I am using AURIX TC299TF controller.
I want the JTAG to be locked so that only authorized person can access the JTAG and modify things.
For example :
To flash new application into the flash memory the JTAG first needs to be unlocked with correct password. If JTAG was successfully unlocked only then it will allow the new application to be flashed into the flash memory.
Is this possible? If yes, what should I refer for configurations?
My target is to understand,
1: How can we protect the debug interface or how to lock it?
2: How to set the configuration for debug interface lock?
3: How to unlock the debug interface by means of password or hardware settings etc. when we will connect the debugger.
I have went through the user manual and found that we need to configure UCB_DBG
UCB_DBG is located at 0xAF101400H. So do we have to flash the configurations directly at this location as per following?
Table 10-13 UCB_DBG Content
Offset Content Description
00H PROCONDBG Protection of the debug interface.
10H PROCONDBG Copy.
20H PW0 – PW7 256-bit password, from least significant word to most
significant word (8 words).
40H PW0 – PW7 Copy of 256-bit password.
70H Confirmation 4 bytes.
78H Confirmation Copy.
We have to flash the password at 20H and its copy at 40H?.
Location 00H and 10H will be flashed with configurations as per the PROCONDBG?
Do we have to do any additional configurations?
Could you please explain the complete procedure and configurations to be done step by step.
Thank you,
Harish Anchan.
9 Replies
Jan 21, 2019
02:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 21, 2019
02:32 AM
Hello Harish Anchan
Have you come to resolve your problem, i also have had the same and could not find enough info.
Please share.
Have you come to resolve your problem, i also have had the same and could not find enough info.
Please share.
Feb 11, 2019
04:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 11, 2019
04:14 AM
For Locking/ Unlocking the debug interface Infineon Memtool can be used.
Please follow the below steps
Device Setup
1.Power on the Aurix Development Kit.
2.Connect the Aurix device with system (i.e. PC) through Micro USB Connector.
3.Open Infineon Memtool.
There will be a pop-up message “Initializing Memtool failed”.
Click Ok.

Status : Not initialized
Now click On Target-> Change

Following message will pop-up.
Click OK.

Click on Default to use predefined configuration files
Please follow the below steps
Device Setup
1.Power on the Aurix Development Kit.
2.Connect the Aurix device with system (i.e. PC) through Micro USB Connector.
3.Open Infineon Memtool.
There will be a pop-up message “Initializing Memtool failed”.
Click Ok.
Status : Not initialized
Now click On Target-> Change
Following message will pop-up.
Click OK.
Click on Default to use predefined configuration files
Feb 11, 2019
04:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 11, 2019
04:18 AM
Configuration list will pop up, select the appropriate configuration.

We will select,
TriCore Aurix -> Starter Kits (DAS) -> TriBoard with TC297/TC298/TC299 B-Step (DAS)
You may select your respective device
Click Finish.

Now save the configuration at a desired location.
Click OK.

Check the status,
It will show Target not connected.
Now Click on "Connect" to connect the target.

Once the target is connected successfully the status will be changed to “Ready for Memtool Command”
We will select,
TriCore Aurix -> Starter Kits (DAS) -> TriBoard with TC297/TC298/TC299 B-Step (DAS)
You may select your respective device
Click Finish.
Now save the configuration at a desired location.
Click OK.
Check the status,
It will show Target not connected.
Now Click on "Connect" to connect the target.
Once the target is connected successfully the status will be changed to “Ready for Memtool Command”
Feb 11, 2019
04:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 11, 2019
04:24 AM
Feb 11, 2019
04:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 11, 2019
04:28 AM
Feb 11, 2019
04:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 11, 2019
04:31 AM
Feb 11, 2019
04:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 11, 2019
04:35 AM
This will give a clear idea of unlocking the Aurix Tricore TC299 Debug Interface using iSystem’s winIDEA for flashing new application or for debugging

Mar 20, 2019
02:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 20, 2019
02:56 AM
Hello Anchan,
I don't have any feasibility of connecting my aurix controller to the PC for unlocking debug interface from you explanation.
Is there any other process of unlocking i.e by modifying register values?
If there please explain me.
Thanks in advance.
Regards,
Sunil
I don't have any feasibility of connecting my aurix controller to the PC for unlocking debug interface from you explanation.
Is there any other process of unlocking i.e by modifying register values?
If there please explain me.
Thanks in advance.
Regards,
Sunil
Sep 24, 2021
05:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 24, 2021
05:55 AM
Is there a described way to erase debug interface lock using lauterbach ?
This widget could not be displayed.