AT89STK03 Atmel, AT89STK03 Datasheet - Page 27

AT89STK03

Manufacturer Part Number
AT89STK03
Description
Manufacturer
Atmel
Datasheet

Specifications of AT89STK03

Lead Free Status / RoHS Status
Supplier Unconfirmed
Table 3-4. Programming with bootloader DSU
AT89STK-03 Hardware User Guide
E2PROM
Present
(AT89 like)
Interface
RS232C
Perform the following actions
DEMO BOARD CONFIGURATION
- Set the POWER switch in OFF position
- Remove any USB cable connected to the 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 in ON position.
--> Result : PWR ON led is switched on and ALE led is blinking
--> Trouble shooting : Check if 8 Mhz quartz is correctly fitted
PART PROGRAMMING
- Run FLIP
- Select part AT8XC5122
- Select the RS232C communication
- Establish a serial communication with the appropriate COM number and a
baudrate of 115200 baud
---> Results :
- Select Erase, Blank Check, Program and Verify options if part is running for
the first time, otherwise avoid to select Verify command as it is long to
execute
- Load the user code into FLIP buffer
FLIP parses the hex file and automatically updates the buffer’s area from
07FFDh to 07FFFh - No operation is requested from the user, but the user is
free to change the default parameters set by FLIP :
- Click on Run button
updated oln the GUI of FLIP after part programming and according to the
configuration set the FLIP’s buffer from 07FFDh to 07FFFh
bits by checking the box on the GUI if FLIP. They are changed on the fly in
the internal E2PROM by the bootloader.
when the serial communication with FLIP is stopped and not at once like in
USB interface. This is due to a minor bug in the bootloader. When the
protection mode is active it is not possible to read, write and perform any
parameter change. The only way to remove the protection mode is to erase
the part.
- Click on the start application button or press the reset switch or power the
demo board off and on to execute the code
- Bootloader Vers = 1.2.1
- DeviceBoot Ids = 89 04
- Start Application button becomes red
- The configuration of the fimware present on the device is displayed :
+ Size bit = 1
+ User Code Lengh = size of the user’s code
+ Boot Loader Jmp Bit, Lock bit, size bit and User Cod Length are
+ When the part is programmed, it is possible to change the individual
+ Note : when the lock bit is set, the part is set in protected mode only
+ Boot Loader Jump Bit (checked=1, unckecked=0)
+ Lock bit (checked=1, unckecked=0)
+ Size bit (ckecked=1, unckecked=0)
+ User Code Lengh = size of the user’s code
Comments
- Setting hardware condition P3.7=0
during power on or reset will force the
bootloader to enter in ISP mode with
FLIP
- DSU bootloader supports E2P write
functions to program the external E2P.
89 means flash version
Size bit =1 will force the bootloader to
download only the valid code instead
the whole 32K memory. This
decreases the time that the bootloader
needs to run the code.
Part Programming
7609B–SCR–11/06
3-25