RT1011 W25Q256 FLM

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,819件の閲覧回数
Daniel14
Contributor III

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. 

0 件の賞賛
返信
1 解決策
1,794件の閲覧回数
jay_heng
NXP Employee
NXP Employee

See detailed usage of RT-UFL under MDK (It is in chinese)

超级下载算法RT-UFL v1.0在Keil MDK下的使用

元の投稿で解決策を見る

0 件の賞賛
返信
7 返答(返信)
1,733件の閲覧回数
Daniel14
Contributor III

Thanks for your support.

0 件の賞賛
返信
1,805件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

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.
------------------------------------------------------------------------------

0 件の賞賛
返信
1,801件の閲覧回数
Daniel14
Contributor III

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. 

 

Daniel14_0-1666170307901.png

Daniel14_1-1666170390762.png

 

 

0 件の賞賛
返信
1,800件の閲覧回数
Daniel14
Contributor III

This is pop-up window when I load the code after modifying the size

Daniel14_0-1666171002342.png

 

0 件の賞賛
返信
1,795件の閲覧回数
jay_heng
NXP Employee
NXP Employee

See detailed usage of RT-UFL under MDK (It is in chinese)

超级下载算法RT-UFL v1.0在Keil MDK下的使用

0 件の賞賛
返信
1,785件の閲覧回数
Daniel14
Contributor III

Hi.Jay

Thanks, It seems only support Jlink but not DAP link?

0 件の賞賛
返信
1,750件の閲覧回数
jay_heng
NXP Employee
NXP Employee

Yes, currently it supports Jlink only

0 件の賞賛
返信