已解决! 转到解答。
Hi Simon Prentice,
"LPCXpresso IDE v7.9.0 introduced an improved flash driver mechanism for SPIFI flash. Now a project targeting SPIFI flash only has to specify a single Generic flash driver: “LPC18_43_SPIFI_GENERIC.cfx”. When a flash programming operation is performed, this driver will first interrogate the SPIFI device and determine its type, size, and configuration, which are then reported back to the host debug driver. Using this information the correct optimized programming routines for the SPIFI device detected can be used." you can find this and some more information about the flash driver in the link below. LPCXpresso IDE User Guide.
In MCUXpresso IDE the same thing happen, only has a single Generic flash driver: “LPC18_43_SPIFI_GENERIC.cfx”, and as the example was created for the previous version of the LPCXpressp IDE, use the pass flash driver "LPC18_43_SPIFI_1MB_4KB.cfx" for that reason I recommended to use the examples that LPCOpen include, are more update.
On the other hand, if you want to run this example, you have to change the default flash driver, for that go to the properties of the project (Select and press Alt + Enter), C/C++ build >> MCU settings and there you have the Memory details section where say which is the default flash driver.
Click edit >> Browse... in the default flash driver and then you have to search the file called “LPC18_43_SPIFI_GENERIC.cfx” apply the changes and with that, you are going to be able to run the example,
Wish it helps you!
regards,
Miguel
Hi Simon Prentice,
"LPCXpresso IDE v7.9.0 introduced an improved flash driver mechanism for SPIFI flash. Now a project targeting SPIFI flash only has to specify a single Generic flash driver: “LPC18_43_SPIFI_GENERIC.cfx”. When a flash programming operation is performed, this driver will first interrogate the SPIFI device and determine its type, size, and configuration, which are then reported back to the host debug driver. Using this information the correct optimized programming routines for the SPIFI device detected can be used." you can find this and some more information about the flash driver in the link below. LPCXpresso IDE User Guide.
In MCUXpresso IDE the same thing happen, only has a single Generic flash driver: “LPC18_43_SPIFI_GENERIC.cfx”, and as the example was created for the previous version of the LPCXpressp IDE, use the pass flash driver "LPC18_43_SPIFI_1MB_4KB.cfx" for that reason I recommended to use the examples that LPCOpen include, are more update.
On the other hand, if you want to run this example, you have to change the default flash driver, for that go to the properties of the project (Select and press Alt + Enter), C/C++ build >> MCU settings and there you have the Memory details section where say which is the default flash driver.
Click edit >> Browse... in the default flash driver and then you have to search the file called “LPC18_43_SPIFI_GENERIC.cfx” apply the changes and with that, you are going to be able to run the example,
Wish it helps you!
regards,
Miguel