| Kindly have a look at the follow-up project: One-Way-Loader |
|
|
TSB-Firmware for ATtinys and ATmegas:
|
TSB-Software Tool for the PC:
![]() |
| Supported ATtinys: tn13A tn13 tn1634 tn167 tn2313A tn2313 tn24A tn24 tn25 tn261A tn261 tn4313 tn44A tn44 tn441 tn45 tn461A tn461 tn48 tn84A tn84 tn841 tn85 tn861A tn861 tn87 tn88 Note: The table on the right is rather "theoretical" for most ATmegas that i haven't tested the TSB-Firmware so far. Feel free to try out and give me your (positive or negative) feedback! |
Supported ATmegas: m162 m164A m164PA m164P m165A m165PA m165P m168A m168 m168PA m168P m169A m169PA m169P m16A m16 m16HVA m16HVB m16M1 m16U2 m16U4 m324A m324PA m324P m3250A m3250 m3250PA m3250P m325A m325 m325PA m325P m328 m328P m3290A m3290 m3290PA m3290P m329A m329 m329PA m329P m32A m32C1 m32 m32HVB m32M1 m32U2 m32U4 m406 m48A m48 m48PA m48P m640 m644A m644 m644PA m644P m6450A m6450 m6450P m645A m645 m645P m6490A m6490 m6490P m649A m649 m649P m64C1 m64M1 m64RFR2 m8515 m8535 m88A m88 m88PA m88P m8A m8 m8HVA m8U2 |
![]() |
![]() |
Memory
Allocation:
Flash Access:
|
Memory
Allocation:
Flash Access:
|
What else is that 'safe' in TinySafeBoot?
|
|
| Activation
+ Login : Hardware-Reset the Controller Host-PC : sending "@@@" + "Password" BL : sending Device info |
Command
execution: Host: send BL command (see tables below) BL : acknowledge with CF or cancel activity with RQ Finished: BL awaits further commands BL will start application when receiving an invalid command (e.g. "Z") |
| Commands: "f" = Read Flash "F" = Write Flash "e" = Read EEPROM "E" = Write EEPROM "c" = Read Userdata "C" = Write Userdata |
Handshake/Flowcontrol: "?" = chr$(63)= RQ ("Request") "!" = chr$(33)= CF ("Confirm") |
tTO = desired Timeout (seconds) fMCU = controller clock frequency(MHz) TO = TIMEOUT (valid from 8 to 255) fMCU * 106 * tTO TO = ------------------ 196600 |
|