MPC8306 reset configuration words in SPI boot

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

MPC8306 reset configuration words in SPI boot

ソリューションへジャンプ
1,630件の閲覧回数
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,301件の閲覧回数
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,302件の閲覧回数
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,301件の閲覧回数
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,301件の閲覧回数
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 件の賞賛
返信