Skip to main content
guidored
Associate
October 17, 2016
Question

Critical error with STM32F3: not working anymore

  • October 17, 2016
  • 4 replies
  • 1070 views
Posted on October 18, 2016 at 01:27

Hello to everyone,

Today I received a STM32F303VC for a university course. Worked with this board a couple of times before, did some simple programs (switching on the leds) and took it to my home. Here I tried to do the same, downloading and debugging my programs (using the IAR Embedded Workbench btw) until, the second time, an error message popped out.

Now everytime I connect the board to any computer with the USB cable the leds 1 and 2 (the ones next to the ST-Link) switch on but the other eight do not (instead of blinking sequentially like before), everytime I press the reset button there is a faint and short light in the eight leds and, of course, no program is able to load and debug.

Is there a way to recover from this? Or my board is gone for good? Thanks in advance
    This topic has been closed for replies.

    4 replies

    Tesla DeLorean
    Guru
    October 18, 2016
    Posted on October 18, 2016 at 04:19

    What exactly did the error message say?

    You could try connecting the BOOT and VDD pins with a jumper, and using the ST-LINK Utilities to erase the chip.

    Reflect on what you did, and what the code was doing that might interfere with the debug interface.

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    guidored
    guidoredAuthor
    Associate
    October 19, 2016
    Posted on October 19, 2016 at 14:47

    Ok, I did a chip erase and now it seems to work, at least with my programs. But could I have erased also the other programs embedded in the chip? (like the gyroscope and the compass)

    Tesla DeLorean
    Guru
    October 19, 2016
    Posted on October 19, 2016 at 15:18

    You writing your application from IAR has already removed the compass/gyro app that shipped on the board. There is a System Loader in ROM that you can't erase, but all the other functionality is achieved in FLASH

    You can probably find a .HEX file with the original demo application that you can reflash with the ST-LINK Utilities.

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    Amel NASRI
    Technical Moderator
    October 19, 2016
    Posted on October 19, 2016 at 15:38

    Hi,

    If the STM32F3-Discovery demonstration is needed, you may find it under STM32Cube_FW_F3_V1.6.0\Projects\STM32F3-Discovery\Demonstrations.

    -Mayla-

    To give better visibility on the answered topics, please click on "Best Answer" on the reply which solved your issue or answered your question.