Download Kameleon - K-Team

Transcript
APPENDIX C
HOW TO DOWNLOAD CODE
1 2 3 4 5 6 7 8
OFF
To download user application code into RAM, please operate as following:
• Set your environment as illustrated in section 5.2. The jumpers must be set
as showed in figure 29, to obtain the running mode 5 (for more details on
running modes please refer to section 3.1.5).
Figure 29: Settings of the jumpers for downloading code at 38400 baud.
• Power supply the Kameleon board.
• Start on your host computer a terminal emulator with the serial line set to
38400 Baud, 8 bit data, 1 start bit, 2 stop bit, no parity.
• Type run sloader followed by a carriage return or a line feed.
• Send the S format file containing your application.
• As soon as the application is loaded, the application is executed.
To download user application code into the FLASH, please operate as following:
• Set your environment as illustrated in section 5.2. The jumpers must be set
as showed in figure 29, to obtain the running mode 5 (for more details on
running modes please refer to section 3.1.5).
• Power supply the Kameleon board.
• Start on your host computer a terminal emulator with the serial line set to
38400 Baud, 8 bit data, 1 start bit, 2 stop bit, no parity.
• Type flash E followed by a carriage return or a line feed.
• Type sfill followed by a carriage return or a line feed.
• Send the S format file containing your application.
• As soon as the application is loaded, type flash W. This write your application in FLASH memory.
32