This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP432P4011: Global pointer gets allocated but, shows no address???

Part Number: MSP432P4011

Decalred as:

/*******************************************************************************
* GLOBAL VARIABLES
******************************************************************************/
uint32_t *pDataByte;

During debug I see:

So the popup(yellow) show address to be 0x000000(which is weared!) while the memory browser shows 0x2000D2F.

An execution like: *pDataByte = 0x00100000 has not effect??

The code is also not doing what I would expect! What am I missing here?

kind regards,

Laurent

  • Hi Laurent,

    So it appears your pointer "pDataByte" is located at address 0x2000D2FC, and on line 787 you are dereferencing it with a value that comes from another dereferenced pointer "pData".  What data does the pointer pData point to in this scope?

  • Hi Laurent,

    It's been a couple of days since we have heard from you, so I'm going to assume you were able to move forward with your project.
    I will mark this posting as RESOLVED, but if this isn’t the case, please click the "This did NOT resolve my issue" button and reply to this thread with more information.
    If this thread is locked, please click the "Ask a related question" button, and in the new thread describe the current status of your issue and any additional details you may have to assist us in helping to solve your issues.