I am having problems with the write_program_memory function used on an 18F2620. CCSC PIC C 3.219.
We have written our own bootloader which is much the same as the example provided with the compiler. However, it seems that the write_program_memory function calls another internal function (FLASH_WR or something like that) which is not in a constant memory location. When loading a new program, the upload works great until FLASH_WR is overwritten, then write_program_memory stops working. Any thoughts? (nb: same with RS232 getc( ) function, but this one is simple to inline).
If this is the case does anyone have a C/asm implementation of write_program_memory?
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