Cant do anything with the board
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-13 10:47 AM - edited ‎2024-05-13 10:48 AM
I'm a new user working with a Nucleo F103RB board, and it suddenly stopped working. I can't program, debug, perform a chip erase, or access any sector. It began showing vFlash errors and is now stuck in a lockup stage. I've attempted to upload a different project with no success, and I've also tried a full chip erase, which failed. Additionally, it has entered read protection mode, preventing me from reprogramming the RDP using any other IDE or programmer utility.When i try to change the RDP in cube programmer it shows a error cant read data and the board disconnects itself. Is it a hardware problem?If so I could solder a new microcontroler in the nucleo.
 
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-15 10:34 AM
You never show this
to you dont write if try slow down speed STLink from 4M for example to around 400k
Next choices is aplicaction note AN2606 switch MCU boot to DFU and use USB or USART , and yes last choice replace MCU.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-13 11:22 AM
Did you short something out on the board?
Conductive metal surface? Connect to some other subsystem / voltage source?
Address here seems Wrong, and not in memory map.
Should be able mass-erase an F103 to clear RDP
Would suggest soldering a jumper between VDD and BTN0, and making BOOT0 HIGH so your code stops running and potentially breaking connectivity,
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
‎2024-05-13 6:20 PM
Right now, I can't erase anything with the ST utility or programmer because the application crashes or says the Nucleo got disconnected. The error occurred just after I uploaded code to the Nucleo.
I'll try the jumper solution tomorrow to see if anything changes. I'll also check for any shorted components.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-14 7:16 AM - edited ‎2024-05-14 7:22 AM
It doesn't seem to have changed anything. When I tried to program via ST Utility, it asked me if I wanted to disable readout protection, but it threw an error when trying to do so. Then the device disconnected itself, even with the jumper on Boot0 and VDD.Also couldnt do a full chip erase.
Also when trying to disable read out protection
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-14 7:39 AM
Could it be the power supply were cut while programming?.. but according to the ST-LINK utility (a deprecated tool) you can read the Flash content!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-14 9:56 AM
But how? It says read data failed,even in the cube programmer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-14 10:29 AM
Try to connect to the target under "Hardware reset".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-14 10:41 AM
Here is what happens in cube programmer,cant reprogram option bytes. Also core reset and software reset doesnt seem to change anything. St-link firmware is already at the latest.With or without the jumper boot to vdd doesnt seem to change anything .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-14 10:52 AM
Expand Read Out Protection and try change it to normal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-14 11:18 AM
