I am trying to debug an object file from a bootloader (ELF file flashed at 0x1E000) using Atmel Studio 7.0.1645 and and AVR Dragon probe (JTAG).
I have programmed the fuses, the content of Flash and the content of the EEPROM using an existing Makefile that used atprogram. I have AS7 to save the content of the EEPROM and Flash to make sure they contain the expected values. I have checked the Fuses that seem reasonable (assuming BOOTSZ is using 16-bits words and the "true" start address is 0x1E000 where I flashed by boot file).
I created a project from "Open Object File for Debugging", configured the programming settings with "Skip programming" and "Preserve EEPROM" and started debug with "Start Debugging and Break" (expecting the program to start running and stop immediately on the first instruction of the boot).
Instead, I get the PC at 0xFFFF (I was expecting 0X1E000) and I cannot see the content of the Dissassembly passed the first 64 KB (message "Memory Out of Bounds or Read Error").
I have some experience in embedded software development but am new to these tools. Is there some limitation I am not aware of or something I did wrong ?