Critical error with STM32F3: not working anymore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-10-17 4:27 PM
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- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-10-17 7:19 PM
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.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
‎2016-10-19 5:47 AM
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)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-10-19 6:18 AM
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.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
‎2016-10-19 6:38 AM
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 Accept as Solution on the reply which solved your issue or answered your question.
