imxrt1170 flexspi-nor boot can not work

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

imxrt1170 flexspi-nor boot can not work

Jump to solution
742 Views
jingyangxie
Contributor V

In imxrt1170-evk board, when i use hello_world demo in SDK2.12 in the IAR env (version:9.30.1),I can not goto debug mode, it shows:

jingyangxie_0-1663577399062.png

 

0 Kudos
1 Solution
724 Views
jay_heng
NXP Employee
NXP Employee

debug build是下载到片内SRAM运行

fllexspi_nor_debug build是下载到片外NOR Flash运行(这个需要IDE里下载算法支持)

View solution in original post

0 Kudos
6 Replies
732 Views
jingyangxie
Contributor V

你好,我的问题是hello wrold的demo在flexspi nor模式下无法调试,在普通debug模式下是可以调试的,换言之,就是链接文件由MIMXRT1176xxxxx_cm4_ram.icf改为MIMXRT1176xxxxx_cm4_flexspi_nor.icf无法进行,从IAR端操作如下:

jingyangxie_0-1663643109350.png

切换到:

jingyangxie_1-1663643144234.png

 

0 Kudos
729 Views
jay_heng
NXP Employee
NXP Employee

因为默认CM4是从核,没法HW复位后从flash直接启动,最好在IAR选项里将复位类型改为 core reset

  IAR在线调试时设不同复位类型可能会导致i.MXRT下调试现象不一致(J-Link/DAPLink)

然后你确定IAR的flash下载算法在 CM4 下能正常工作吗?

0 Kudos
726 Views
jingyangxie
Contributor V

你好,我确认使用SDK2.12版本,IAR环境的hello-world的demo程序,在debug(对应链接文件xxx_ram.icf)下载运行是没问题的

0 Kudos
725 Views
jay_heng
NXP Employee
NXP Employee

debug build是下载到片内SRAM运行

fllexspi_nor_debug build是下载到片外NOR Flash运行(这个需要IDE里下载算法支持)

0 Kudos
741 Views
jingyangxie
Contributor V

the core in-use is cortex-m4

0 Kudos