Skip to content

Repository files navigation

EEPROM programmer

This program is designed for the ST Nucleo board F401-RE, and will be able to flash and dump the ROM of a SST39SF040 It also includes a helper python script to send and receive files

Compilation / Usage

  1. You need to have the arm-gcc toolchain installed. Lookup your distro package manager for details.
  2. Compile with make
  3. Flash with st-flash write build/EEPROM_programmer.bin 0x8000000
  4. Listen to output with minicom -D /dev/ttyACM0 -b 9600

Wire everything

Ref image

NUCLEO SST

Addresses

Nucleo SST
C0 A0
C1 A1
C2 A2
C3 A3
C4 A4
C5 A5
C6 A6
C7 A7
C8 A8
C9 A9
C10 A10
C11 A11
C12 A12
C13 A13
B0 A14
B1 A15
B2 A16
B3 A17
B4 A18

Data

Nucleo SST
A0 DQ0
A1 DQ1
A11 DQ2
A12 DQ3
A4 DQ4
A5 DQ5
A6 DQ6
A7 DQ7

Misc

Nucleo SST
A8 CE
A9 OE
A10 WE

Receive dump

  1. Select dump in da menu
  2. Disconnect minicom without reset using [CTRL-A Q]
  3. run the helper script in download mode python3 Scripts/file_transfer.py download /dev/ttyACM0 DUMP.bin
  4. This will take a while but you'll have your dump in DUMP.bin

Sending a ROM

  1. Select the programmer option in da menu
  2. Disconnect minicom without reset using [CTRL-A Q]
  3. run the helper script in upload mode python3 Scripts/file_transfer.py upload /dev/ttyACM0 ROM.bin
  4. Wait til it finishes

License

    Nucleo EEPROM programmer
    Copyright (C) 2025  Ayabusa

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, version 3 of the License.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see https://www.gnu.org/licenses/gpl-3.0.html.

About

An EEPROM programmer for the NUCLEO F401-RE dev board

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages