This is the first time I work with an Xmega device, so may be that I misunderstand some things with the PDI Interface.
The last 5 years I have worked with Atmega and ATtiny with ISP and JTAG Interface without problems.
My Problem is that I can't debug the device, the programming is no Problem.
I use an Atmel ICE and when I told him to "Start Debbuging" over the Atmel Studio 7.0.1417 the ICE program the device with no problems, and on the ICE the led for debbuging flicker.
Normally with an AVR this told me that the Debbuger is working, I can also click the "Break all" Button and then I'm in the program at different Points.
My Problem is that I can't set a break Point, I have also disable all optimize and try to do some debug Outputs, but so there the work is very difficult because the program was not writen by me.
I have to do some modify in the program but the Person in front working on it isn't reachable.
I have also check that the Resetline has no capacity and the 10k pull-up for the Clockline is also there.
Do I Need a pull-up for the dataline too, like in an I2C Interface? I can't see there a hint in the documents.
I have found some hints that it would be an idea to disable the JTAG, but when I set the JTAG disable Fuse (FUSE Byte 4 = 0xFE) the device will ignore it and the next read is 0xFF.
There is also no Point with the description JTAG. I can only see the PDI in the menu, but in the datasheet there should be a JTAG.
I have searched the last two days and have done a lot of Tests, but I can't find a hint why I can't set some breakpoints.
Is this a Xmega Bug?
I hope you have a hint to help me, because I have not found a way to to set a break Point.