Hi All
I have just bought an AT32UC3C-EK (quite expensive and a shame that it doesn't have Ethernet connected, but the reason was for a CAN project).
Using Studio 5 I loaded some new code to the board and did a bit of debugging - it stepped around in C code and assembler fine for a few minutes.
Then Studio 5 crashed as I manipulated a peripheral register by hand (I was modifying the SCIF UNLOCK register so that I could write a value to another register at the time - the UC3C is a bit more complicated than the UC3A and UC3B types).
Since the crash I can no longer connect to the device either from Studio 5 or from IAR (another board I have on hand with a UC3B on it connects normally).
The message that I get is
"AVR Studio was unable to start your debug session.
Please verify that the debugger is correctly attached to the target and that target power has been switched on. Also verify that the correct device and interface settings have been specified in the project.
Timestamp: 2011-09-03 00:14:39.062
Severity: ERROR
ComponentId: 20100
StatusCode: 0
TCF command: Processes:launch failed: Code:1 ,Service: ,Message from peer:Unexpected JTAG ID 0xffffffff (expected 0x0200003f)"
Also, if I try using avr32program to erase and program I get the following:
"Connected to JTAGICE mkII version 7.13, 7.13 at USB.
Erasing page failed
Error reading memory word from 0xfffe0008.
SAB read from address 0x5fffe0008 failed.
sabRead:
The command was not understood by the JTAGICE mkII unit."
Does this point to the chip having died? Quite disappointing as the board has just come out of the box and the demo was working before debugging the new program. Or could I kill it with an error in the code loaded or did Studio 5 kill it as it crashed???
Any ideas? Looks as though the new project will have to go on hold...;-(
Regards
Mark