Hello NXP community.
I am running a project using LPC54016JBD100E MCU and I have a problem loading the IMG from external flash(W25Q128JVFM) to RAM.
The problem is that that using the IMG from the flash slowing my project , functions that works perfectly by running from RAM does not work running from my FLASH , so this is the reason I want to copy the IMG from FLASH to RAM.
Looking at the datasheet and user manual I saw a img_type bit that can be configure,
to copy the IMG from FLASH to RAM ,by changing XIP bit to 0 (load img),
but when I changed the__imghdr_imagetype = 3; to __imghdr_imagetype = 1, the system did not succeed to upload from the ext FLASH.
Also I tried to change the IMG_BAUDRATE from 0 to 96000000 , but the clock remain 24Mhz.
But the best will be to find a solution to copy from flash to ram,
I will be glad for any guidance, thank you.
Best regards Dan Iton.
Solved! Go to Solution.
Hello @DanIton92
You can refer to LPC54018M SDK demo running in RAM, for example hello_world,
it is copy from external flash to RAM.
The demos without xip normal run in RAM.
BR
Alice
Hello @DanIton92
You can refer to LPC54018M SDK demo running in RAM, for example hello_world,
it is copy from external flash to RAM.
The demos without xip normal run in RAM.
BR
Alice