Help with PIC32 Virtual Ram pointer

The sample thermo.zip at

http://173.224.223.62/pic32

print out the pointer of a global variable.

Linker place it in page A0. Microchip ran it on their simulator and they got the correct result. I ran it on the real chip and got pointer at page 7F

Why, oh, why?

Anyone care to give an explanation? I can lend out a test board if necessary, but right now we are short on hardware.

Reply to
linnix
Loading thread data ...

Looks like a run time error. Code error on pointer math.

It would be interesting as to how you determine it as at page 7F at run time? Using Jtag? Can you really trust that if so ?

Jamie

Reply to
Jamie

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.