How can i access unaligned address in i.mx8m mini

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How can i access unaligned address in i.mx8m mini

654件の閲覧回数
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 返答(返信)

635件の閲覧回数
Manuel_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 件の賞賛
返信

613件の閲覧回数
Hariharan1
Contributor III

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

0 件の賞賛
返信