How do I re-program the STM32G0B1RET6 after I've done a "Full chip erase" in CubeProgrammer?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-08-16 1:34 PM
Hello i have a SKR board and the MCU was faulty. I swap the chip and tried to conect via SWD on CubeProgrammer but no success after i have can connect via usb but when i as to program by my mistake i erase full chip and after cannot conect again.
Is there some way to conect the chip or is broke?
Solved! Go to Solution.
- Labels:
-
STM32CubeProgrammer
-
STM32G0 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-08-16 4:50 PM
Pull up BOOT0 (SWCLK) to VDD and connect in USB DFU mode.
By the way, looking at that schematics...
- NRST has a 4,7k pull-up resistor - degrading.
- SWDIO/SWCLK have a 10k pull-up/down resistors respectively - useless.
- Crystal has a 1M resistor in parallel - degrading.
- USB_P/N lines have a 27R resistors in series - degrading.
- TMC2209 UART signals are connected directly, but should have a 1k series resistor for each driver instead of a single one for MCU - dangerous.
- TMC2209 UART on MCU side is implemented with Tx and Rx pins instead of a single half-duplex pin - wastes pin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-08-16 3:08 PM
>>Is there some way to connect the chip or is broke?
No idea, not my board, got a schematic?
The ST-LINK would likely need VCC-TARGET, GND, SWDIO, SWCLK and NRST.
Try Connect Under Reset options
Try Slower SWD clock speeds for CM0(+) parts
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
‎2022-08-16 3:10 PM
If BOOT0 pin is pulled HIGH, can it connect to PC via USB as "STM32 BOOT DEVICE" type of thing? If so FW could perhaps be pushed by USB/DFU mode in STM32 Cube Programmer.
Talk to the Vendor, Read ALL the instructions.
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
‎2022-08-16 4:50 PM
Pull up BOOT0 (SWCLK) to VDD and connect in USB DFU mode.
By the way, looking at that schematics...
- NRST has a 4,7k pull-up resistor - degrading.
- SWDIO/SWCLK have a 10k pull-up/down resistors respectively - useless.
- Crystal has a 1M resistor in parallel - degrading.
- USB_P/N lines have a 27R resistors in series - degrading.
- TMC2209 UART signals are connected directly, but should have a 1k series resistor for each driver instead of a single one for MCU - dangerous.
- TMC2209 UART on MCU side is implemented with Tx and Rx pins instead of a single half-duplex pin - wastes pin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-08-18 6:35 AM
Tanks for the help
I have can write the chip again.
