This application note describes the download protocol implemented on the ADuC7034 (Protocol 4) to enable users to develop their own LIN programming tools either for series production programming or for application updates.
This document details the in-circuit code download protocol implemented on the ADuC7034 microcontroller via the LIN communications bus, specifically focusing on Protocol 4. It explains how to enable unattended downloads by entering loader mode and defines the requirements for user code to facilitate this process securely.
| LIN Baud Rate | 19.2 k baud |
|---|---|
| Data per Packet | 8 bytes |
| Download Speed | 30,000 bytes in 35.9 secs |
| Flash/EE Memory Location | 0x00080000 to 0x000877FF |
The device enters loader mode if NIRST is low during reset and the content of Flash/EE memory at Address 0x00080014 is not 0x27011970 or the Page 0 checksum.
The L command is used to enter LIN download mode after the secure write PID is assigned.
PIDs are assigned by sending a LIN diagnostic frame with a PID of 0x3C containing the NAD, PCI, SID, and supplier ID.