Part Programming
3-24
AT89STK-03 Hardware User Guide
7609B–SCR–11/06
Not
present
(AT85 like)
RS232C
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
- 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 AT8XC5122 part
- Select a RS232C communication
- Establish a serial communication with the appropriate COM number and a
baudrate of 115200 baud
--->
Results
:
- Bootloader Vers = 1.2.1
- DeviceBoot Ids = 85 04
- Start Application button becomes red
- 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 as Verify command is long to
execute
- 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
- Versions of FLIP equal or greater
than 2.1.1 do not support RS232C
interface for at8xc5122 device. A
workaround consists to select part
at89c51rc2 and RS232C interface.
- Bootloader DSU only supports a
baudrate of 115200 baud for RS232C
interface.
85 means CRAM version
Table 3-4.
Programming with bootloader DSU
E2PROM
Interface
Perform the following actions
Comments