Part Programming
3-22
AT89STK-03 Hardware User Guide
7609B–SCR–11/06
Table 3-4.
Programming with bootloader DSU
E2PROM
Interface
Perform the following actions
Comments
Not
present
(AT85 like)
USB
DEMO BOARD CONFIGURATION
- Set the POWER switch in OFF position
-- Connect a USB cable between demo board and PC. If an RS232C cable is
present, the USB interface is selected by default
- Configure the power jumper accordingly to power source wich supplies the
demo board
- 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
PROGRAMMING PART
- Run FLIP
- Select part AT8XC5122
- Establish a USB communication
--->
Results
:
- Bootloader Vers = 1.2.1
- DeviceBoot Ids = 85 04
- Start application buttons is displayed in red colour
- The configuration of the firmware present on the device is displayed :
+ 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
Note
: only lock bit parameter is applicable for this version of the part.
- If a Software Security Error windows comes up, just click OK. This
window just warns that the part security bit is activated. In this case, an
Erase operation is mandatory before programming the part
- Select Erase, Blank check, Program and Verify options if part is running for
the first time, otherwise just select Program and Verify
- Load the code file (Intel hex format) into FLIP buffer
- Click on Run button.
- Click on Start Application button or press the reset switch to execute the
code
Note
: it is necessary to program the part after each power off as the CRAM
is a volatile program memory
- DSU bootloader is supported by FLIP
since version V2.2.0
- There are some areas reserved for
the bootloader. Refer to bootloader
datasheet.
This operating mode is applicable from
FLIP 2.4.0
85 means CRAM version