MPC8306 reset configuration words in SPI boot

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

MPC8306 reset configuration words in SPI boot

跳至解决方案
1,813 次查看
John
Contributor I

Hi,

We're booting from an SPI flash device as per SPI Boot in section 5.3 of MPC8306RM rev2. For this, we've strapped the reset configuration inputs all high to set CFG_RESET_SOURCE[0:3] to 4'b1111. RCWH and RCWL are the first two configuration words stored in the SPI flash at offset 0x80. The board loads the RAM configuration words from SPI flash, loads the bootloader and boots without issue, but the RCWL is not set as per the value in SPI flash. We're trying to set 0x44040008 and we instead read back 0x44040044 at boot.

Table 4-5 has changed between rev.1 and rev.2 of MPC8306RM and what read "Reset configuration word is loaded from On Chip ROM boot via SPI" now reads, "Hard-coded reset configuration word for SPI boot".

Does this imply that we cannot write RCWH and RCWL when booting from SPI? If so, where can we find the details for the "Hard-coded" reset configuration word (noting that section 4.3.3.3 does not provide details for a CFG_RESET_SOURCE of 4'b1111)?

Thanks,

John

标记 (1)
0 项奖励
回复
1 解答
1,484 次查看
r8070z
NXP Employee
NXP Employee

Yes if CFG_RESET_SOURCE is 0x1111, the hard-coded RCW will be set

CFG_RESET_SOURCE        RCWLR [0:31]           RCWHR [0:31]

0x1111                  0x4404_0044            0x0430_0000

It has ROMLOC as 0x011, which selects SPI Boot.

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,485 次查看
r8070z
NXP Employee
NXP Employee

Yes if CFG_RESET_SOURCE is 0x1111, the hard-coded RCW will be set

CFG_RESET_SOURCE        RCWLR [0:31]           RCWHR [0:31]

0x1111                  0x4404_0044            0x0430_0000

It has ROMLOC as 0x011, which selects SPI Boot.

0 项奖励
回复
1,484 次查看
John
Contributor I

Thanks for the confirmation Serguei.

I'm having a hard time finding that in any of Freescale's documentation.

Do you know where I could find that in the documentation. If it's not

there, will it be added to Table 4-19 (RCW Values Corresponding to Hard

Coded Options) in the next revision of MPC8306RM?

Thanks and regards,

John

0 项奖励
回复
1,484 次查看
r8070z
NXP Employee
NXP Employee

Sometime ago I asked Freescale support for that. I hope it will be added to Table 4-19 in the next revision of MPC8306RM.

Best regards

Serguei

0 项奖励
回复