I'm jumping to an address in external Flash which is outside of my internal EPROM code area. In uV2, I've set up my target with this Off-chip Code Memory starting at address 0x4000 and with a size of 0xC000. When I attempt to make a jump to this address range I get the following error:
***error 65: access violation at C:0x4000 : no 'execute/read' permission
Disclaimer: I'm not speaking with any authority, since I've not ever had to set up off-chip memory this way. When you start the sim/debug, is any code present in that area? From what I'm gathering about your application, it wouldn't surprise me if there wasn't. It could be that for your testing purposes, you may have to "dummy-up" something to put (link in) up there as if your bootloader had programmed it, giving something to jump to. Just a thought. --Dan Henry