Help with PIC32 Virtual Ram pointer

Oct 07, 2012 1 Replies

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.



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

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required