Skip to content

stm32l151zDT6 not supported. Check protection error #21

Open
@wolsty7

Description

@wolsty7

running on stm32l151zDT6:
sudo python3 pystlink.py -d

returns:
Connected to ST-Link/ V2, serial 38ff6a064d43323542092243
USB > f1 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00
USB < 28 80 83 04 48 37
USB > f5 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
USB < 01 00
USB > f7 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
USB < 97 06 00 00 00 08 00 00
USB > f2 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00
USB < 80 00
USB > f2 30 a3 00 00 00 00 00 00 00 00 00 00 00 00 00
USB < 80 00
USB > f2 22 00 00 00 00 00 00 00 00 00 00 00 00 00 00
USB < 77 14 a0 2b
DEVICE: ST-Link/V2 V2J34S0
SUPPLY: 2.91V
COREID: 2ba01477
Stm32.core_halt()
Halted after 0 transactions
USB > f2 36 00 ed 00 e0 00 00 00 00 00 00 00 00 00 00
USB < 80 00 00 00 30 c2 2f 41
CPUID: 412fc230
CORE: CortexM3
USB > f2 36 00 20 04 e0 00 00 00 00 00 00 00 00 00 00
USB < 80 00 00 00 36 64 38 10
IDCODE: 10386436
USB > f2 36 cc 00 f8 1f 00 00 00 00 00 00 00 00 00 00
USB < 80 00 00 00 00 00 00 00
*** Connected CPU with DEV_ID: 0x436 and FLASH size: 0KB is not supported. Check Protection ***
USB > f5 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
USB < 02 00
USB > f2 21 00 00 00 00 00 00 00 00 00 00 00 00 00 00
DONE in 0.14s

I get similar results with the stlink v3

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