I have looked at a selection of bootloaders (SparkFun Screamer, Tinybootloader, MicroCode Loader etc) all requiring the first 4 bytes to be a long jump to the start of my code. These all work fine when downloading nice little programs but unfortunately my program isn't!
I think my problem is that the start of my code is not on the first page. Because I am using part of my ROM as RAM and have some interrupt code.
Below is the top of my list file. (main() is actually at 0x0B3D)
Code:
0000: MOVLW 08
0001: MOVWF 0A
0002: GOTO 33D
One solution I thought of was to jump to a location in the first page which then jumps to the start of my code. However I don't know how to implement this.
I've got a bit bogged down by this and would appreciate any suggestions.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum