0% found this document useful (0 votes)
34 views14 pages

Micro8051S - Software User Manual

The Micro8051S Software User Manual provides instructions for setting up and using the Micro8051S development board, including software installation, project creation in Keil IDE, and programming the microcontroller using the SST Flash Flex utility. Key steps include creating a new project, adding code files, building the project to generate a HEX file, and programming the microcontroller via USB. The manual also covers how to find and change the COM port number for proper communication with the device.

Uploaded by

PRASAD JOSHI
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views14 pages

Micro8051S - Software User Manual

The Micro8051S Software User Manual provides instructions for setting up and using the Micro8051S development board, including software installation, project creation in Keil IDE, and programming the microcontroller using the SST Flash Flex utility. Key steps include creating a new project, adding code files, building the project to generate a HEX file, and programming the microcontroller via USB. The manual also covers how to find and change the COM port number for proper communication with the device.

Uploaded by

PRASAD JOSHI
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

Micro8051S Software User Manual 2018

MicroEmbedded Technologies.

Micro8051S
Development Board Software User Manual

©MicroEmbedded Technologies. Pune. Page 1


Micro8051S Software User Manual 2018

8051 Development. .................................................................................................3

Software‟s to be installed. ....................................................................................................... 3

Keil IDE for 8051 Development ..........................................................................4

1. Creating a New Project. ................................................................................................... 4

2. Adding Files to Project. .................................................................................................... 6

3. Building the project and creating the HEX file. ............................................................ 8

Using the SST Flash Flex Utility .......................................................................11

Finding the COM Port Number . ......................................................................................... 11

Programming the Hex File USING SST Flash Flex. .......................................................... 12

Changing the COM Port Number. ...................................................................................... 14

©MicroEmbedded Technologies. Pune. Page 2


Micro8051S Software User Manual 2018

8051 Development.

Software’s to be installed.
The software CD provided by Microembedded Technologies contains the software
which need to be installed on the PC by the user.
1) Keil IDE for program development and creating output HEX file.
c51v812.exe (uVision 2) located in Keil folder.
Right click on the executable and RUN as administrator.

2) USB to Serial Drivers .


CDM v2.08.30 WHQL Certified.exe is located in the USBtoSerial folder.
Right click on the executable and RUN as administrator.

3) SST Flash Flex utility to download the HEX file to the Microcontroller.
SSTFlashFlex51 Rev 6.0.exe is located in the SST Flash Flex folder.
Copy and paste SSTFlashFlex51 Rev 6.0.exe on the Desktop.

©MicroEmbedded Technologies. Pune. Page 3


Micro8051S Software User Manual 2018

Keil IDE for 8051 Development

1. Creating a New Project.


 Create a folder on the PC drive and give it appropriate name.
 Now click on the Keil uVision3 icon and start the IDE.

 To create the project now go to the Project Tab


 Click on New uVision Project

©MicroEmbedded Technologies. Pune. Page 4


Micro8051S Software User Manual 2018

 A new Create New Project window will show. Save the project in the folder and
give the project a name.

 Click Save.
 A new window for Select Device for Target „Target 1‟ will appear.
o Select SST  SST89X516RD2 as the device.

 If your project has „C‟ code files then click YES for Copy Standard 8051 Startup
code else for „assembly „ code then click NO.

 Now the project is created and you can start to add your code.

©MicroEmbedded Technologies. Pune. Page 5


Micro8051S Software User Manual 2018

2. Adding Files to Project.


To add code files to the project.
 Go to File  New .

 A new file will be created in the editor window.


 Save this file in the same folder with the extension of filename.asm or
filename.c.
 Now to add this file to the project right click on Source Group 1Add files to
Source Group 1.

©MicroEmbedded Technologies. Pune. Page 6


Micro8051S Software User Manual 2018

Make sure that if you want to add a „asm‟ file then select „Asm Source File
(*.s,*.asm)’ from the File of Type drop down menu.

Select the file and click Add button to add file to the project.

 Now you can start writing your source code into the file.

©MicroEmbedded Technologies. Pune. Page 7


Micro8051S Software User Manual 2018

3. Building the project and creating the HEX file.


 Certain settings are to be made to the project in order to simulate the code
correctly and also to generate the HEX file which will be downloaded into the
Microcontroller flash memory.

 Now click on the icon for Options for Target at the left side of the Target 1
menu.
 The Options for Target „Target1‟ window will open.

 In the Target Tab , in Xtal (MHz): change the value to 11.0592 (which is the value
of the crystal on our board).
 In the Output Tab , select the Create HEX File option.

©MicroEmbedded Technologies. Pune. Page 8


Micro8051S Software User Manual 2018

 Click “OK”.
 Now you can complete your code and SAVE it .

©MicroEmbedded Technologies. Pune. Page 9


Micro8051S Software User Manual 2018

 To compile / Build the code, go to Project  Build target.


(make sure that Target 1 is selected in the Project Workspace window)

 If there are no errors in the code then the project will be built successfully and the
hex file will be created.

©MicroEmbedded Technologies. Pune. Page 10


Micro8051S Software User Manual 2018

Using the SST Flash Flex Utility


The SST Flash Flex utility tool is used to program the hex file into the Flash memory of
the SST 89x516RD2 Micro Controller.

 After the hex file is successfully created , right click on the SSTFlashFlex Icon and
run the utility in Admin Mode (admin mode is necessary for the utility to access
the serial port of the computer)
 Connect the Micro8051F board (CN1) to the computer using the USB cable.
 Power on the board using the 12V power adaptor.

Finding the COM Port Number .


 Right click on My Computer  Manage.
 The Computer Management window will open.

 Click on Device Manager  Ports (COM and LPT)


 Check for the USB Serial Port number assigned by the system.

©MicroEmbedded Technologies. Pune. Page 11


Micro8051S Software User Manual 2018

Programming the Hex File USING SST Flash Flex.


 When you run the SST Flash Flex utility it will open the application.

 Now Keep pressing the RESET switch on the board.


 To set the COM port and Device options , click Options Tab.

 Select Chip Type as SST89E/V516RD2


 Using the drop down menu select the Comm Port.

©MicroEmbedded Technologies. Pune. Page 12


Micro8051S Software User Manual 2018

o If the Com Port assigned is greater than COM5 change it to less than
COM5 as the SST Flash Flex Utility does not support above 5.
 Now press OK button and release the RESET switch.

 The IAP status must show Detect target MCU is successful and the device
information will be displayed.
 Now click the Download button in the IAP function section. It will open a
Download hex or Binary file in to flash window.

 Browse the hex file to be downloaded and click OK.


 The next window will inform that the corresponding sectors will be erase.
Proceed to download ? Click Yes.
 If the download is successful it will show a done report .

 Now Press RESET switch to run the program.

©MicroEmbedded Technologies. Pune. Page 13


Micro8051S Software User Manual 2018

Changing the COM Port Number.


 The SST Flash Flex utility can recognize only COM1 to COM 6.
 Sometimes the computer assigns the number greater than 6.
 Hence we need to change this number so that we can use the SST Flash Flex .
 To change the COM port number
o Right Click My Computer Manage  Device Manager.
o Now right click on USB Serial Port (COM x)

o Go to Properties  Port settings tab  Advanced.


o Now in the next window go to COM Port Number and change it .

 Click OK.

©MicroEmbedded Technologies. Pune. Page 14

You might also like