Welcome to the Homepage for FlashBash.

FlashBash is an in-circuit programmer for ST Microelectronics ST7 range of Flash microcontrollers (both XFlash and HDFlash). It is capable of working as a standalone programmer (keyfob mode) or connected to a pc (via RS232). I am currently in the process of upgrading to USB if time permits.

It is a fully functional programmer - download the code and schematics and see for yourself.
As ever there are improvements that can be done, I am in the process of adding ST5 support.
This is not just a hobby project - FlashBash is being used in a production environment on a daily basis.

FlashBash History

FlashBash originally began because I started to use a lot of ST7 micros - but the programming support was a little lacking, some things never change!
So Flashbash was born - it started out just for the CFlash devices (ST72C254 etc) but I soon needed to program XFlash and HDFlash (ST7Flite and ST72F521), so support for these devices was added.

Windows Software Revisions

Ver
Notes
Min Firmware Required
2.57
Increased HDFlash timeouts as per latest ST7 programming manual
1.16
2.56
Added support for ST7FLITEU02/05/09
1.15
2.55
Fixed bootloaders for devices with low ram.
1.15
2.54
ICC Comms Speed can be adjusted.
Note: Use Old Version of Flashbash (2.53) to update firmware.
 1.15
 2.53 Option Added to support USB/Serial Adapters.
ST72F344 Options Updated, Package option still needs adding.
 1.14
2.52
Read/Verify/Program All now works. Support added for ST72F345x devices.
Firmware needs updating for this release.
1.13
2.51
Added ST72FLITE1xB, ST72F32xB/52xB, ST7234x, ST7236x, ST7ULITE and ST7FLITE3x device support.
1.10
2.50
Fixed bug with ST72MC bootloader
1.10
2.49
Support for RCCR Calibration byte restoration has been added.
1.10
2.48
Added Device Identifier support for ICC mode devices.
ST7FLITES2/S5 bootrom modified, incorrect option byte address used.
ST7265x programming possible with hardware watchdog enabled.
1.08
2.47
Flashbash can now use either a ST72C254 or ST72F264 micro.
Added support for ST72FLITE10,15,19 and ST72FMC range of devices.
SUPERLITE range changed to ST7FLITES2/ST7FLITES5.
IAP Firmware update support added - if Flashbash is fitted with ST72F264 instead of ST72C254 (v1.07 firmware minimum required).
Reset Delay Option added for different reset circuits, notably CFlash and USB variants.
1.07
2.46
Added support for ST72F561 range of devices.
Fixed bug concerning PurgeComm function under certain conditions.
1.06
2.45
Added support for ST7LCD1, ST7HUB and ST7SUPERLITE devices.
Support for ST7Flite RCCR protection added correctly, now supported in both keyfob and standalone mode.
No changes to hardware but cleaned up schematics.
1.06
2.44
Added support for ST7Flite2 range of devices, added support for ST7SCR devices.
Removed ST7F611 device, available as ROM only, now use ST72F623F2.
1.05
2.43
First web release
1.04

Micro Firmware Revisions

Ver
Notes
1.16
Increased HDFlash timeouts as per latest ST7 programming manual
1.15
ICC Comms Speed can be adjusted.
1.14
Option Added to support USB/Serial Adapters.
1.13
Interrupts disabled after ICC Mode Entry, fixes problems with Ultralite devices.
1.12
Fixed problems with some M25P10A devices.
1.11
Reset Delay Option added to XFlash and HDFlash devices
1.10
Keyfob mode changes to support RCCR calibration byte restoration
1.09
Fixed bugs with Hardware Uart, thanks Xavier.
Improved iap recovery, incase of corrupted firmware. Forced recovery now possible with 5v on PA4 (pin 23) at reset.
1.08
Modified Read routines (flash,eeprom,options) for Device Identifier support.
1.07
Fixed minor bug with SoftVersion function - Thanks Fred.
Low Battery support completed.
IAP Firmware update support added - requires ST72F264 instead of ST72C254.
Option to use Hardware Uart with ST72F264 - (Slight hardware modification required).
Reset Delay Option Added.
1.06
Modified keyfob mode to fully support RCCR protection - ST7Flite devices.
1.05
Fixed minor problem when programming some HDFlash devices, notably USB variants.
1.04
First web release.

Requirements To Build Source Package

Visual C++ 6 was used for the Windows Software. (.NET has been tested ok.)
ST7 assembler for micro firmware/bootroms.
Orcad for Schematic/Layout.

Hardware Schematics - ST72C254/ST72F264 no Hardware SCI/UART. (Original Schematic)

Hardware Schematics - ST72F264 using Hardware SCI/UART.

Hardware Update - How to update original board for ST72F264 Hardware SCI/UART

Windows Software


Supported Devices

CFlash Devices
ST72C104G1, ST72C104G2, ST72C216G1, ST72C215G2, ST72C254G1, ST72C254G2, ST72C124J2, ST72C314J2, ST72C314J4, ST72C334J2, ST72C334J4, ST72C314N2, ST72C314N4, ST72C334N2, ST72C334N4, ST72C171K2, ST72C411R1.

HDFlash Devices
ST72F324J2, ST72F324J4, ST72F324J6, ST72F324K2, ST72F324K4, ST72F324K6, ST72F321J7, ST72F321J9, ST72F321M6,
ST72F321M7, ST72F321M9, ST72F321R6, ST72F321R7, ST72F321R9, ST72F321AR6, ST72F321AR7, ST72F321AR9,
ST72F521M6, ST72F521M7, ST72F521M9, ST72F521R6, ST72F521R7, ST72F521R9, ST72F521AR6, ST72F521AR7,
ST72F521AR9, ST72F623F2, ST72F622K2, ST72F622L2, ST72F621K4, ST72F621L4, ST72F621J2, ST72F621J4, ST72F63BK1,
ST72F63BK2, ST72F63BK4, ST72F651, ST72F652, ST7FHUB, ST7FSCR1, ST7LCD1,
ST72F561J6, ST72F561J9, ST72F561K6, ST72F561K9, ST72F561R6, ST72F561R9,
ST7FMC1K2, ST7FMC2M9, ST7FMC2N6, ST7FMC2R6, ST7FMC2R7, ST7FMC2S4, ST7FMC2S5,
ST72F321BJ6, ST72F321BJ7, ST72F321BJ9, ST72F321BM6, ST72F321BM7, ST72F321BM9, ST72F321BR6, ST72F321BR7, ST72F321BR9, ST72F321BAR6, ST72F321BAR7, ST72F321BAR9,
ST72F324BJ2, ST72F324BJ4, ST72F324BJ6, ST72F324BK2, ST72F324BK4, ST72F324BK6,
ST72F521BM9, ST72F521BR6, ST72F521BR9, ST72F521BAR6, ST72F521BAR9,
ST72F32AK2, ST72F361J6, ST72F361J7, ST72F361J9, ST72F361K6, ST72F361K7, ST72F361K9, ST72F361AR6, ST72F361AR7, ST72F361AR9, ST72F561AR6, ST72F561AR9.

XFlash Devices
ST72F260G1, ST72F262G1, ST72F262G2, ST72F264G1, ST72F264G2, ST7FLITE05, ST7FLITE09, ST72344J2, ST72344J4,
ST72344K2, ST72344K4, ST7LITE20, ST72LITE25, ST7FLITE29, ST7FDALI, ST72FLITE10, ST72FLITE15, ST72FLITE19, ST7FLITES2, ST7FLITES5, ST72F340J2, ST72F340K2, ST72F340J4, ST72F340K4, ST72F344J2, ST72F344K2, ST72F344J4, ST72F344K4, ST72F345N4,
ST7FLITE10B, ST7FLITE15B, ST7FLITE19B, ST7FLITE30, ST7FLITE35, ST7FLITE39, ST7FLITEUS2, ST7FLITEUS5,
ST7FLITEU02, ST7FLITEU05, ST7FLITEU09.

Support for unlisted Flash ST7 Devices can easily be added - by creating a new plugin.

Software Download

This download includes all windows software, micro firmware and Orcad schematics/layout.

Source package: (WinRAR required for unpacking)
FlashBash.rar
(1,003,183 bytes) - including source code/pcb layout/schematics.

I have had a few requests for Gerbers, so here they are:
v2.1 PCB Gerbers
(85,131 bytes)
v3.0 PCB Gerbers (85,948 bytes)

Prebuilt binaries:
Windows binary
(694,467 bytes)

Micro Firmware 254-264 version (4,827 bytes) - v2.1 PCB
Micro Firmware 264 version (4,527 bytes) PCB (Hardware UART)

Old Software/Hardware Releases

Feel free to email me with any questions regarding Flashbash - I will try and help.

Enjoy.