I'm using Codeloader on a PIC18F6720 chip. When I change the MAX_LOADABLE value from 0x6800 to 0x10000, the compiler shows "Invalid ORG range" error. The maxumim value I can set for MAX_LOADABLE is only up to 0xFFFF. I'm using PCH v3.228. Anyone has the same problem?
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Sun Jul 24, 2005 11:25 pm
I think you can work-around this problem by using
two #org statements. The first #org reserves ROM
in the lower 64K, and the 2nd #org statement handles
the upper 64K region.
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