Program code into external flash using Teensy 4.1

bdoan

Well-known member
I would like to use the Teensy 4.1 as a programming tool to move an Intel Hex file into a W25X40 flash memory device.

The hex file is small enough to be hard coded into the Teensy application or it could be transmitted, line by line over a USB serial link.

Basically I want to stuff the bootloader of my target board using the Teensy as the programmer.
 
The FlasherX library is designed for the teensy to update it's own program flash but with some fairly minor edits could be made to instead target any memory mapped flash device. And it already has all the code to read and decode a .hex file.

I'd certainly look at using that as a starting point.
 
Back
Top