- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I am using a TLE9872 in a new design and having issues with SWD debugging using a Keil ULINK2
The TMS and P0.0 pin are directly connected to SWD Connector without any pullups like explained in document "FAQ Application Note for TLE986xQX, TLE987xQX, Z8F56887800":
"The SWD Interface can be directly connected to the TLE987x and TLE986x family. The use of external pull up
or pull down resistors is not needed, due to internal pull down resistors. Figure 2 shows the interconnections
between TLE Device and and SWD Connector. "
(P0.2 is tied to GND btw). This way, I don't manage to program the device.
I noticed that the TMS pin is not pulled to 5V which is needed to enter SWD mode according to the datasheet so I tried to add a 100k pullup to TMS/SWD which didn't help. Then I added 1k instead of 100k. After that, TMS was tied high and I managed to program the device. It looks like the internal pull down for the TMS/SWD pin is activated. The datasheet tells indeed that after a reset the PD is activated:
So why is that application note telling no pullup is needed and also the evalkits seem to work fine with 100k but in my application it only works with a strong pullup resistor?
In addition, I also don't manage to enable Trace.
Best regards, Markus
Solved! Go to Solution.
- Labels:
-
ispn:26561:0.9999895:0
-
ispn:26562:0.9999895:0
-
ispn:26943:0.9999919:0
-
ispn:26944:0.9999919:0
-
ispn:26945:0.9999919:0
-
ispn:26946:0.9999919:0
-
ispn:26947:0.9999919:0
-
ispn:26948:0.9999919:0
-
ispn:2:0.9999907:0
-
ispn:5:0.9999907:0
-
ispn:6:0.9999907:0
-
ispn:7:0.9999907:0
-
l1:314:0.9999907:0
-
l1:408:0.9999919:0
-
l2:146:0.9999919:0
-
l3:921:0.9999919:0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @markusl,
We checked internally and the following are the recommendations:
The SWD interface of all TLE98xx family members does not need external pull-ups. High external pull-ups (>47kR) do also work but are definitely not required nor recommended.
When programming a fresh or erased device the SWD connection can only be enabled if pre-reset and SYSRESETREQ (or for simplification Autodetect) are used as rest types are configured in the debugger configuration.
A fresh device can only enter debug mode if TMS is high during start-up (to enter Test mode) or a SYSRESETREQ is performed after the power on reset.
Please, let us know if this helps.
Thank you
Best Regards
Raj Chaudhari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @markusl,
Yes as per the ULINK and EVALKIT manual, TMS needs to be pulled up using the 100KOhm and SWCLK to be pulled down using 100KOhm. Thanks for letting us know about this issue.
We will check internally and update you with the resolution soon.
Thank you
Best Regards
Raj Chaudhari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @markusl,
We checked internally and the following are the recommendations:
The SWD interface of all TLE98xx family members does not need external pull-ups. High external pull-ups (>47kR) do also work but are definitely not required nor recommended.
When programming a fresh or erased device the SWD connection can only be enabled if pre-reset and SYSRESETREQ (or for simplification Autodetect) are used as rest types are configured in the debugger configuration.
A fresh device can only enter debug mode if TMS is high during start-up (to enter Test mode) or a SYSRESETREQ is performed after the power on reset.
Please, let us know if this helps.
Thank you
Best Regards
Raj Chaudhari