Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 11 months ago.
Compiler just outputs a file to the DL folder.. What have I missed?
Totally new to mbed...
I have brand new STM32L152 card plugged into the Macs USB, and selected in the mbed editor (chrome). I try the compiler (simple hello world "disco" and a serial example). I have a serial app running (cool term) It says "connected"
I compile, no error messages, But the only visible result is that the compiler makes a file into my download folder..
I have no way to figure out if anything has gone to the card, like a meny selecting a USB port with a message that the card is actually connected..
Since I don´t get any response on the LEDs changing with button presses, I guess there has been no magic.. So what am I missing here? Do I need additional software to actually get the compiled file into the card?? Drivers? Anything??
In all help section is states that the enviroment is "stand alone".just press compile....
Please help
1 Answer
7 years, 11 months ago.
Hi Stig,
Sorry for the issues you are having, hopefully i can clear a few things up.
You have done all the correct steps, but have missed the final step.
If you follow to: https://developer.mbed.org/handbook/Creating-a-program
You will that after hitting compile you need to drag and drop the downloaded .bin file to the mass storage MBED drive that enumerates on your pc
Quote:
4. Compile and Download the Program
To compile the program, click the Compile button in the toolbar. This will compile all the program source code files within the program folder to create a binary program.
- After a successful compile, you will get a "Success!" message in the compiler output and the download dialog will pop up. Save it to the location of the mbed Microcontroller drive, and then hit reset on the microcontroller to start it running!
- If there are errors, they will show up in the "Compiler Output" window, and will need to be fixed!
If you need any other help, please don't hesitate to ask :)
Best Regards,
Andrea, team mbed