Program can be written into i.MXRT106F board , but boot & debug fails

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

Program can be written into i.MXRT106F board , but boot & debug fails

ソリューションへジャンプ
2,616件の閲覧回数
ZHOU_XIAO
NXP Employee
NXP Employee

Hello , All

 

Customer (panasonic )  is using Jlink debugger to writing customer program(based on RT1060) into flash of RT106F board and wants to debug& boot the program.

The written process is ok , but the boot & debug fails

(I attached the jlink log and picture)

 

Panasonic uses flash and SDRAM in RT106F board as follows

QSPI-Flash:IS25LP512M-JLLE 512Mb,133MHz

SDRAM:  IS42S16160J-6BLI 256Mb,166MHz

 

The sample project of Hello_world can be run on RAM in RT106F.

We tried to change the reset type and confirmed that

1 The boot mode is internal mode (2b10),

2 the DCD is using evkmimxrt1060_sdram_ini_dcd.c.

3. The macro definition of XIP_BOOT_HEADER_DCD_ENABLE is enabled

4.we set breaking point in ResetISR, the debug will not stop at Breaking point.

 

I wonder if we need to change the XIP file for the  QSPI-Flash:IS25LP512M-JLLE ?

Could anyone give some advice?

 

@hiroshihiraga 

@lucas_cao 

@jay_heng 

@chaosheng.xiang@nxp.com

@jorge_a_vazquez 

 

 

Best regards

ZHOU

ラベル(1)
0 件の賞賛
1 解決策
2,494件の閲覧回数
lucas_cao
NXP Employee
NXP Employee

Hi

 

1  check boot mode/device select by register SRC_SBMR1/2

2 check the QE bit by build/debug  flexspi_nor_polling transer sample project

3 try to write image(hello.world) by McubootUtility 

4 check the circuit design of QSPI related.

元の投稿で解決策を見る

0 件の賞賛
7 返答(返信)
2,495件の閲覧回数
lucas_cao
NXP Employee
NXP Employee

Hi

 

1  check boot mode/device select by register SRC_SBMR1/2

2 check the QE bit by build/debug  flexspi_nor_polling transer sample project

3 try to write image(hello.world) by McubootUtility 

4 check the circuit design of QSPI related.

0 件の賞賛
2,465件の閲覧回数
ZHOU_XIAO
NXP Employee
NXP Employee

Hello, @lucas_cao 

 

Thanks for your support (circuit design review and sample project).

Customer reported us that the VCC power supply for QSPI flash does not work well for Flash. Your advice is very helpful.

 

Best regards

ZHOU XIAO

0 件の賞賛
2,544件の閲覧回数
ZHOU_XIAO
NXP Employee
NXP Employee

Hello ,All

 

Update of the RT106F failure problem.(2022/2/24)

We are requesting customer to do following things and waiting for their results.

1. Watch the register of SRC_SBMR1/2 to check whether the boot mode & device select is ok or not . The circuit design of customer boot mode is slightly different from our EVK design.

2.Use the McubootUtility to download & execute the blink project program bin to check whether the XIP configuration/debug configuration is ok nor not.

@hiroshihiraga 

@lucas_cao 

@jay_heng 

@chaosheng.xiang@nxp.com

Best regards

ZHUO

0 件の賞賛
2,585件の閲覧回数
ZHOU_XIAO
NXP Employee
NXP Employee

Hello all.

 

We still can not figure out why customer RT106F board can not boot&debug  normally.

Let me update the situation of this problem. 

1 We checked the Flash & SDRAM chip number and PINMUX on circuit, these information on RT106F customer board is same with RT1060 EVK 

2 We provided the led blink bin file ( created by IAR flex_nor_sdram_debug/flexspi_nor_debug)  to customer. we confirmed that the voltage  on RT1060 evk board. But the led in their RT106F does not blink. 

3  We suggest to  enable the QE bit by program & run  "flexspi_nor_polling transer"  sample project and then run led_blink program. The led on thier RT106F does not blink. 

@jay_heng @lucas_cao @hiroshihiraga 

Best regards

ZHOU

0 件の賞賛
2,597件の閲覧回数
jay_heng
NXP Employee
NXP Employee

Can customer debug and boot demo project (eg, hello_world, flexspi_nor_sdram build) from RT1060 SDK on their board?

0 件の賞賛
2,600件の閲覧回数
lucas_cao
NXP Employee
NXP Employee

@ZHOU_XIAO  san and @hiroshihiraga san,

 

I found the SDRAM and the flash are same with our RT1060 EVK board, so i think the dcd file and boot configure file do not need to be changed.

タグ(1)
0 件の賞賛
2,610件の閲覧回数
ZHOU_XIAO
NXP Employee
NXP Employee

Sorry about the flash information .

Customer just now told me they are using the same flash( IS25WP064A-JBL).

 

ZHOU

0 件の賞賛