Atmega32(l) – Rainbow Electronics ATmega32L User Manual

Page 311

Advertising
background image

iv

ATmega32(L)

2503C–AVR–10/02

ADC Conversion Result.................................................................................... 211

JTAG Interface and On-chip Debug System .................................. 217

Features............................................................................................................ 217

Overview........................................................................................................... 217

Test Access Port – TAP.................................................................................... 217

TAP Controller .................................................................................................. 219

Using the Boundary-scan Chain ....................................................................... 220

Using the On-chip Debug System .................................................................... 220

On-chip Debug Specific JTAG Instructions ...................................................... 221

On-chip Debug Related Register in I/O Memory .............................................. 222

Using the JTAG Programming Capabilities ...................................................... 222

Bibliography ...................................................................................................... 222

IEEE 1149.1 (JTAG) Boundary-scan ............................................... 223

Features............................................................................................................ 223

System Overview.............................................................................................. 223

Data Registers .................................................................................................. 223

Boundary-scan Specific JTAG Instructions ...................................................... 225

Boundary-scan Chain ....................................................................................... 227

ATmega32 Boundary-scan Order..................................................................... 237

Boundary-scan Description Language Files ..................................................... 241

Boot Loader Support – Read-While-Write Self-Programming ...... 242

Features............................................................................................................ 242

Application and Boot Loader Flash Sections .................................................... 242

Read-While-Write and no Read-While-Write Flash Sections ........................... 242

Boot Loader Lock Bits....................................................................................... 244

Entering the Boot Loader Program ................................................................... 245

Addressing the Flash during Self-Programming ............................................... 247

Self-Programming the Flash ............................................................................. 248

Memory Programming...................................................................... 254

Program And Data Memory Lock Bits .............................................................. 254

Fuse Bits........................................................................................................... 255

Signature Bytes ................................................................................................ 256

Calibration Byte ................................................................................................ 256

Parallel Programming Parameters, Pin Mapping, and Commands .................. 257

Parallel Programming ....................................................................................... 259

SPI Serial Downloading .................................................................................... 268

SPI Serial Programming Pin Mapping .............................................................. 268

Programming via the JTAG Interface ............................................................... 272

Electrical Characteristics................................................................. 284

Absolute Maximum Ratings*............................................................................. 284

DC Characteristics ........................................................................................... 284

Advertising