Tiny AVR/PIC Bootloader+

16-bit PIC type "E" family firmwares:

Remark: "E" family is a TinyBootloader+ designation, not a Microchip one!!!



Principle

###todo

Description of the data tranfert

Note: there is no EEPROM on these chips.

Represents the character of one byte [] below.

① Flash transfer format:
[AddressL][AddressH][AddressU][3*N][DataL(1)][DataH(1)][DataU(1)]....[DataL(N)][DataH(N)][DataU(N)][SUM]

[AddressL] Start address of the flash page to override the data. (lower)
[AddressH] Start address of the flash page to override the data. (middle)
[AddressU] Start address of the flash page to override the data. (upper)
[3*N] Number of transfers of data as described in piccode.ini. (byte notation)
[DataL/H/U(n)] Rewrite data (3*N)bytes.
[SUM] Checksum.

② Config transfer format:
[CFGAddressL][CFGAddressH][CFGAddressU][30][CFGDataL(1)][CFGDataH(1)][CFGDataU(1)].....[CFGDataL(10)][CFGDataH(10)][CFGDataU(10)][SUM]

[CFGAddressL] Start address of the Config data to overwrite the data. (lower)
[CFGAddressH] Start address of the Config data to overwrite the data. (middle)
[CFGAddressU] Start address of the Config data to overwrite the data. (upper)
[30] Number of data transfers. (Always 30)
[CFGDataL/H/U(n)] Rewrite data (3*10)bytes.
[SUM] Checksum.

Modify existing fimwares for a new device

###todo