Configuring Keil uVision IDE for the MAX7651 EVKIT
Abstract: This article gives a step-by-step procedure for starting a project and configuring the Keil uVision IDE software for the MAX7651 EVKIT. It is the second of a three-part application example for writing, compiling and downloading a simple program to the MAX7651 EVKIT target board.
Download and install the Keil DK-51 demo software at www.keil.com unless it was installed previously as a step in Performing ADC conversions using the MAX7651. Note: Please verify that you are using version 7.08 or later. The procedure for the software installation is outlined in the MAX7651 Quick Start Manual.
Open Keil uVision 2 by clicking on the Keil icon on your desktop or by opening the software in the Windows START menu.
Open a new project in the Keil uVision IDE Software
Select a new folder and give the project a name.
Select MAX7651 target in the database under Maxim -> MAX7651. Click OK.
Click Yes, to "Copy Standard 8051 Startup Code to Project Folder and Add File to Project".
Right Click on Target 1 -> Source Group 1 and Add files to Source Group 1.
Set Target Options. Click on the icon to the left of Target drop down box. Click on the Target Tab. Configure the Target for an 11.0592MHz crystal, select Use On-Chip ROM (0x0-0x3FFF), specify Off-chip Code Memory to Start at 0x4000 with a size of 0x8000 and Off-Chip Xdata memory to Start at 0x0 with a Size of 0x8000.
Set output options. Click on Create HEX file.
Set Debug Options. Check the Use Simulator option.
Click OK to accept option changes.
In the Project Menu, Select Rebuild all Target Files. The Program should compile.
If you do not have the MAX7651EVKIT and/or wish to run the program using the Keil uVision simulator, click on the Debug Menu, and Start the debug Session. Click OK for the warning of evaluation version. Select View Menu and click on Serial Window #1. Select the Debug Menu and click on Go. The program will execute and perform Analog to Digital conversions on all 8 channels.
의견을 보내주세요! 위 내용이 도움이 되셨나요? 여러분의 의견을 기다립니다 — Maxim은 보내주신 정정이나 제안사항을 반영하고 있습니다.
이 페이지를 평가하고 의견을 보내주십시오.