bootloader
2005-11-15 by Farzlina Ab.Hadi
hi all,
i simulated a bootloader test software (as attached) on the avr studio simulator. what i did was i created a very simple application program. i then hardcoded the hex file via the bootloader program. (i'd do anything to get the bootloader running!)
this is the result fro the program memory window:
0x0000 = 00 00 0c 94 00 00
where else the result should be :
0x0000 = 0A EA 0c 94 00 00
even if i put in another hex file, the address location at 0x0000 will always get the last last data of the hex file being put there. as above is 0x0000
the intel hex file is:
:02 0000 02 0000 FC
:06 0000 00 0AEA 0C94 0000 66
:00 0000 01 FF
:06 0000 00 0AEA 0C94 0000 66
:00 0000 01 FF
the source code for application :
.include "m128def.inc"
reset:
ldi r16,0xaa
jmp reset
ldi r16,0xaa
jmp reset
hopefully you could help me with this.
thank you very much for any replies. i truly appreciate it.
elin