Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to program your mbed board using Keil uVision instead of the online compiler

-
Create a new project in Uvision and then open the project properties

write fromelf --bin -o @L.bin !L in the "run user program after build" command.
This command generates the bin file from the elf file


Create a MBED_Flash.bat with the following content and place it in the project folder
Code:
:Batch file for copying to MBed
:argument 1: .bin output file
:argument 2: MBed root directory
copy %1 %2

Now set the following dialog to use the bat file and write in the arguments @L.bin E:\ where E:\ is the mbed drive


Now when you press compile the bin file will be created in the project folder and when you press download the bin file will be copied to to the flash drive

That's it, press reset to see the code running

Comments

There are no comments to display.

Part and Inventory Search

Blog entry information

Author
alexan_e
Read time
1 min read
Views
1,239
Last update

More entries in Uncategorized

More entries from alexan_e

Share this entry

Back
Top