Commit Graph

218 Commits

Author SHA1 Message Date
Grigori Goronzy
b3230814a8 Erase flash in 512 byte blocks
This is the IAP flash memory block size, and the BSL apparently
expects erase to be done aligned to 512 byte.
2014-01-13 12:33:41 +01:00
Grigori Goronzy
9fd960f45a Tweak output and formatting 2014-01-13 12:33:41 +01:00
Grigori Goronzy
2d8d782239 Extract TODO 2014-01-13 02:52:30 +01:00
Grigori Goronzy
beae56e66a Use kHz unit for --trim option
It's simply more practical.
2014-01-13 02:05:41 +01:00
Grigori Goronzy
fad3147e71 Fix handling of incorrect option specifications 2014-01-13 02:01:43 +01:00
Grigori Goronzy
ddd5ec4e57 Misc documentation and text fixes 2014-01-13 02:01:17 +01:00
Grigori Goronzy
fd5bebb8d5 Add helper for formatted hex string output 2014-01-13 01:38:50 +01:00
Grigori Goronzy
a82b0e4633 Handle UID with more flexibility
Some BSLs only send the UID with the erase acknowledge packet,
others only send it with the program options acknowledge packet.
Handle both cases.
2014-01-13 01:25:38 +01:00
Grigori Goronzy
cf0d93b179 Add notes about STC12A and STC89 protocols
Nothing is implemented yet, but this should help with the
implementation when I finally get the chips from China.
2014-01-12 01:39:14 +01:00
Grigori Goronzy
386f833da1 Use STC15 high-speed programming 2014-01-11 17:06:36 +01:00
Grigori Goronzy
320faa00f2 Fix code/eeprom overflow and overlap handling 2014-01-11 17:05:48 +01:00
Grigori Goronzy
ba8d26059c Add STC15 series support
So far this is only based on reverse engineering what's needed
for programming STC15F104E. It works, but it is incomplete.
2014-01-11 16:43:37 +01:00
Grigori Goronzy
903f6ca451 Add and use MCU model database 2014-01-10 13:00:29 +01:00
Grigori Goronzy
8c960d9d5e Add script for model info extraction 2014-01-08 15:28:40 +01:00
Grigori Goronzy
4876eed08f Add RE'd information for MCU DB 2014-01-08 08:38:57 +01:00
Grigori Goronzy
4d84d026e0 Fix small bit-mangling error 2014-01-08 08:31:27 +01:00
Grigori Goronzy
7b748dcf22 Implement sensible error handling 2014-01-07 02:55:50 +01:00
Grigori Goronzy
cdbb6eee7c Initial commit 2014-01-06 20:35:27 +01:00