10 years, 4 months ago.

Problem on the exported Hello World program (LPC1768)

The exported Hello World program can be built and programmed into LPC1768. But LED not blink as expected after reset.

Platform: a development board with LPC1768 Steps: 1) Exported from Online Compiler OK. 2) Keil MDK can open the exported project and build OK 3) Project options verified OK (by comparing to another project with work with the development board) 4) Program the code in the board and reset.

The LED doesn't blink as expected.

I assumed that code generated with mbed can be run on LPC1768, is it true? If it is true, anything I missed to cause the problem?

Are you talking about the mbed development board you program again with the code, or another one? If it is another one, are you sure you have the correct LED pin?

posted by Erik - 30 Dec 2013

1 Answer

Paul Chow
poster
10 years, 4 months ago.

No, it is no mbed development board.

You are right. I need to check if the LED pin mapping is the same.

I will check if it is the cause.

Most likely it won't be. In case you aren't aware of it, for the LPC1768 you can also address pins as P0_1, for pin 1 of port 0 (since the normally numbered pins don't include all of them).

posted by Erik - 30 Dec 2013