sudo lpc21isp <firmware_file> /dev/ttyUSB0 115200 12000
just to reduce the typing…. still need to press the hidden reset button to start the flashing and to start the new firmware.
You can have separate scripts for ease of loading different firmware
./lf_flash.sh
#!/bin/bash # FWARE=LF15C_250408.hex lpc21isp $FWARE /dev/ttyUSB0 115200 1200
./dm32_flash.sh
#!/bin/bash # FWARE=DM15_M1B_32.hex lpc21isp $FWARE /dev/ttyUSB0 115200 1200
./dm34_flash.sh
#!/bin/bash # FWARE=DM15_M1B_34.hex lpc21isp $FWARE /dev/ttyUSB0 115200 1200
| Date | Serial No. | Firmware | Version | Firmware Files | Comments |
|---|---|---|---|---|---|
| 24/05/22 | 21350 | DM15_M1B | 32 | dm15_m1b_32.zip | Extended User Registers |
| 22/11/23 | 21350 | DM15 | 32 | dm15_32.zip | Standard User Registers |
| 21/12/24 | 21350 | DM15_M1B | 33 | dm15_m1b_33.zip | New 2-line stack and other mods |
| 23/01/26 | 21350 | DM15_M1B | 34 | dm15_m1b_34.hex | Bug fixes to new version |
| ROM | Allocatable registers | RAM base addr. | Initial Memory Status |
|---|---|---|---|
| DM15 (Original ROM) | 64 | 0xc0 | 19 46 0-0 |
| DM15_M80 | 128 | 0x80 | 19 110 0-0 |
| DM15_M1B | 229 | 0x1b | 19 211 0-0 |
For more details see LF15C - firmware for the DM15
I'll try it out and write up some details…..
Using my python Watchcheck
| Date Start | Date Check | Delta | Latest Rate Error | Average Rate Error | Comments |
|---|---|---|---|---|---|
| 23/01/26 | -49.0 | Delta -49.0. New firmware DM15 V34 loaded. New Period | |||
| 23/01/26 | 24/01/26 | -47.0 | +2.1 | +2.1 | After 24 hours |
| 23/01/26 | 26/01/26 | -43.4 | +1.9 | +2.0 | After 3 days |
| 23/01/26 | 27/01/26 | -41.9 | +1.8 | +1.9 | After 4 days. LF15C loaded after time check |
| 23/01/26 | 11/02/26 | -11.2 | +2.0 | +2.0 | After 19 days. DM15_M1B_34 reloaded to check time |
Download from https://literature.hpcalc.org/