Trying External Memory support in LPCXpresso v4.2.0

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
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:     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...


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.