MPC8306 reset configuration words in SPI boot

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPC8306 reset configuration words in SPI boot

Jump to solution
1,871 Views
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

Tags (1)
0 Kudos
Reply
1 Solution
1,542 Views
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.

View solution in original post

0 Kudos
Reply
3 Replies
1,543 Views
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 Kudos
Reply
1,542 Views
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 Kudos
Reply
1,542 Views
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 Kudos
Reply