Use Keil C to Complie 8051 Program, and Write to ROM
1. Create New Project
Project -> New Project
2.Select Device for Target
A. Choice "Data Base Contact" belong your MicroControl Chip
(we use Atmel. AT89C52)
B. Set "Optionals for Target"
->[Target]->[Xtal] , [Output]->[Create HEX File]
3.Write the C Code
4.bulid Project
5. Open Chip-Writer Program
6. Set the Chip Type
7. Load .Hex Code
8. Test Board switch to Write-Mode and Trun On
9. Write to ROM
10. Reset Borad in Use-Model to Test Program
1. Create New Project
Project -> New Project
2.Select Device for Target
A. Choice "Data Base Contact" belong your MicroControl Chip
(we use Atmel. AT89C52)
B. Set "Optionals for Target"
->[Target]->[Xtal] , [Output]->[Create HEX File]
3.Write the C Code
4.bulid Project
5. Open Chip-Writer Program
6. Set the Chip Type
7. Load .Hex Code
8. Test Board switch to Write-Mode and Trun On
9. Write to ROM
10. Reset Borad in Use-Model to Test Program
留言