File .bin don't put itself on mbed when run program

I have a mbed LPC1768. In Mbed studio when I connect my mbed using USB it show me on the “Target” my card but when I click on “run program” the file *.bin don’t go itself on my mbed. I have to go to the project file then copy the *.bin file and paste it into my mbed driver.

When I click on “Run program” the file is generated in the “BUILD” folder

I thing it’s because of this problem that I can’t use the serial monitor

Can someone help me please ?

Here Is the program

#include "mbed.h"
#include "Serial.h"
#include <cstdio>

Serial pc(USBTX, USBRX);

int main()
{
    while (true) {
        pc.printf("Hello World");
    }
}

Hello,

When do not know how correctly describe your issue, then use a picture. One picture can tell more than thousands of words.

To your issue.
According to this info it should work, so you probably need just firmware update

BR, Jan

1 Like