Can not boot QSPI2-Nor-Flash with i.mx6SoloX

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

Can not boot QSPI2-Nor-Flash with i.mx6SoloX

2,526 次查看
hirokata
Contributor I

Hello

 

Is i.mx 6 SoloX (MCIMX6X1AVO08AB) capable of starting with QSPI 2 - Nor - Flash boot even when USB-OTG1 and SD card are unmounted?
I wrote QuadSPI Configuration Parameters (512 B) to Nor-Flash offset value 0x400 connected to SS0 of QSPI2A1 using the J-TAG debugger, wrote u-boot-qspi2.Imx created with Yocto to offset value 0x1000 but it did not start.

 

BOOT_CFG[7:0] = 0x18 ([2:0]=000b,[3]=1b,[7:4]=0001b)

BOOT_CFG[15:8]=0x00

BOOT_MODE[1:0]=10b (Internal ROM Boot)

 

Thanks

Original Attachment has been moved to: qspi-nor-micron-n25q512a-config.zip

标签 (1)
0 项奖励
回复
8 回复数

2,100 次查看
Yuri
NXP Employee
NXP Employee

Hello,

  Please look at the following

iMX6SX QSPI boot 

https://community.nxp.com/message/669485 

Have a great day,

Yuri

 

------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer

button. Thank you!

0 项奖励
回复

2,100 次查看
hirokata
Contributor I

Thanks Yuri

I can not use MFG-Tool because my i.mx6sx custom board does not have USB-OTG 1 and SD installed.

Best regards,
Hirokata

0 项奖励
回复

2,100 次查看
hirokata
Contributor I

Hi Yuri

I was using the oscilloscope to monitor SS0 of QSPI2A1 when i.MX6SoloX was started, but it never changed to low.

regards,
Hirokata

0 项奖励
回复

2,100 次查看
Yuri
NXP Employee
NXP Employee

Hello, Hirokata !

  please check pin connection, using Table 8-27 (QSPI IOMUX pin configuration)

of the i.MX6SX RM (Rev. 1, 6/2016). Also, You may send me circuit diagram of Your design 

for verifying - via request.

Sales and Support|NXP 

Regards,

Yuri. 

0 项奖励
回复

2,100 次查看
hirokata
Contributor I

Thanks, Yuri

Sorry, I can not send the circuit diagram to you because of the confidentiality obligation.
I tried tracing from the reset vector with the JTAG debugger.
At the address 0x0000286C of the Internal ROM, the CMP instruction is always true, so an infinite loop has been established with 0x0000286A.
What is this judgment?
Does it fail with secure boot?
Is i.MX6 SoloX able to boot without writing the program with MFG-Tool?
Can not I start up if I write directly to Flash ROM?

Regards,

Hirokata.

0 项奖励
回复

2,100 次查看
Yuri
NXP Employee
NXP Employee

Hello,

  Please create request for further considerations.

Sales and Support|NXP 

Regards,

Yuri.

0 项奖励
回复

2,100 次查看
hirokata
Contributor I

Thank you, Yuri.
How can I do it?
Should I issue a question in the JTAG debugger as a new request ?

0 项奖励
回复

2,100 次查看
Yuri
NXP Employee
NXP Employee

Hello,

As for the new request : 

  I am going to send You boot utility to have more information about the issue.

Regards,

Yuri.

0 项奖励
回复