Hi,
MIMXRT1011 official demo use AT25SF128A-SHB-T as flash however I use W25Q256JV instead. My code run well when debug but failed to run when I load the code to flash using default FLM file. I thought the issue may cause from the wrong FLM file.
Do you have FLM file that suitable for W25Q256JV? or how can I generate FLM file?
Thanks.
Solved! Go to Solution.
See detailed usage of RT-UFL under MDK (It is in chinese)
Thanks for your support.
Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
To provide the fastest support, I'd like to suggest you refer to the open-source project.
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
------------------------------------------------------------------------------
Hi, Jeremy
Thanks a lot for your fast response. I just tried it. Modified the FlashDev.c that below. then generate FLM.
// MIMXRT1010-EVK
struct FlashDevice const FlashDevice = {
FLASH_DRV_VERS, // Driver Version, do not modify!
"MIMXRT_FLEXSPI", // Device Name
EXTSPI, // Device Type
0x60000000, // Device Start Address
// 0x01000000, // Device Size in Bytes (16mB)
0x02000000, // Device Size in Bytes (32mB)
256, // Programming Page Size
0, // Reserved, must be 0
0xFF, // Initial Content of Erased Memory
100, // Program Page Timeout 100 mSec
5000, // Erase Sector Timeout 5000 mSec
// Specify Size and Address of Sectors
0x1000, 0x00000000, // Sector Size 4kB (256 Sectors)
SECTOR_END
};
Load the code on my board. Output show "Insufficient RAM for Flash Algorithms !" like below.
Load "flexspi_nor_release\\igpio_led_output.out"
Insufficient RAM for Flash Algorithms !
Erase Failed!
Error: Flash Download failed - "Cortex-M7"
Flash Load finished at 16:58:44
then I modify the RAM for Algorithm Size from 0x8000 to 0x16000 and they again.
Output shows Cannot access memory.
BTW, I use default .scf file without any modification.
Thanks.
This is pop-up window when I load the code after modifying the size
Hi.Jay
Thanks, It seems only support Jlink but not DAP link?
Yes, currently it supports Jlink only