Skip to content

Conversation

@stefanrueger
Copy link
Collaborator

@stefanrueger stefanrueger commented Nov 7, 2025

This PR disassembles the elpm/eijmp/ecall opcodes for all XMEGAs.

Although technically the elpm opcode is only necessary for parts in excess of 64 kB flash, and eijmp/eicall will only be needed when flash exceeds 128 kB, all XMEGAs irrespective of size seem to have the RAMP[XYZ] and EIND registers. Sample code provided by Microchip (eg, AN8070 on self-prgramming XMEGAs) uses the elpm opcode throughout as do bootloaders for XMEGAs that use this sample code, eg. xboot.

@mcuee mcuee added the enhancement New feature or request label Nov 7, 2025
@stefanrueger stefanrueger changed the title Disassemble elpm/eijmp/ecall for all XMEGAs Disassemble elpm/eijmp/eicall for all XMEGAs Nov 8, 2025
@stefanrueger stefanrueger merged commit ab1ae79 into avrdudes:main Nov 12, 2025
15 checks passed
@stefanrueger stefanrueger deleted the elpm branch November 12, 2025 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants