Application requirements
Paulus can only handle application programs in binary format. The Intel-Hex-Format will be supported on request.
Paulus checks the received data by a CRC checksum. Therefore the application program has to have a header. This header can be generated with the tool paulus_cksum and contains the following information:
struct {
UNSIGNED32 length; /* length of the application program */
/* in bytes */
UNSIGNED16 crc; /* crc of the application program */
UNSIGNED16 applicationType; /* reserved */
void (*entry_point)(void); /* application entry point */
} APPLICATION_HEADER_T;
Unused bytes in the application header are set on value 00h.
More Informations to the tool paulus_cksum: Paulus Checksum Tool (Paulus_CRC)