For MCUXprsso, when I want to use Flash with LPC-Link2, MCUXprsso show the configure file is loss, then I find this file in the LPCXpresso directory in my PC.
I want to double confirm if it's OK to develop LPC1830 with MCUXpresso? Should I worry about other thing?
Or should I use LPCXpresso for LPC1830?
For users wishing up update an entire Workspace containing references to old style LPC18xx and LPC43xx SPIFI flash drivers I have attached a simple python script to perform this action.
To use this script:
This script will search through the supplied workspace and replace all references to older SPIFI flash drivers and update them to the current GENERIC driver.
What actually is the message you see? Can you post the debug log from your console view? [described in the MCUXpresso IDE v10.0.0 User Guide - section 14.7 : The Console View, though the mechanism is similar to LPCXpresso IDE, as described in The Debug Log ]
I suspect that the most likely cause of your problem is that your project is configured using a old legacy SPIFI flash driver that was supplied with LPCXpresso IDE, but is no longer supplied in MCUXpresso IDE.
Make sure that your project's Memory Configuration is setup so that the "LPC18_43_SPIFI_GENERIC.cfx" is used for any SPIFI memory that is defined. See Chapter 12 of the MCUXpresso IDE v10.0.0 User Guide for more details.
We'll look into making this issue more obvious in the MCUXpresso IDE documentation.
MCUXpresso IDE Support
I download the lpcopen_3_01_lpcxpresso_ngx_xplorer_4330 sample code project,
When I open this workspace with MCUXpresso, it notice me that I need covert it to new project.
And I build the freertos_blinky project, and use IDE flash, it show the "Flash driver" is "LPC18_43_SPIFI_16MB_64KB.cfx".
I think it's lpcXpresso setting. And MCUXpresso can't find this cfx file.
So I browse the "LPC18_43_SPIFI_GENERIC.cfx", and it can work without any problem.
But I need to do this every time, because it seem the project will not store this setting.
I want to know if my develop environment has something wrong so that I need to do this.
I don't know how to set the flash driver because I didn't find option in my IDE(windows version).
Will NXP release MCUXpresso based sample project in the future? It seems the convert is necessary.
If I loss the guild reading in IDE User Guide, please forgive me.
Please check my problem,
Thank you a lot.
Thank you for your detailed explanation.
I can confirm that the problem is that the LPCOpen example you have imported references an old flash driver that is not supplied with MCUXpresso IDE (more on this later). The GUI flash programmer always references a project within the Project Explorer and will use the flash driver specified there. To avoid having to re-select the correct flash driver, simply edit the project in project explorer and select the LPC18_43_SPIFI_GENERIC..cfx - this will then be picked up by the GUI flash programmer next time you use it.
To change a projects flash driver, right click in Project Explorer and select Properties -> C/C++ Build -> MCU setting -> Edit -> Browse to the new Default Flash Driver -> OK -> Apply -> OK
Back to the story of flash drivers ... in earlier versions of LPCXpresso IDE (pre v 7.9) the SPIFI flash drivers we supplied were specific to an particular flash device -> e.g. LPC18_43_S25FL032P.cfx. In version 7.9 we replaced the functionality of all of these specific SPIFI drivers with a new GENERIC driver. All specific drivers from that point onwards were simply renamed versions of the GENERIC driver (provided to avoid problems with pre-built examples referencing the old drivers). However, on MCUXpresso IDE we took the decision to remove these driver copies.
We are working with the LPCOpen team to ensure that all future LPCOpen examples only reference the GENERIC SPIFI driver - and hope that this will be resolved before our next MCUXpresso IDE release.
I hope this helps,