Report
4 years, 2 months ago.

Nucleo F103RB: SWD Error

Hello Everyone in the ARM mbed community,

I am trying to use the STM32F103RB Nucleo board, to compile and run blinky (Or any code for that matter). When I received the board, I signed up to the mbed site, and registered my device. I was then directed to update the firmware on the device, and I did so.

PRIOR to the firmware update, the default green LED blink code ran perfectly. Using the blue button, I was able to cycle between three modes of LED operation.

AFTER the firmware update, the green LED ceased to blink anymore, and when I tried to access the on-board memory via the (F:) Drive, my computer tells me this: (Image below)

/media/uploads/Milutix/stmerror.jpg

Inside this drive, there are a bunch of files. (Image below)

/media/uploads/Milutix/stmerror2.jpg

One of them named: fail.txt Inside this, are the words: SWD ERROR

I am unable to send the blinky code to the Nucelo board, due to no space being available.

Please help me solve this issue.

Thank You

Comment on this question

1 Answer

3 years, 11 months ago.

Milutin,

Did you make sure to install the STLink driver? See firmware update instructions on this page : https://developer.mbed.org/platforms/ST-Nucleo-F103RB/ . Also check to see if there is a new firmware update available for your board. The SWD Error message indicates that something has gone seriously wrong with serial wire debug, this means your chip may not come up at all and is likely due to a bad firmware update. I recommend trying to update your firmware again.

-Austin


To post an answer, please log in.