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.
8 years, 2 months ago.
mbed board and exporting
Hi
I am trying to work with mbed and find its capability . I have a basic question .
first of all , is it mandatory to have a mbed board to flash the bin file to board or it is possible to use mbed compiler and flash the output file to any board with the selected mcu ?
for example I used the blinky bin file for lpc1768 created by mbed and downloaded it to my designed lpc1768 board but it will not blink the p1.18 led .
my second question is about exporting to keil , I exported the lpc1768 blinky project to uvision 4 and 5 but none of them works uvision 4 can not open the blinky uvproj file and uvision 5 will open it but can not find many files like mbed.h and it is because the parameters of option for target (like included path is not set in the keil .
does any body knows about the above questions ?
thanks a lot
1 Answer
8 years, 2 months ago.
You can flash the bin with any programmer. Check your hardware to make sure it works.
As for question 2 , it looks like exporting to may toolchains needs some end-user configuration. You probably have to download the mbed lib from GitHub and add it to your project or edit the linker to add mbed.lib.
I did not get the answer for first question correctly , you know I have a lpc1768 header board that have only mcu and some other part for programming and running the lpc1768 . when I flash keil blinky , it works . But when I flash the mbed blinky file it does not work . So , should I do special activity in mbed online compiler ?
about the second question , I dont know how to set the end user configuration . Do you have a sample of mbed file exported to keil that has the necessary setting and works and send it to me ?
thank you very much
posted by 30 Aug 2016