How can i access unaligned address in i.mx8m mini

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How can i access unaligned address in i.mx8m mini

338 次查看
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.

标签 (1)
0 项奖励
回复
2 回复数

319 次查看
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 项奖励
回复

297 次查看
Hariharan1
Contributor III

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

0 项奖励
回复