9 years, 9 months ago.

How to select LPC11U37

Does anyone know how to activate LPC11U37 within MBED Compiler ??

I am currently using LPC1347 but,

I have run out of FLASH in my current project,

And I have made a few boards now, I know LPC1347 is M3, and LPC11U37 is M0,

but I cannot find another (available) pin compatible device.

a little worrying, because it really only has SDFileSystem, Serial, and fairly basic I/O !!

I have looked through the supported platforms, but no LPC11U37 :(

Cheers

Ceri

1 Answer

9 years, 9 months ago.

You could maybe use the EA LPC11U35 Quickstart Board Platform for the LPC11U37. These chips are pretty similar, only that the 11U37 has more flash (128 kB) than the 11U35 (64 kB). The RAM memory model is mostly the same, so there should be no problem with heap and stack configuration.

I don't know if the compiler stops the compilation, if flash space overflows, or still produces a bin-file and just throws a warning. If it stops compiling, then you probably could use the mbed-src library (instead of mbed) and just edit the sct-file to setup for the larger flash. Unfortunately sct-file editing has been disabled by the mbed-team in the online IDE, but there's a workaround. You can make a local sct-file (normal text file) on your computer, copy the content of the original sct-file to it and edit it. Then import the new sct-file into an empty program (in the online IDE), delete the original sct-file in the corresponding mbed-src directory and drag the new sct-file from the empty program to the before mentioned directory.

Regards
Neni

Accepted Answer

Thanks, Just tried selecting LPC11U35 in preparation ..

LPC11U35 40.6 Kb (63%) Flash 3.0 Kb Ram LPC1345 51.3 Kb (80%) Flash 3.3 Kb Ram

Both parts have 64K Flash so I don't understand

So I think I will Just order a couple...

By the way.. where is mbed-scr file (I truly am having a BAD DAY)

Cheers

Ceri

posted by ceri clatworthy 30 Mar 2015

LPC13xx is M3 and LPC11U3x is M0, so maybe this is enough for the difference in program size, or maybe LPC13xx is using ARM Standard Library (don't know exactly). I know for sure that for LPC11U3x Microlib is used (that uses less space than STD).

mbed-src is here: http://developer.mbed.org/users/mbed_official/code/mbed-src/

Regards

Neni

posted by Nenad Milosevic 30 Mar 2015