SFlash configuration header

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

SFlash configuration header

ソリューションへジャンプ
1,281件の閲覧回数
tfe
Contributor V

We are working on a custom vybrid-based platform, and are attempting to boot from QSPI1(Spansion S25FL256S). The image we are attempting to boot have been tested and is known to work on the TWR-VF65GS10 kit using QSPI0.

From the Vybrid Manufacturing Tool, we extracted the following header which was contained it a pre-compiled image bundled with the tool.

------------------------- SFLASH CONFIG HEADER START -------------------------

Hold delay: 0 (disabled)

Half Speed Phase Selection: 0 (Select sampling at non-inverted clock)

Half Speed Delay: 0 (One clock cycle delay)

Chip Select hold time: 0

Chip Select setup time: 0

Serial Flash A1 size: 0x01000000 (16MB)

Serial Flash A2 size: 0

Serial Flash B1 size: 0x01000000 (16MB)

Serial Flash B2 size: 0

Serial Clock Frequency: 1 (60 MHz)

Mode of operation of serial Flash: 4 (Quad 4-bit data)

Serial Flash Port B selection: 0 (Port B is not used)

Dual Data Rate mode enable: 0 (DDR mode is disabled)

Data Strobe Signal enable in Serial Flash: 0 (Disable DQS)

Parallel Mode enable: 0 (Disable Parallel Mode in QSPI)

CS1 on Port A: 0 (Disable CS1 on Port A)

CS1 on Port B: 0 (Disable CS1 on Port B)

Full Speed Phase Selection: 0 (Select sampling at non-inverted clock)

Full Speed Delay Selection: 0 (One clock cycle delay)

DDR Sampling Point: 0​

-------------------------- SFLASH CONFIG HEADER END --------------------------

We have attempted to change the "Serial Flash Port B selection" field to 1, set the size of A1 to 0x00 and B1 to 0x02000000, but unfortunately this does not work.

We have set our card to boot from fuses, and set the bootconfig appropriately. Probing the QSPI-flash chip shows that there is traffic between the MCU and chip upon boot.

Does anyone have any input?

ラベル(2)
1 解決策
1,005件の閲覧回数
tfe
Contributor V

I eventually figured this out myself. Only a small modification was necessary:

------------------------- SFLASH CONFIG HEADER START -------------------------

Hold delay: 0 (disabled)

Half Speed Phase Selection: 0 (Select sampling at non-inverted clock)

Half Speed Delay: 0 (One clock cycle delay)

Chip Select hold time: 0

Chip Select setup time: 0

Serial Flash A1 size: 0x02000000 (32MB)

Serial Flash A2 size: 0

Serial Flash B1 size: 0

Serial Flash B2 size: 0

Serial Clock Frequency: 1 (60 MHz)

Mode of operation of serial Flash: 4 (Quad 4-bit data)

Serial Flash Port B selection: 0 (Port B is not used)

Dual Data Rate mode enable: 0 (DDR mode is disabled)

Data Strobe Signal enable in Serial Flash: 0 (Disable DQS)

Parallel Mode enable: 0 (Disable Parallel Mode in QSPI)

CS1 on Port A: 0 (Disable CS1 on Port A)

CS1 on Port B: 0 (Disable CS1 on Port B)

Full Speed Phase Selection: 0 (Select sampling at non-inverted clock)

Full Speed Delay Selection: 0 (One clock cycle delay)

DDR Sampling Point: 0

-------------------------- SFLASH CONFIG HEADER END --------------------------

Cheers

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
1,006件の閲覧回数
tfe
Contributor V

I eventually figured this out myself. Only a small modification was necessary:

------------------------- SFLASH CONFIG HEADER START -------------------------

Hold delay: 0 (disabled)

Half Speed Phase Selection: 0 (Select sampling at non-inverted clock)

Half Speed Delay: 0 (One clock cycle delay)

Chip Select hold time: 0

Chip Select setup time: 0

Serial Flash A1 size: 0x02000000 (32MB)

Serial Flash A2 size: 0

Serial Flash B1 size: 0

Serial Flash B2 size: 0

Serial Clock Frequency: 1 (60 MHz)

Mode of operation of serial Flash: 4 (Quad 4-bit data)

Serial Flash Port B selection: 0 (Port B is not used)

Dual Data Rate mode enable: 0 (DDR mode is disabled)

Data Strobe Signal enable in Serial Flash: 0 (Disable DQS)

Parallel Mode enable: 0 (Disable Parallel Mode in QSPI)

CS1 on Port A: 0 (Disable CS1 on Port A)

CS1 on Port B: 0 (Disable CS1 on Port B)

Full Speed Phase Selection: 0 (Select sampling at non-inverted clock)

Full Speed Delay Selection: 0 (One clock cycle delay)

DDR Sampling Point: 0

-------------------------- SFLASH CONFIG HEADER END --------------------------

Cheers

0 件の賞賛
返信
1,005件の閲覧回数
timesyssupport
Senior Contributor II

Hello,

We are currently looking into this, and attempting to determine a cause. We will follow up when we have some insight.

Thank you,

Timesys Support

1,005件の閲覧回数
karina_valencia
NXP Apps Support
NXP Apps Support

timesyssupport​ do you have an update?

0 件の賞賛
返信
1,005件の閲覧回数
karina_valencia
NXP Apps Support
NXP Apps Support

timesyssupport​ are you able  to  attend this case?

0 件の賞賛
返信