Charles Linquis
- 8th March 2007, 13:17
Is there a way - in PBP that I can set the upper limit for code? I use Mecanique's MCLoader as a bootloader. That loader occupies high memory
(starting at 1FD00 in an 8722). My code compiles, but when I try to load the chip - just at the end of the programming cycle (which takes quite a while with the '8722), I get a message that my code is attempting to overwrite the bootloader.
Is there a way that I can set limits on PBP, so it will give me a message at compile-time and tell me either the maximum memory location it is using, or else give me an error message of some kind?
I realize I could look at the hex file and find this information, but I'm looking for a more automated way.
(starting at 1FD00 in an 8722). My code compiles, but when I try to load the chip - just at the end of the programming cycle (which takes quite a while with the '8722), I get a message that my code is attempting to overwrite the bootloader.
Is there a way that I can set limits on PBP, so it will give me a message at compile-time and tell me either the maximum memory location it is using, or else give me an error message of some kind?
I realize I could look at the hex file and find this information, but I'm looking for a more automated way.