Mbed - blink does not work

I’ve been developing using the mbed online compiler for a while, and now I am doing my first test of platform.io.
I have Seed Arch GPRS V2, which is an LPC11U37 micro, programmed through USB (shows up as a flash drive). I successfully compile a blink program, when I flash the firmware, there is no effect. In fact the board goes back to bootloader, which indicated that the firmware is invalid.

I am using the .pioenvs\seeedArchGPRS\firmware.bin and flashing it onto the board. Is that the right thing to do?

My code:

#include "mbed.h"

DigitalOut myled(LED1);

int main() {
    while(1) {
        myled = 1;
        wait(0.2);
        myled = 0;
        wait(0.2);
    }
}

My platform.ini:

[env:seeedArchGPRS]
platform = nxplpc
board = seeedArchGPRS
framework = mbed

Please open an issue here Issues · platformio/platform-nxplpc · GitHub

ok. I’ve just added an issue there.

At the risk of sounding like a troll, my mbed experiences have been negative.

The people are nice enough, but it seems there just aren’t enough of them. My SAMD21G18A targets used to be supported, but not now. Won’t compile with mbed OS 5.x. mbed folks say target 2.0 - a reasonable, yet disappointing solution. Going back 3.5 years in technology is not encouraging.

Your target seems not far off from that scenario.

Too bad, because the architecture is quite compelling

I mainly write this negative post as a cautionary tale that there may be only so much Ivan can do to ensure you are operational.

1 Like

I would probably agree, However Freescale / NXP targets seem to be amongst the best supported ones.

I am not even using mbed OS, I am just trying to get the 3.5 years old tech to work.
Using a local dev environment would be much nicer than the online compiler, which does work fine.

Ya, if you are Freescale / NXP or STM you definitely feel more mbed love.

Honorable mention goes to Profile - janjongboom - Arm Mbed OS support forum he is one of the most supportive and knowledgeable voices in the mbed OS community

Please run pio update, we updated mbed framework to 5.3.0 a few days ago. Does it work now?

1 Like

No improvement. The board still rejects the firmware.
Can u try compiling for LPC u37 and see if it works?