Running application from internal memory ITCM/DTCM on MIMXRT1062 #69406
-
I have a project where the board design does not include flash or external sdram. For the final product, they want to load the application via the USB serial downloader in the ROM image and have it run solely in ITCM and DTCM. I saw another discussion related to this, and it seems this should be possible. #36800 (comment) I started by making a custom application and a custom board based on MIMXRT1060-EVKB. I based the custom application off the USB console example. I got the baseline working operating out of the NOR flash and external SDRAM. My next step is to switch the board configuration to operate only in the internal ITCM/DTCM. I modified main.c to emit different text. I also modified the board**dts file:
The build output shows: I'm hoping this indicates the dts changes were successful, but I'm not fully confident. I confirmed with west debug that the new image does work and also that after power cycling it reverted back to the image previously loaded into external NOR flash. My next step is to run through the process of loading the image via the USB serial debugger. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I'm also wondering how I can eliminate the CONFIG_BOOT_FLEXSPI_NOR related features from the build process. Currently the mimxrt1060_evk/CmakeLists.txt is including: set(RT1060_BOARD_DIR None of which seems relevant if I don't have a flexspi_nor, but I don't see any option to disable CONFIG_BOOT_FLEXSPI_NOR. However, I run into this error: In file included from D:/AAA/v3.5.0/zephyr/soc/arm/nxp_imx/rt/soc_rt10xx.c:15: |
Beta Was this translation helpful? Give feedback.
-
Closing the loop here that you did move the code and data to internal SRAM, and more details are in this other discussion you started #69630. Best regards |
Beta Was this translation helpful? Give feedback.
Closing the loop here that you did move the code and data to internal SRAM, and more details are in this other discussion you started #69630.
Best regards