Debug AtTiny 1614 with IDE 2.0 and AtmelICE?

Hi

A stupid question, but I have not played with this yet :open_mouth:

I am going to play a bit with AtTiny 1614, and thought I would do it while testing IDE 2.0 :slight_smile:
I am using an AtmelISE to program the Tiny. (Got this from a friend, so I am totally starting from scratch :slight_smile:

My question is, if it is possible to debug the tiny, with my AtmelISE and the IDE 2.0?
and if, could anyone help me with the debugger config?

Thanks on advance :slight_smile:
/Graves

The VS Code extension Arduino IDE 2.x uses for the debugger:

Debugging support for ARM Cortex-M Microcontrollers

So that seems a bit discouraging to the idea of getting it working for AVR.

I did find an intriguing statement from the author:

As for supporting other MCUs that are not Cortex-M based - I'm not really opposed to the idea.

but that was three years ago and I don't see that the potential contributor (one of the main PlatformIO people) ended up submitting any PRs that look significant for this particular topic.

Some setup is needed in the boards platform (e.g., megaTinyCore). Unfortunately, this is not documented at this time but you can see how Arduino did it in the Arduino SAMD Boards platform:

If you end up with specific questions about that, I can help out a bit, but I actually haven't been involved in the second iteration of the debug system (I did fully document the first iteration) so I don't know a lot about how it works.

There is some interesting information about someone's investigation into setting up debugging for the Arduino Uno here:

Hi

Thanks :slight_smile:
I will look if I can get it working.

Best Regards
/Graves

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.