How can i access unaligned address in i.mx8m mini

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How can i access unaligned address in i.mx8m mini

219 Views
Hariharan1
Contributor III

Hi

I am trying to read
uint32_t *adr = (uint32_t*)0x42000001 (ddr address)

i can't read adr value. what is the issue.

the same variable i was reading in uboot code there is working properly. anyone can suggest the answer.

 

Thanks.

Labels (1)
0 Kudos
Reply
2 Replies

200 Views
Alejandro_Salas
NXP TechSupport
NXP TechSupport

Hello,

 

You can try to use memtool to this propose. /unit_test/memtool in linux BSP.

 

Best regards,

Salas.

0 Kudos
Reply

178 Views
Hariharan1
Contributor III

Those file were not used in uboot still  were working. what does it make change in makefile

0 Kudos
Reply