Section 1 Introduction The purpose of this section is to acquaint the user with the Atmel CAN Demo Board, the In-System Programming tool (FLIP), the 2 demonstration programs: CAN Generator and CAN Monitor, and finally with the 2 bootloaders (CAN and UART).
Section 2 Getting Started The purpose of this section is to acquaint the user with the Atmel CAN Demo Board, the In-System Programming tool (FLIP), the 2 demonstration programs: CAN Generator and CAN Monitor, and finally with the 2 bootloaders (CAN and UART).
FLIP supports In-system programming of Flash C51 devices through RS-232 and CAN (with a dongle). The latest version of FLIP software can be found on the Atmel web site. The CAN CD-ROM includes a copy of FLIP 2. The following figures were assembled with Flip 2.2.4.
CAN Demo board through an RS-232 cable as illustrated in Figure 3-1. Bootloader Demonstration Setup Figure 3-1. PC to CAN Demoboard Through RS-232 RS-232 8~15V DC Serial Cable Power Supply PC running FLIP AT89STK-06 Software Demonstration Guide Rev. 4356C–CAN–07/05...
3.1.1 Hardware 1. Connect a 9 volts DC power supply. Connection 2. Connect the AT89STK-06 to the PC through the RS-232 cable. 3. Ensure a AT89C51CC03U-SLSIM is connected to the AT89STK-06. 3.1.2 Setting the CAN microcontrollers come pre-programmed to start in Bootloader mode at first power- Hardware Condition up.
Page 8
Software Demonstrations 2. From the Device Menu, choose Select and select the device (AT89C51CC03) that is connected on the AT89STK-06. Figure 3-3. FLIP Window With Device Selected 3. From the “Settings” menu, select “Communication” and “RS232”. The following pop-up window appears and allows to select the COM port settings and Baud Rate.
Page 9
Software Demonstrations Note: On certain laptops, it is necessary to perform the following procedure. Click ‘Connect’, reset the AT89STK-06, then click ‘Sync’ (For detail information, see FLIP user’s manual). Figure 3-5. Succesful Connection on FLIP 5. In the File menu, select ‘Load HEX’ and choose the demonstration program ‘can_gen.hex’.
Page 10
Software Demonstrations To view the CAN messages transmission, the AT89STK-06 can also be connected to a standard RS232 terminal (like Hyperterminal). The Hyperterminal should be configured as presented in the following figure. Figure 3-6. RS232 Configuration AT89STK-06 Software Demonstration Guide...
Page 11
Software Demonstrations The following messages will appear on the RS232 terminal Figure 3-7. CAN Generator RS232 output 3-10 AT89STK-06 Software Demonstration Guide 4356C–CAN–07/05...
AT89C51CC03CA-SLSIM microcontroller through a CAN bus to a second demoboard that will display the results on the UART. If you use a CAN Dongle other than Atmel CAN go directly to Section 3.4 “CAN Boot- loader Demonstration Program”.
Page 13
4. Connect the RS-232 cable to your PC and to the DB9 female port on the C51 demo board. 5. Connect the CAN bus to the Atmel Dongle on both CAN boards. See Figure 3-9. 3-12 AT89STK-06 Software Demonstration Guide...
Demonstration Program 1. From the FLIP window, click ‘Device’ and select ‘AT89C51CC03’. 2. From the ‘Settings’ menu select ‘Communication’ –> ‘CAN’ and choose the type of Dongle you are using. (See FLIP user’s manual) AT89STK-06 Software Demonstration Guide 3-13 4356C–CAN–07/05...
Page 15
5. Click ‘Run’ on the FLIP window. The CAN Generator program is successfully programmed. We will now program NNB and CRIS to different values. 6. Click the ‘’Set CAN Node’ tab. The CAN Node Configuration dialog is displayed. 3-14 AT89STK-06 Software Demonstration Guide 4356C–CAN–07/05...
The UART displays the content of any incoming messages on a RS232 Terminal (2400 bauds for XTAL frequency at 12MHz). The ADC demonstration program can be used with AT89C51CC03, T89C51CC01, T89C51CC02, and AT89C51AC3, T89C51AC2, T89C5115. AT89STK-06 Software Demonstration Guide 3-15 4356C–CAN–07/05...
Page 18
Message Identifier mapping. Using AT89C51CC03U with UART bootloader and AT89C51CC03C with CAN boot- loader, the same demonstration programs can be run on T89C51CC01. This illustrates the full compatibility between AT89C51CC03 and T89C51CC01. AT89STK-06 Software Demonstration Guide 4-17 Rev. 4356C–CAN–07/05...
Page 19
Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN ATMEL’S TERMS AND CONDI- TIONS OF SALE LOCATED ON ATMEL’S WEB SITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY...
Need help?
Do you have a question about the AT89STK-06 and is the answer not in the manual?
Questions and answers