Trying External Memory support in LPCXpresso v4.2.0

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

Trying External Memory support in LPCXpresso v4.2.0

146 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by dima2611 on Sun Feb 26 16:15:13 MST 2012
Hi all,

it did not work as I would expect. I do not understand crypty error messages. I need help. I use Red Probe+ on LPC-4350-DB1 dev. board manufactured by www.diolan.com. The external memory is diffrent from that mounted on the HITEX board: MT48LC4M32B2 by Micron.

First off: [B]crt_emu_lpc18_43_nxp.exe[/B] crashes at the start. Here is the error signature:

AppName: crt_emu_lpc18_43_nxp.exe     AppVer: 0.0.0.0     ModName: hid.dll
ModVer: 5.1.2600.5512     Offset: 00001526

Then, I see some action which ends with [B]Flash driver command failure 100003EE, 2[/B].

Is the reason the wrong flash memory type? Anyway, [B]crt_emu_lpc18_43_nxp.exe [/B]may not crash.

I tried SPIFI driver as well. I could not compile it becaue it missed [B]spifi_drv_m3[/B] libary. (the linker says[B] cannot find -lspifi_drv_m3[/B]) Both [B]CMSISv2p10_LPC18xx_DriverLib[/B] and [B]CMSISv2p10_LPC43xx_DriverLib[/B] are imported into the current workspace. I found a library named [B]spifi_drv_m3.lib[/B] and put it into /lib folder. The problem is still there.

I wish I could get finished with configuring my workspase and begin writing the application...

Regards,
Dima

P.S. Even if it says it supports LPC43xx family as well, it is just Cortex-M3 everywhere in the source. I replaced CORE_M3 with CORE_M4 in the configuration, and as consequence the compiler did not find M4 stuff, for example [B]core_cm4.*[/B] files.
0 Kudos
1 Reply

130 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Mon Feb 27 01:32:09 MST 2012
We currently only supply flash drivers for SPI flash and the SST39VF3201B found on the Hitex LPC1850/4350 board. If your board uses different flash, a new driver must be supplied.

If you wish to use SPI flash, you can use the driver we supply - no need to rebuild it. Use LPC1850A_4350A_SPIFI.cfx as the flash driver. The driver is generic for Cortex-M3 and Cortex-M4 parts.
0 Kudos