STM32L552RCT6 lose connecton with STM32cubeprogrammer while in BOOT mode through USB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-03 7:37 AM - edited ‎2023-11-20 6:35 AM
I have a board with STM32L552RCT6 micro. I plan to update software using the usb port but I have an issue. The connection between STM32cubeprogrammer and the micro seems to be somehow instable. I can make conenction, read, write memory as expected but after some time the connection get lost. The reason is that ht RST pin of the micro goes low so the micro is reset. But there's nothing pulling down the RST pin except the micro itself. The PIN in fact is connected only to a pull-up resistor and a capacitor. So I assume the micro is pulling down the RST pin during the boot process. What's stragen is also that the time when the reset occurs is somehow randomic and it's different using different PC for programming the device.
I've checked the power supply but there's nothing strange on it. And also the data signals have a normal behaviour. I kept some oscillo waveform.1) Vcc is going on still at around 3.3V
2) RST go down and then back up loadin the RC pullup
3 and 4) are the USB data signals
After the RST go down the connection is lost (as expected).
I can't see why the micro keep resetting.
- Labels:
-
STM32CubeProgrammer
-
STM32L5 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-03 7:51 AM
Check Option Bytes for Watchdog being enabled.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-03 8:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-03 8:51 AM
The are set as shown in the image.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-04 12:28 AM
I've tried with the development board NUCLEO-L552ZE-Q.
Exactly the same result. The device disconnect after a while.
I’m using the latest CubeProgrammer release v2.13.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-04 1:36 AM - edited ‎2023-11-20 6:35 AM
I've tried with the development board NUCLEO-L4R5ZI.
So a different micro.
In this case the system work perfectly.
Main difference I noticed the system use different drivers:
Both my board and the nucleo L552ZE-Q use DFU in Fs mode
(and doen't work well) while L4R5ZI and another project we have
where we use USB for bootloading use
STM32 BOOTLOADER (and they work well).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-04 1:37 AM - edited ‎2023-11-20 6:35 AM
Moreover the reset seems to came directly for the software
