Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Debug configuration for Arduino Mega and Atmel-ICE #24

Open
Assignees
Labels
@fkromer

Description

It would be great if you could provide instructions about how to configure the Atmel-ICE when using an Arduino Mega. Probably it would make sense to add the configuration as default as well.

The excerpt shown below is from here and allows to debug the ATMega128 in VSCode. The launch.json for the Arduino IDE 2.X should look quite similiar...

{
 "version": "0.2.0",
 "debugServer": 4710,
 "configurations": [
 {
 "name": "atmel-debug",
 "type": "atbackend",
 "atbackendHost": "127.0.0.1",
 "atbackendPort": 4712,
 "request": "launch",
 "program": "${workspaceRoot}/GccApplication2/Debug/GccApplication2.elf",
 "tool": "com.atmel.avrdbg.tool.simulator",
 "device": "ATmega128",
 "launchAttached": true,
 "launchSuspended": true,
 "preserveEeprom": false,
 "bootSegment": 2,
 "cacheFlash": true,
 "eraseRule": 0,
 "useGdb": true,
 "gdbLocation": "C:/Program Files (x86)/Atmel/Studio/7.0/toolchain/avr8/avr8-gnu-toolchain/bin/avr-gdb.exe",
 "progFlashFromRam": false,
 "ramSnippetAddress": "0x20000000",
 "packPath": "C:/Program Files (x86)/Atmel/Studio/7.0/Packs/atmel/ATmega_DFP/1.0.106/Atmel.ATmega_DFP.pdsc"
 }
 ]
}

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /