Hi,all
!!!! Note when using the firmware of claudiu.chiculita in Tiny AVR / PIC Bootloader + !!!!
Since the transfer format of EEPROM is different in both, it is necessary to change the following when using the firmware claudiu.chiculita.
Proofed with the latest firmware. http://sourceforge.net/p/tinypicbootload/discussion/devices/thread/8f8f8058/#86c4 2014.02.06.zip
Tiny AVR/PIC Bootloader+:(6byte) PC_EEPROM: AddrH AddrL 2 EEDATL EEDATH crc
claudiu.chiculita:(5byte) PC_EEPROM: AddrH AddrL 1 EEDATL crc
(Example)(tinybld16F873A.asm)(v0.8.3)
waitwre btfsc EECON1,WR goto waitwre bcf EECON1,WREN BANK2_ incf EEADR btfss flag,6 decf contor decfsz contor goto writeloop goto MainLoop ---------------------------------> waitwre btfsc EECON1,WR goto waitwre bcf EECON1,WREN BANK2_ incf EEADR ; btfss flag,6 ;Unnecessary decf contor decfsz contor goto writeloop goto MainLoop
http://tinypicbootload.sourceforge.net/tested_devices_pic.html
PIC16F874 | yes / yes | yes | since v0.6.2 Know bug: on EEPROM write, add CRC at address+1 |
This bug is derived from the difference described above.
While using, "btfss contor, 0" in the firmware of some, Can not be used as well.
Because the configuration of the firmware is different, there is no problem in PIC18, AVR.
Log in to post a comment.
Hi,all
!!!! Note when using the firmware of claudiu.chiculita in Tiny AVR / PIC Bootloader + !!!!
Since the transfer format of EEPROM is different in both,
it is necessary to change the following when using the firmware claudiu.chiculita.
Proofed with the latest firmware.
http://sourceforge.net/p/tinypicbootload/discussion/devices/thread/8f8f8058/#86c4
2014.02.06.zip
Tiny AVR/PIC Bootloader+:(6byte)
PC_EEPROM: AddrH AddrL 2 EEDATL EEDATH crc
claudiu.chiculita:(5byte)
PC_EEPROM: AddrH AddrL 1 EEDATL crc
(Example)(tinybld16F873A.asm)(v0.8.3)
waitwre
btfsc EECON1,WR
goto waitwre
bcf EECON1,WREN
BANK2_
incf EEADR
btfss flag,6
decf contor
decfsz contor
goto writeloop
goto MainLoop
--------------------------------->
waitwre
btfsc EECON1,WR
goto waitwre
bcf EECON1,WREN
BANK2_
incf EEADR
; btfss flag,6 ;Unnecessary
decf contor
decfsz contor
goto writeloop
goto MainLoop
http://tinypicbootload.sourceforge.net/tested_devices_pic.html
PIC16F874 | yes / yes | yes | since v0.6.2 Know bug: on EEPROM write, add CRC at address+1 |
This bug is derived from the difference described above.
While using, "btfss contor, 0" in the firmware of some,
Can not be used as well.
Because the configuration of the firmware is different, there is no problem in PIC18, AVR.
Last edit: Dan 2014-02-06