Connect with us

Help with PIC32 Virtual Ram pointer

Discussion in 'Electronic Design' started by linnix, Oct 7, 2012.

Scroll to continue with content
  1. linnix

    linnix Guest

    The sample at

    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.
  2. Jamie

    Jamie Guest

    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 ?

Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day