I used the PCD boot loader example to get a boot loader to load a program via serial. It worked OK for my simple test code, but when I try a larger piece of code, it doe not work. I suspect that the issue is with the following part of the boot loader code:
I am targeting a dsPIC33EP512MU810. but I am unsure exactly how to change these. These seem to allocate the memory locations.
I really would like to allow all of the available program memory to be used. So something like Max program size - bootloader size (I think that has to be rounded to a "page" number
Ttelmah
Joined: 11 Mar 2010 Posts: 19538
Posted: Wed Apr 21, 2021 12:32 am
The code you are showing is not the problem. This leaves the space for
the bootloader.
There is nothing in the bootloader that should restrict you from programming
the whole chip (except for the bootloader area, and on your PIC the top
page where the configuration fuses reside).
How big is the program you are trying to load?. Where does it sit in 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