AnsweredAssumed Answered

Read Memory Data

Question asked by jgtsoi on Jul 14, 2010
Latest reply on Jul 29, 2010 by jgtsoi

Hi,

 

I am trying to read data from blackfin memory and using printf to display the result. But there is nothing displayed in the output screen? Could someone tell me how to fix it please? The value stored in the 0x7bff is 64 hex.

 

void main()
{
    unsigned int* i = 0x7bff;

    while (1)
    {
        i = 1;
        printf("Testing, %h\n",&i );
    }

 

}//end main


The output is

Testing,

 

instead of Testing, 64

Outcomes