MANUAL IM635
Firmware and Drivers
Page 38
8.
Firmware and Drivers
8.1.
Updating Device Firmware via Serial Port
The internal bootloader allows for downloading and programming of the unit via an RS-232 serial port. It features
a simple command-line interface, and supports downloading of standard Intel HEX format files that contain
application Program Code memory (flash), Configuration memory settings, and Data memory (EEPROM)
initialization sections.
The bootloader supports transfers using the XMODEM-CRC protocol, so it can be used with any standard terminal
emulator software such as Windows Hyperterminal. By default, transfers are done with a serial rate/format of
115200N81.
Requirements:
A terminal emulator that supports XMODEM-CRC transfer (ex. Windows HyperTerminal, Tera Term)
Valid HEX programming file (19311459xxx.HEX), where ‘xxx’ represents the specific file/revision.
Note: any CRC and version numbers displayed will change depending on the actual data file used.
To get into bootloader mode, use the command RUN LOADER from the main application command prompt.
API Weinschel Model xxxxx Vx.xx
firmware: 19311459xxx
>run loader
When the bootloader executes in 'loader' mode, you should see a sign-on message similar to:
>run loader
Weinschel core18K loader V0.01
firmware: 19311459301x
osc stat: 00000011
:
The loader uses the ':' colon character as it's prompt. Because of program space constraints of the bootloader,
there are minimal messages and responses to most commands. A '#' character indicates an error was detected.
Other status messages are typically issued in the form:
stat: 11000000
The commands to the bootloader are short two or three ASCII character sequences, and can be either upper or
lowercase. A simple line-editor allows the use of the BACKSPACE key, and commands are executed when a
carriage return (CR) is detected. Commands include: