A service tool running on a Pocket PC 2002 PDA (Compaq iPAQ or similar).
The program must offer two functions:
1. Show ongoing serial communication between two electronic units (like HyperTerminal).
2. Process and transmit a hex file to the electronic unit using serial communication.
Scope of delivery:
All source code and executable files.
The program uses the serial COM-port available on the platform.
A window showing ongoing serial communication between two electronic units (ASCII text).
A button that will initiate transmission of binary data from a hex-file stored on the platform to the electronic unit using the serial COM-port on the platform.
When the program is logging/showing the ongoing serial communication then the DTR signal of the COM-port must be disabled. All chars received on the COM-port by the program is displayed in the window of the program (like HyperTerminal from Windows). It should not be possible to transmit any keypresses to the units.
To transfer the contents of a hex-file to the unit the serial COM-port on the platform is used and DTR is enabled. An Intel hex-file is loaded from the memory of the platform and is processed in a manner that results in a 32kb byte-array containing the values specified by the hex-file. The 32kb is transmitted to the unit in 128 byte fragments using a simple protocol consisting of sync-chars, a 4 byte header, 128 byte data and a CRC16 checksum (protocol specification is already available). On each transmitted fragment the program must wait for an acknowledge telegram and retransmit in case of communication faults.
Pocket PC 2002 operating system running on a Compaq iPAQ 3660 or similar.
Sourcecode is preferred to be developed using Embedded Visual Studio C++ og VB.