Parallel NOR-Flash of 16bit BUS and IVT data

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

Parallel NOR-Flash of 16bit BUS and IVT data

跳至解决方案
1,059 次查看
tamotsu
Contributor IV

Hellow.

On page 1241 of the i.MX7D reference manual, the IVT header format diagram suggests that the value to be set would be 0xD1-0x0020-0x40 to .word 0xD1002040, but in the 20132 "i.MX6 IVT structure" Anson Huang answers that it should be .word 0x402000D1.

I think the manual says this is

0x400 = 0xD100

0x402 = 0x2040

but is that wrong?

Thank you.

0 项奖励
回复
1 解答
1,003 次查看
Harvey021
NXP TechSupport
NXP TechSupport

The header ivt should be included in image by default, we don't need to modify it.

And we can try to dump it using command od w/t option little or big endian

od -x -N 48 --endian=little u-boot.imx 

or

od -x -N 48 --endian=big u-boot.imx

 

Regards

Harvey

 

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,034 次查看
Harvey021
NXP TechSupport
NXP TechSupport

Hi, 

tag = D1 is the first byte. The difference as Anson's should be caused by display options, like endian.

 

Regards

Harvey

0 项奖励
回复
1,022 次查看
tamotsu
Contributor IV

Thank you Harvey021.

So Anson explained it in little-endian?

I'm confused because the reference manual says it's big-endian.

0 项奖励
回复
1,004 次查看
Harvey021
NXP TechSupport
NXP TechSupport

The header ivt should be included in image by default, we don't need to modify it.

And we can try to dump it using command od w/t option little or big endian

od -x -N 48 --endian=little u-boot.imx 

or

od -x -N 48 --endian=big u-boot.imx

 

Regards

Harvey

 

0 项奖励
回复