Part Programming
3-20
AT89STK-03 Hardware User Guide
7609B–SCR–11/06
Present
(AT85 like)
RS232C
interface
DEMO BOARD CONFIGURATION
- Set the POWER switch in OFF position
- Remove any USB cable connected to demoboard
- Connect a RS232C cable between demo board and PC
- Configure the power jumper accordingly to power source wich supplies the demo
board
- While holding down the ISP switch, set the POWER switch to the ON position.
-->
Result
: PWR ON and ALE leds are switched on
-->
Trouble shooting
: Check if 8 Mhz quartz is correctly fitted
PROGRAMMING EXTERNAL E2P
- Run FLIP
- Select part at88c51rc2
- Select a RS232C communication
- Establish a serial communication with the appropriate COM number and a
baudrate of 115200 baud
--->
Results
:
- Bootloader Vers = 1.2.0
- DeviceBoot Ids = 00 03
- Start Application button becomes red
WARNING : Don’t care about and don’t change the other available options
except the reset option close to the start application command
- Select Erase, Blank Check, Program and Verify options if part is running for the
time, otherwise avoidto select Verify command as it is long to execute
- Load the user code into FLIP buffer
- Edit FLIP buffer
- Configure the area from 07FFD to 07FFF according to the wanted options (Refer
to bootloader datasheet). A common configuration is :
07FFD = 08h
07FFE = MSB (user code size)
07FFF = LSB (user code size)
- Select Whole buffer in buffer options menu
- Click on Run button
- Select reset option (if this option is not selected, the user code is not executed)
- Click on the start application button to execute the user code
- Check if E2P code is correctly executed after a power on or reset operation
- Setting hardware condition
P3.7=0 during power on or reset
will force the bootloader to enter
in ISP mode with FLIP
- DRV bootloader supports E2P
write functions to program the
external E2P.
Table 3-3.
Programming with bootloader DRV
External
E2P
Interface
Perform the following actions
Comments