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.

C5510 simple Read from EMIF Address

Hello ,

 

i am using the c5510 with C as programming language. I want to access on extern flash over EMIF. The EMif is correct initialized and I could read the correct Flash values

in the Memory Window. I have also Assembler Code where the function works fine. My problem is to find the correct "cast" to readout the data.

Uint16* src_ptr;

Uint16 data;

 src_ptr= ((Uint16*)((0x240000L)));

 data = *src_ptr;

 

I think that should work but it doesnt.

Thank you for informations!!!!!

 

 

Christoph