Skip to content

Notes about skycoin firmware

mpsido edited this page Nov 9, 2018 · 3 revisions

Notes about skycoin firmware

Wiring st-link to program the device

Testing skycoin hardware with trezor firmware

Where to get trezor firmware

Check trezor-mcu repository for documentation.

We can get official firmware releases like this

wget -O trezor.signed.bin https://wallet.trezor.io/data/firmware/1/trezor-1.6.1.bin

Combining a bootloader with a firmware:

The section "How to perform a custom signature" in skycoin hardware wallet firmware's README.md file explains how to sign a firmware and then combine it with a bootloader into one binary file.

Beware of the memory protection

This post here shows that Trezor team is making a lot of effort to make their bootloader impossible to modify from a delivered device.

This means that once the official trezor bootloader is flashed on a STM32F205 microprocessor it should be very very difficult to remove (if not impossible).

The memory protection is located here in the code. Look for MEMORY_PROTECT in setup.c.

An unsuccessful attempt to "break in trezor lock" had been reported on this issue.

How to burn a firmware using st-link

Check here for detailed information.

If you already have a ST-LINK and installed its command line, the command is:

st-flash write trezor.bin 0x08000000
Clone this wiki locally