10 years, 7 months ago.

Pin defines not working

I have Just got my LPC800 MAX,

I have attempted to make the 'blinky' program to work, but cannot compile it with any PIN, as O/P

I have tryed, amoungst other things:

DigitalOut myled(LED1);
DigitalOut myled(PIO0_16);
DigitalOut myled(P0_16);

DigitalOut myled(pio0_16);
DigitalOut myled(p0_16);

and a few other.

Thanks in advance,

Ceri

Question relating to:

I started a new project, same as always, also copied your example?

It is almost as if I do not have permission!!!

Ceri

posted by ceri clatworthy 16 Sep 2013

Hmm, the lpc812 shows up on your profile as one of your processors. Could you just test compiling for the lpc812 on any other existing project.

posted by Wim Huiskamp 16 Sep 2013

Hi Ceri. Is this working now? and were you (are you) using the betamode?

posted by Stephen Paulger 17 Sep 2013

I believe I am in BETA-MODE, I have changed the pattern of flashing LEDs,
Also, just connected FTDI serial adaptor, to board, and it is sending out serial :)
NOT USB port - YET ..

Ceri

posted by ceri clatworthy 17 Sep 2013

2 Answers

10 years, 7 months ago.

P0_16 should work. Did you include mbed.h See also my reply on lpc812 lpcxpresso notebook page

10 years, 7 months ago.

Just got the LPC800 program to compile, (the same one from last night),

but I think I have 'BRICKED' my new board,

it no longer appears as MBED-disk drive, Some how, i think i have re-flashed the magic chip, with "HelloWorld_800MAX.bin"

And i cannot find the you need to update the firmware to .. 0200

AAAAAAARRRRRRRRRRGGGGGGG

WOW....
not like me, but I saved the original firmware.bin file !!!
MBED drive up again (phew !!)

how small are those jumpers to allow serial !!!!

Ceri

posted by ceri clatworthy 17 Sep 2013

I'm having the same problem... the mbed drive no longer showing up after an attempt to upgrade to the latest firmware (2.0). I can still always manage to mount the CRP DISABLED disk by holding reset, but all attempts to re-flash the 2.0 firmware result in the same outcome. I did not save my original firmware.bin file... If that is all it takes to restore the functional mbed disk, perhaps someone could post that original to the thread here? If the problem is more serious, please let me know.

Thanks,

posted by Jon Sharp 10 Oct 2013