texane/stlink — Issue #67: cant write to stm32l discovery board. may be a dead board
Author: ivankocienski
Created: 2012-03-08 07:32:29+00:00
State: open

Been trying to flash the stm32l discovery board with blink_flash sample program. Git pulled the latest code but it is still dead. Turning log onto full I get this

2012-03-08T07:29:54 DEBUG src/stlink-common.c: stlink current mode: dfu
2012-03-08T07:29:54 INFO src/stlink-usb.c: -- exit_dfu_mode
2012-03-08T07:29:54 DEBUG src/stlink-common.c: *** stlink_exit_dfu_mode ***
2012-03-08T07:29:54 DEBUG src/stlink-common.c: stlink current mode: mass
2012-03-08T07:29:54 DEBUG src/stlink-common.c: *** stlink_enter_swd_mode ***
2012-03-08T07:29:54 DEBUG src/stlink-common.c: *** stlink_reset ***
2012-03-08T07:29:54 INFO src/stlink-common.c: Loading device parameters....
2012-03-08T07:29:54 DEBUG src/stlink-common.c: *** stlink_core_id ***
2012-03-08T07:29:54 DEBUG src/stlink-common.c: core_id = 0x00000000
2012-03-08T07:29:54 DEBUG src/stlink-common.c: *** stlink_read_debug32 e0042000 is 0xe0042000
2012-03-08T07:29:54 WARN src/stlink-common.c: chip_id=0xe0042000
2012-03-08T07:29:54 WARN src/stlink-common.c: unknown chip id! 0xe0042000
2012-03-08T07:29:54 DEBUG src/stlink-common.c: *** looking up stlink version
2012-03-08T07:29:54 DEBUG src/stlink-common.c: st vid = 0x0483 (expect 0x0483)
2012-03-08T07:29:54 DEBUG src/stlink-common.c: stlink pid = 0x3748
2012-03-08T07:29:54 DEBUG src/stlink-common.c: stlink version = 0x2
2012-03-08T07:29:54 DEBUG src/stlink-common.c: jtag version = 0xe
2012-03-08T07:29:54 DEBUG src/stlink-common.c: swim version = 0x0
2012-03-08T07:29:54 DEBUG src/stlink-common.c: notice: the firmware doesn't support a swim interface
2012-03-08T07:29:54 DEBUG src/stlink-common.c: stlink current mode: debug (jtag or swd)
2012-03-08T07:29:54 DEBUG src/stlink-common.c: stlink current mode: debug (jtag or swd)
>>7 o.addr=8000000 base=0 size=0
2012-03-08T07:29:54 DEBUG src/stlink-common.c: *** stlink_exit_debug_mode ***
2012-03-08T07:29:54 DEBUG src/stlink-common.c: *** stlink_write_debug32 a05f0000 to 0xe000edf0
2012-03-08T07:29:54 DEBUG src/stlink-common.c: *** stlink_close ***

printing out what is going on at the >>7 line I can see that the chip is just ignored. :(

I am concerned because I had plugged in rather a high current drawing TTL device onto the board that could have blown in. (CPU is slightly warm to the touch).

Or am I missing something?