Archive of https://github.com/zecoxao/SPINNER — SPINNER - SPI Flasher for the Teensy 4.0 https://github.com/zecoxao/SPINNER
  • C 77.6%
  • C++ 20.9%
  • Python 0.6%
  • Assembly 0.4%
  • Linker Script 0.3%
  • Other 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2023-09-19 00:00:17 +01:00
SPINNER adding inital release 2023-09-18 23:36:46 +01:00
README.md adding scheme in README 2023-09-19 00:00:17 +01:00
spinner.py adding inital release 2023-09-18 23:36:46 +01:00
SPINNER_teensy4_wiring.png adding schem 2023-09-18 23:58:36 +01:00

SPINNER

SPI Flasher for the Teensy 4.0

DEV Setup

To build source currently only Linux has been tested, you can use WSL/2 if you are one Windows though.

  • sudo apt install gcc-arm-none-eabi
  • cd ./SPINNER
  • make
  • Use the TeensyLoader to program the HEX file in ./Release to your Teensy 4.0

HW Setup

alt text

How to use

  • python ./spinner.py COM4 info

  • python ./spinner.py /dev/ttyUSB0 dump ./flash.bin

  • python ./spinner.py COM4 vwrite ./flash.bin

    Python 2.7 is no supported :-)

    Python 3.8 was tested

Special Thanks!

  • Judges
  • Zecoxao

TODO

  • Support more Flash chips
  • Add test command to check signal integrity
  • Cleaner data transfer methods
  • Reliability (error handling)