Using the Link Application to RAM feature in MCUXpresso for VSCode

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

Using the Link Application to RAM feature in MCUXpresso for VSCode

570 Views
AndrewChoi
Contributor I

Hi All

I am developing a system using Zephyr OS on i.MXRT1072

In MCUXpresso IDE, I can use the "Link application to RAM" function to load the binary directly into RAM for testing without programming it in flash. I want to know how to do this in MCUXpresso for VSCode.

After researching the documentation, I found that using the "Link application to RAM" feature in MCUXpresso for VS Code requires directly specifying a memory area to the project's build system. However, trying various methods takes a lot of time and doesn't make any progress.

I think NXP headquarters is also developing Zephyr-related projects by downloading them to RAM. Could you provide an example of how to run the "hello_world" sample in NXP Zephyr V4.1 using NXP Link2 in RAM?

Thank you

0 Kudos
Reply
1 Reply

521 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @AndrewChoi,

Please take a look at the following discussion, where my colleague Derek Snell details the process, he did to run an application from RAM on the RT1024. Run entire application from RAM · zephyrproject-rtos/zephyr · Discussion #36800 · GitHub. Altough a different device, it is still applicable for the RT1170.

BR,
Edwin.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2164283%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EUsing%20the%20Link%20Application%20to%20RAM%20feature%20in%20MCUXpresso%20for%20VSCode%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2164283%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20All%3C%2FP%3E%3CP%3EI%20am%20developing%20a%20system%20using%20Zephyr%20OS%20on%20i.MXRT1072%3C%2FP%3E%3CP%3EIn%20MCUXpresso%20IDE%2C%20I%20can%20use%20the%20%22Link%20application%20to%20RAM%22%20function%20to%20load%20the%20binary%20directly%20into%20RAM%20for%20testing%20without%20programming%20it%20in%20flash.%20I%20want%20to%20know%20how%20to%20do%20this%20in%20MCUXpresso%20for%20VSCode.%3C%2FP%3E%3CP%3EAfter%20researching%20the%20documentation%2C%20I%20found%20that%20using%20the%20%22Link%20application%20to%20RAM%22%20feature%20in%20MCUXpresso%20for%20VS%20Code%20requires%20directly%20specifying%20a%20memory%20area%20to%20the%20project's%20build%20system.%20However%2C%20trying%20various%20methods%20takes%20a%20lot%20of%20time%20and%20doesn't%20make%20any%20progress.%3C%2FP%3E%3CP%3EI%20think%20NXP%20headquarters%20is%20also%20developing%20Zephyr-related%20projects%20by%20downloading%20them%20to%20RAM.%20Could%20you%20provide%20an%20example%20of%20how%20to%20run%20the%20%22hello_world%22%20sample%20in%20NXP%20Zephyr%20V4.1%20using%20NXP%20Link2%20in%20RAM%3F%3C%2FP%3E%3CP%3EThank%20you%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2166990%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Using%20the%20Link%20Application%20to%20RAM%20feature%20in%20MCUXpresso%20for%20VSCode%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2166990%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F254481%22%20target%3D%22_blank%22%3E%40AndrewChoi%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EPlease%20take%20a%20look%20at%20the%20following%20discussion%2C%20where%20my%20colleague%20Derek%20Snell%20details%20the%20process%2C%20he%20did%20to%20run%20an%20application%20from%20RAM%20on%20the%20RT1024.%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fzephyrproject-rtos%2Fzephyr%2Fdiscussions%2F36800%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3ERun%20entire%20application%20from%20RAM%20%C2%B7%20zephyrproject-rtos%2Fzephyr%20%C2%B7%20Discussion%20%2336800%20%C2%B7%20GitHub%3C%2FA%3E.%20Altough%20a%20different%20device%2C%20it%20is%20still%20applicable%20for%20the%20RT1170.%3C%2FP%3E%0A%3CP%3EBR%2C%3CBR%20%2F%3EEdwin.%3C%2FP%3E%3C%2FLINGO-BODY%3E