Hardware Debug: Command and Configuration Reference for Bloom and gdb

0 minute read

Reference page for Bloom configuration and commonly used avr-gdb commands.

Sources

Bloom Configuration

Atmel ICE Debugger Configuration

environments:
  default:
    debugTool:
      name: "atmel-ice"

    target:
      name: "atmega328p"
      physicalInterface: "debug-wire"
      disableDebugWirePreDisconnect: false
      manageDwenFuseBit: true
      variantName: "atmega328p-pu"

    debugServer:
      name: "avr-gdb-rsp"
      ipAddress: "127.0.0.1"
      port: 1442

insight:
  enabled: true

avr-gdb Configuration

.gdbinit

set history save on
set history size 10000
set history filename ~/.gdb_history

file main.elf
target remote :1442
set listsize 0

define cll
make 
load main.elf
mon reset
refresh
list
end

Comments powered by Talkyard.