Skip to main content
Associate III
May 13, 2024
Solved

Cant do anything with the board

  • May 13, 2024
  • 16 replies
  • 7391 views

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.

Captura de tela 2024-05-13 143641.png

 

    This topic has been closed for replies.
    Best answer by MM..1

    You never show this

    MM1_0-1715794303971.png

    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.

     

    16 replies

    Tesla DeLorean
    Guru
    May 13, 2024

    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,

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Associate III
    May 14, 2024

    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.

     

    Associate III
    May 14, 2024

    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. 

    DiogoPedrosa_0-1715696087530.png

    Also when trying to disable read out protection

    DiogoPedrosa_1-1715696498781.png

     

    mƎALLEm
    ST Technical Moderator
    May 14, 2024

    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!

    To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
    Associate III
    May 14, 2024

    But how? It says read data failed,even in the cube programmer.

    Associate III
    May 15, 2024

    I´m working with people more experiencied in soldering and dealing with the STM products,ill ask them to take a look and maybe resolder the microcontroler.We checked the st link from the board and it was working.

    Anyways,what could have caused this problem?

    MM..1
    MM..1Best answer
    Super User
    May 15, 2024

    You never show this

    MM1_0-1715794303971.png

    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.

     

    Associate III
    May 15, 2024

    Well that worked ,lol. With 480k I could reprogram everything and now its working. Why did this happen? 

    Also where was I supposed to switch the MCU boot do DFU?