Analog Devices AN-881 Flash/EE Memory Programming via LIN Protocol 4 Application Note

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.


Analog Devices AN-881 Flash/EE Memory Programming via LIN Protocol 4 Application Note - cover page
Brand
Analog Devices
Category
microcontrollers
Document type
Application Note
Language
English
Pages
8
File format
PDF
File size
166 KB
Published
03 August, 2012
Updated
30 September, 2023
MD5 checksum
CA4349D5202D7DAB6CF633DE006F57DA

About this manual

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.

What's inside

  • Introduction
  • Running the ADuC7034 Loader
  • User Code and System Code Requirements
  • Assigning PIDs via LIN
  • LIN Download Protocol Commands
  • Secure Write Frames

Specifications

LIN Baud Rate19.2 k baud
Data per Packet8 bytes
Download Speed30,000 bytes in 35.9 secs
Flash/EE Memory Location0x00080000 to 0x000877FF

Frequently asked questions

How is the ADuC7034 entered into download mode?

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.

What is the purpose of the L command?

The L command is used to enter LIN download mode after the secure write PID is assigned.

How are PIDs assigned via LIN?

PIDs are assigned by sending a LIN diagnostic frame with a PID of 0x3C containing the NAD, PCI, SID, and supplier ID.

Download PDF (166 KB)

More Analog Devices Manuals


View all Analog Devices manuals →