[Gnuk-users] Did I brick my fst-01?

micah micah at riseup.net
Tue Feb 3 03:00:59 UTC 2015


I somehow locked myself out while experimenting with gnuk. I had to wait
until the ST-linkv2 I ordered from China arrived. Today it arrived, I
connected the wires as
http://www.gniibe.org/images/FST-01/st-link-connection.png shows and was
careful not to touch them together (there must be better connectors that
can be used for this!)

I then plugged the device in and unlocked the flash ROM:

muck# ./tool/stlinkv2.py -u
ST-Link/V2 version info: 2 17 4
Change ST-Link/V2 mode 0100 -> 0001
CORE: 1ba01477, CHIP_ID: 20036410
Flash ROM read protection: ON
Option bytes: 03fffffe
Flash ROM read protection disabled.  Reset the board, now.
SUCCESS

I then unplugged the device, and plugged it back in:

Feb 02 21:27:19 muck kernel: usb 1-9: USB disconnect, device number 14
Feb 02 21:27:21 muck kernel: usb 1-9: new full-speed USB device number 15 using xhci_hcd
Feb 02 21:27:22 muck mtp-probe[30593]: checking bus 1, device 15: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-9"
Feb 02 21:27:22 muck mtp-probe[30593]: bus: 1, device: 15 was not an MTP device
Feb 02 21:27:22 muck kernel: usb 1-9: New USB device found, idVendor=0483, idProduct=3748
Feb 02 21:27:22 muck kernel: usb 1-9: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Feb 02 21:27:22 muck kernel: usb 1-9: Product: STM32 STLink
Feb 02 21:27:22 muck kernel: usb 1-9: Manufacturer: STMicroelectronics
Feb 02 21:27:22 muck kernel: [36B blob data]

Then I flashed the gnuk.bin:

muck# ./tool/stlinkv2.py src/build/gnuk.bin 
ST-Link/V2 version info: 2 17 4
Change ST-Link/V2 mode 0100 -> 0001
CORE: 1ba01477, CHIP_ID: 20036410
Flash ROM read protection: off
Option bytes: ffff5aa5
SPI Flash ROM ID: bf254a
WRITE
VERIFY
PROTECT
Flash ROM read protection enabled.  Reset the board to enable protection.
SUCCESS

I then unplugged everything and then plugged in the fst-01 alone, but no
blue light and nothing in the journal, or in lsusb.

So I carefully hooked the wires up again and then queried the status:

muck# ./tool/stlinkv2.py -s
ST-Link/V2 version info: 2 17 4
Change ST-Link/V2 mode 0100 -> 0001
CORE: 00000000, CHIP_ID: 00000000
Flash ROM read protection: off
Option bytes: 00000000
Core does not halt, try API V2 halt.
ValueError('Status of core is not halt.', 128)

I quadruple checked the wires, and tried a number of different times,
but I still receive the above message.

Is there anything that can be done, besides turn my fst-01 into some
jewelry?

thanks!
micah
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 930 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/gnuk-users/attachments/20150202/9b062333/attachment.sig>


More information about the gnuk-users mailing list