MIMXRT595-EVK SDK version is 2.11.1
MCUXpresso IDE version is 11.5.1_7266
I followed instructions in MCUXpresso IDE User Guide, RAM projects with LinkServer section to load application to RAM.
Firstly, I imported power_manager example in demo_apps, checked "Link application to RAM" option while importing and then built the application in Debug configuration.
Now, in GUI Flash tool, attached image is my GUI Flash tool settings:
I set "Reset handling" option to "SOFT" and proceeded with flashing. Here is the console output. It says "No flash configured":
Executing flash operation 'Program' (Program file into flash: evkmimxrt595_power_manager.axf) - Wed Jun 29 16:33:32 IST 2022
Checking MCU info...
Scanning for targets...
Executing flash action...
MCUXpresso IDE RedlinkMulti Driver v11.5 (Apr 7 2022 16:04:36 - crt_emu_cm_redlink.exe build 11)
( 0) Reading remote configuration
Wc(03). No cache support.
Found chip XML file in C:/Users/aravi/Documents/MCUXpressoIDE_11.5.1_7266/workspace/evkmimxrt595_power_manager/Debug\MIMXRT595S.xml
( 5) Remote configuration complete
Reconnected to existing LinkServer process.
============= SCRIPT: RT500_connect.scp =============
============= END SCRIPT ============================
Probe Firmware: LPC-LINK2 CMSIS-DAP V5.361 (NXP Semiconductors)
Serial Number: NQAYCQJQ
VID:PID: 1FC9:0090
USB Path: \\?\hid#vid_1fc9&pid_0090&mi_00#8&168d426b&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
Using memory from core 0 after searching for a good core
( 30) Emulator Connected
processor is in secure mode
( 40) Debug Halt
( 50) CPU ID
debug interface type = CoreSight DP (DAP DP ID 6BA02477) over SWD TAP 0
processor type = Cortex-M33 (CPU ID 00000D21) on DAP AP 0
number of h/w breakpoints = 8
number of flash patches = 0
number of h/w watchpoints = 4
Probe(0): Connected&Reset. DpID: 6BA02477. CpuID: 00000D21. Info: <None>
Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.
Content of CoreSight Debug ROM(s):
RBASE E00FE000: CID B105100D PID 0000095000 ROM (type 0x1)
ROM 1 E00FF000: CID B105100D PID 04000BB4C9 ROM (type 0x1)
ROM 2 E000E000: CID B105900D PID 04000BBD21 CSt ARM ARMv8-M type 0x0 Misc - Undefined
ROM 2 E0001000: CID B105900D PID 04000BBD21 CSt ARM DWTv2 type 0x0 Misc - Undefined
ROM 2 E0002000: CID B105900D PID 04000BBD21 CSt ARM FPBv2 type 0x0 Misc - Undefined
ROM 2 E0000000: CID B105900D PID 04000BBD21 CSt ARM ITMv2 type 0x43 Trace Source - Bus
ROM 2 E0041000: CID B105900D PID 04002BBD21 CSt ARM ETMv4.0 type 0x13 Trace Source - Core
ROM 2 E0042000: CID B105900D PID 04000BBD21 CSt ARM CTIv2 type 0x14 Debug Control - Trigger, e.g. ECT
ROM 1 E0040000: CID B105900D PID 04000BBD21 CSt type 0x11 Trace Sink - TPIU
NXP: MIMXRT595S
DAP stride is 1024 bytes (256 words)
( 65) Chip Setup Complete
Connected: was_reset=true. was_stopped=false
( 70) License Check Complete
File 'evkmimxrt595_power_manager.axf' load failure: Ef(11). No flash configured.
(100) Target Connection Failed
Unable to perform operation!
Command failed with exit code 1
Could you please help me to fix this so that I could directly load application to RAM?
Update: Do I have to run in non xip mode? If yes, please help me to run in non xip mode.
Thank you,
Aravind.
Solved! Go to Solution.
Hi Alice,
We want to program image to external Flash and then run it in RAM. We were able to do it via "Plain load image" option in MCU linker and some changes to linker script.
Thank you,
Aravind.
Hi Alice,
We want to program image to external Flash and then run it in RAM. We were able to do it via "Plain load image" option in MCU linker and some changes to linker script.
Thank you,
Aravind.
Hello,
Do you want to program image to external Flash ,then run it in RAM?
Or want to directly download it to RAM?
GUI flash tool is program image to Flash, not RAM.
BR
Alice