Skip to content

Bricked py32f003 #67

@luisf18

Description

@luisf18

Hello,

I have a py32f003 (QFN20) that is not responding to serial ISP and cannot be flashed or erased via SWD using pyOCD. I suspect some protection might be enabled. Could someone help me?

Flash attempt:

$ pyocd flash -t py32f003x6 ./Blink.hex
0001198 C Memory transfer fault (read) @ 0x08000000-0x0800001f [__main__]

Erase attempt (it hangs and never finishes):

$ pyocd erase -t py32f003x6 --chip
0001144 I Erasing chip... [eraser]

SWD works: Some commands like reset, reset halt, reg, read32 succeed in commander mode.

Connections MCU<->ST-link V2:
BOOT0 -> 3.3V (also tried GND)
SWDIO -> SWDIO
SWCLK -> SWCLK

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions