Atmel Logo

Atmel EDBG-based Tools Protocols
GET

Sidebar Prev | Up | Next

SET/GET parameters

Table 73. AVR32 SET/GET parameters

ContextIDDescriptionAccSize
AVR32_CTXT_USBAVR32_USB_MAX_READMaximum payload for reading is (2^MAX_READ)R1 byte
AVR32_USB_MAX_WRITEMaximum payload for writing is (2^MAX_WRITE)R1 byte
AVR32_CTXT_SESSIONAVR32_SESS_RUN_LED

Sets the RUN indicator

0x00 = stopped

0x01 = running

W1 byte
AVR32_CTXT_PHYSICALAVR32_PHY_PHYSICAL

Selects the physical interface

0x00 = None

0x04 = JTAG

0x07 = aWire

RW1 byte
AVR32_PHY_JTAG_CLOCKJTAG clock frequency [kHz]RW2 bytes
AVR32_PHY_AW_MAXBAUD

Maximum aWire baud [kbps]

Baud rate is configured automatically, but a ceiling value can be set.

RW2 bytes
AVR32_PHY_DAISY

Devices before << 24

Devices after << 16

IR-bits before << 8

IR-bits after << 0

Note that daisy chain settings must be written before activating the JTAG physical.

RW4 bytes
AVR32_PHY_EXT_RESET

Applies or releases the /RESET line:

0x01: pulls the /RESET line to ground

0x01: releases /RESET.

The user is responsible for releasing /RESET after pulling it low in this way.

W1 byte
AVR32_CTXT_DEVICEAVR32_FLASH_CTRL_BASEFlash controller base address [byte address] W4 bytes
AVR32_FLASH_PAGEBYTESNumber of bytes in one flash page.W2 bytes
AVR32_RESET_DOMAINS

Number of reset domains in target device.

Usually 5 for UC3A/B and 1 for UC3C/L.

W1 byte
AVR32_FLASH_PAGESNumber of pages in the flash blockW2 bytes
AVR32_AWIRE_BASEBase address for aWire moduleW4 bytes

Prev Up Next
 Home 
  • Contents
  • Search
loading table of contents...Documentation HomeAtmel EDBG-based Tools Protocols
  • Preface
  • Introduction
    • EDBG interface overview
    • Atmel EDBG-based tool implementations
  • CMSIS-DAP
    • CMSIS-DAP protocol
    • CMSIS-DAP vendor commands
      • AVR-target specific vendor commands
      • ARM-target specific vendor commands
        • Erase pin
        • Serial trace
      • EDBG-specific vendor commands
        • Get configuration
        • Set configuration
        • EDBG GET request
        • EDBG SET request
    • Serial trace commands
      • Set transport mode
      • Set capture mode
      • Set baud rate
      • Start
      • Stop
      • Get data
      • Get status
      • Get buffer size
      • Signon
    • Enveloped AVR commands, responses & events
      • Wrapping AVR commands
      • Unwrapping AVR responses
      • Unwrapping AVR events
  • EDBG Control Protocol
    • Protocol commands
      • QUERY
        • EDBG QUERY contexts
      • SET
      • GET
        • SET/GET parameters
    • Responses
      • OK
      • LIST
      • DATA
      • FAILED
    • EDBGCTRL ID definitions
  • AVR communication protocol
    • Overview
    • Framing
    • Protocol sub-set overview
    • Discovery Protocol Definition
      • CMD: QUERY
      • Discovery QUERY contexts
      • RSP: LIST
      • RSP: FAILED
      • Discovery Protocol ID definitions
    • Housekeeping Protocol
      • CMD: QUERY
      • Housekeeping QUERY contexts
      • CMD: SET
      • CMD: GET
      • Housekeeping SET/GET parameters
      • Housekeeping Commands
        • Start session
        • End Session
        • Firmware Upgrade
        • JTAG scan-chain detection
        • Calibrate Oscillator
      • Housekeeping Responses
        • OK
        • LIST
        • DATA
        • FAILED
      • Events
        • Event: power
        • Event: sleep
        • Event: external reset
      • Hints and tips
      • Housekeeping ID definitions
  • AVR32 generic protocol
    • Protocol commands
      • QUERY
        • AVR32 QUERY contexts
      • SET
      • GET
        • SET/GET parameters
      • Activate Physical
      • Deactivate Physical
      • Get ID
      • Erase
      • Halt
      • Reset
      • Step
      • Read
      • Write
        • Memory Types
      • TAP
      • Is protected
      • Erase Section
    • Responses
      • OK
      • LIST
      • ID
      • PC
      • DATA
      • FAILED
    • Hints and tips
      • Configuration
      • Activate and deactivate physical
      • Programming and debugging commands
    • AVR32GENERIC ID definitions
  • AVR8 generic protocol
    • Protocol Commands
      • QUERY
        • AVR8 QUERY contexts
      • SET
      • GET
        • SET/GET parameters
          • Device context: debugWIRE targets
          • Device context: megaAVR JTAG targets
          • Device context: AVR XMEGA targets
      • Activate Physical
      • Deactivate Physical
      • Get ID
      • Attach
      • Detach
      • Reset
      • Stop
      • Run
      • Run To
      • Step
      • PC read
      • PC write
      • Prog Mode Enter
      • Prog Mode Leave
      • Disable debugWIRE
      • Erase
      • CRC
      • Memory Read
      • Memory Read masked
      • Memory Write
      • Page Erase
      • Hardware Breakpoint Set
      • Hardware Breakpoint Clear
      • Software Breakpoint Set
      • Software Breakpoint Clear
      • Software Breakpoint Clear All
    • Responses
      • OK
      • LIST
      • PC
      • DATA
      • FAILED
    • Events
      • Event: Break
      • Event: IDR message
    • Memory Types
      • debugWIRE memtypes
      • megaAVR (JTAG) OCD memtypes
      • AVR XMEGA memtypes
    • Hints and tips:
      • Configuration
      • Activate and deactivate physical
      • Programming session control
      • Debug session control
      • Flow control
    • AVR8GENERIC ID definitions
  • AVR ISP protocol
    • SPI programming protocol commands
      • SPI Load Address
      • SPI Set Baud
      • SPI Get Baud
      • SPI Enter Programming Mode
      • SPI Leave Programming Mode
      • SPI Chip Erase
      • SPI Program Flash
      • SPI Read Flash
      • SPI Program EEPROM
      • SPI Read EEPROM
      • SPI Program Fuse
      • SPI Read Fuse
      • SPI Program Lock
      • SPI Read Lock
      • SPI Read Signature
      • SPI Read OSCCAL
      • SPI Multi
    • SPI programming protocol responses
    • ID definitions
  • TPI Protocol
    • TPI protocol commands
      • TPI Enter Programming Mode
      • TPI Leave Programming Mode
      • TPI Set Parameter
      • TPI Erase
      • TPI Write Memory
      • TPI Read Memory
    • TPI programming protocol responses
    • ID definitions
  • Document Revisions
 

Search Highlighter (On/Off)