Maker Pro
Maker Pro

Help with PIC32 Virtual Ram pointer

L

linnix

Jan 1, 1970
0
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.
 
J

Jamie

Jan 1, 1970
0
linnix said:
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
 
Top