LOGIN
Claran Martis
27
Community Expert
Electronics and Communications Engineer | Founder CVision (Project Leader)
 · MangaluruIndia
Share
Report
Get Link
TUTORIAL

Loading the Code

By now you must have got familiar with Keil, software used to write and the code for the ARM microcontroller and obtain the HEX code. If you are not familiar with Keil, Following are a couple of tutorials which I recommend you to go through
Getting Started: Part 1, Part 2

Once we are ready with the HEX code, It’s time to load it into the microcontroller. we use Flash Magic for this purpose.
You could download it here

Steps to follow

  1. Open Flash Magic and ensure that the right device, correct COM port and crystal frequency is selected.

  1. If you do not know the COM port, open device manager either by searching for it using the search option or through the control panel.

  2. Connect your device now and find the newly added USB Serial Port and note the COM number. COM3 in my case.

  1. Set the other options as follows:

Baud rate: 9600
Interface: None (ISP)
Check the Erase blocks used by HEX file option

  1. Browse for the created HEX file in the project folder.

  2. Click on Start and wait till the process is complete.

  3. Now your code starts executing on the microcontroller.

2 likes 
Like
Award Contribution
Leave a reply...
DISCOVER
CHAT
ALERTS
DISCUSSIONS
FEED
New Post
Start Project
Online Users
Share Link
Help