Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

System Workbench for STM32


How can I unbrick a STM32F767IIT6

I cannot talk to my STM32F767IIT6 via the ST-Link /V2. I think it is bricked. How can I fix it?

1) I could not get AC6 (System Workbench) to program my cpu using the ST-Link/V2.
2) So I programmed it via the ST-Link Utility.
3) Nothing will communicate with the cpu. Not AC6, not ST-Link Utility...

What can I do to fix this problem?

Hello,

Did you try to connect with STLink utility with option “connect under reset” ?
And of course, you need to connect the Reset output of STlink to your F767 mcu reset pin.

Then, you can try “mass erase” the flash (to erase your previous program if it’s playing with SWD pins for example).

Rgds,
Laurent

Thanks for the response. I have not tried that, but I am going to do it straight away. Thanks.

Every time I try to change settings I get an error reading the ST-Link device. However, I am able to get the correct mode.
So far no success.

0) I verified this process works on a non-bricked CPU
1) I connected the first time and tried to do a “Full Chip Erase”. It told me to “connect under reset”, as seen in the log below.
2) I change the settings to “Connect Under Reset” and tried again (note: I have to unplug the usb dongle and replug before I can get it to do anything). I find it odd that the ST-Link device goes TU so easily.

11:49:27 : Can not connect to target!
Please select “Connect Under Reset” mode from Target->Settings menu and try again.
If you’re trying to connect to a low frequency application , please select a lower SWD Frequency mode from Target->Settings menu.
11:49:30 : No target connected

11:50:08 : Can not connect to target!
If you’re trying to connect to an STM32W1xx device, please select Normal or HotPlug mode from Target->Settings menu.
If you’re trying to connect to a low frequency application , please select a lower SWD Frequency mode from Target->Settings menu.
11:50:13 : No target connected


I just double checked the hardware guy’s work. They glued the reset wire to the wrong pin.
It works now. Thank you for your advice. Have a good week.


 

Newest Forum Posts

  1. Монтаж камина с грилем в Москве - установка и барбекю by KpddomErorb, 2025-05-10 18:28
  2. SPI on Nucleo_STMH533RE by royjamil, 2025-05-04 20:13
  3. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  4. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  5. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  6. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  7. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  8. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  9. Build a project in "release" mode by tang, 2025-02-20 10:36
  10. Build a project in "release" mode by info@creosrl.it, 2025-02-19 17:35

Last-Modified Blogs