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
- You need to have the arm-gcc toolchain installed. Lookup your distro package manager for details.
- Compile with
make
- Flash with
st-flash write build/EEPROM_programmer.bin 0x8000000
- Listen to output with
minicom -D /dev/ttyACM0 -b 9600

| 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 |
| Nucleo |
SST |
| A0 |
DQ0 |
| A1 |
DQ1 |
| A11 |
DQ2 |
| A12 |
DQ3 |
| A4 |
DQ4 |
| A5 |
DQ5 |
| A6 |
DQ6 |
| A7 |
DQ7 |
| Nucleo |
SST |
| A8 |
CE |
| A9 |
OE |
| A10 |
WE |
- Select dump in da menu
- Disconnect minicom without reset using
[CTRL-A Q]
- run the helper script in download mode
python3 Scripts/file_transfer.py download /dev/ttyACM0 DUMP.bin
- This will take a while but you'll have your dump in
DUMP.bin
- Select the programmer option in da menu
- Disconnect minicom without reset using
[CTRL-A Q]
- run the helper script in upload mode
python3 Scripts/file_transfer.py upload /dev/ttyACM0 ROM.bin
- Wait til it finishes
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.