AS6 is driving me bonkers!

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

How is that I was able to debug with mega32 and JTAGICEmkII earlier but then I was finding it would not start to debug. If I stopped and restarted AS6 that seemed to fix it for a while but now I just cannot get the thing to start at all and every time the (verbose) log from the backend agent says this:

07 38 55 418: msg recv(90):C 44 Tool setupTool "com.atmel.avrdbg.tool.jtagicemkii" "com.atmel.avrdbg.connection.jungousb" {"SerialNumber":"00A000000948","UsbProductId":8451,"UsbVendorId":1003}
07 38 55 454: msg send(90):E Tool contextAdded [{"ID":"Mk2_5","Name":"com.atmel.avrdbg.tool.jtagicemkii","SupportedInterfaceTypes":["JTAG","aWire","PDI","ISP","HVPP","HVSP","debugWIRE"],"InterfaceName":"","InterfaceType":"","DeviceId":"","MasterMajorFirmwareVersionOnDisk":7,"MasterMinorFirmwareVersionOnDisk":36,"SlaveMajorFirmwareVersionOnDisk":7,"SlaveMinorFirmwareVersionOnDisk":36}]
07 38 55 454: msg send(90):R 44  "Mk2_5"
07 38 55 507: msg recv(90):C 45 Tool getContext "Mk2_5"
07 38 55 543: msg send(90):R 45  {"ID":"Mk2_5","Name":"com.atmel.avrdbg.tool.jtagicemkii","SupportedInterfaceTypes":["JTAG","aWire","PDI","ISP","HVPP","HVSP","debugWIRE"],"InterfaceName":"","InterfaceType":"","DeviceId":"","MasterMajorFirmwareVersionOnDisk":7,"MasterMinorFirmwareVersionOnDisk":36,"SlaveMajorFirmwareVersionOnDisk":7,"SlaveMinorFirmwareVersionOnDisk":36}
07 38 55 543: msg recv(90):C 46 Tool connect "Mk2_5"
07 38 55 543: dbg Trying to connect to JTAGICE mkII/dragon on com.atmel.avrdbg.connection.jungousb...
07 38 55 543: usb Connect() called on UsbDevice 3EB/2103/00A000000948.
07 38 55 578: usb Attaching to USB device 00A000000948.
07 38 55 578: usb Setting max size for USB endpoint 0x82 to 64.
07 38 55 578: usb Setting max size for USB endpoint 0x2 to 64.
07 38 55 596: dbg Starting JTAGICE MKII response and event reader thread.
07 38 55 596: dbg Started JTAGICE response and event reader thread.
07 38 55 596: pro JtagIceMkiiProtocol::signOn()
07 38 55 596: usb USB write at endpoint=2 count = 11 b:	[1B 00 00 01 00 00 00 0E 01 F3 97]
07 38 55 596: usb USB read at endpoint=130 count = 38 b:	[1B 00 00 1C 00 00 00 0E 86 01 FF 24 07 00 FF 24 07 00 00 A0 00 00 09 48 4A 54 41 47 49 43 45 6D 6B 49 49 00 93 23]
07 38 55 596: pro JtagIceMkii <<< 01
07 38 55 596: pro JtagIceMkii >>> 86 01 FF 24 07 00 FF 24 07 00 00 A0 00 00 09 48 4A 54 41 47 49 43 45 6D 6B 49 49 00
07 38 55 596: dbg Trying to start JTAGICE mkII event handler thread.
07 38 55 596: pro JtagIceMkiiProtocol::signOn()
07 38 55 596: usb USB write at endpoint=2 count = 11 b:	[1B 01 00 01 00 00 00 0E 01 4C 16]
07 38 55 596: dbg Started JTAGICE mkII event handler thread.
07 38 55 596: usb USB read at endpoint=130 count = 38 b:	[1B 01 00 1C 00 00 00 0E 86 01 FF 24 07 00 FF 24 07 00 00 A0 00 00 09 48 4A 54 41 47 49 43 45 6D 6B 49 49 00 AA 2E]
07 38 55 596: pro JtagIceMkii <<< 01
07 38 55 596: pro JtagIceMkii >>> 86 01 FF 24 07 00 FF 24 07 00 00 A0 00 00 09 48 4A 54 41 47 49 43 45 6D 6B 49 49 00
07 38 55 596: hil Successfully connected to JTAGICE mkII on com.atmel.avrdbg.connection.jungousb...
07 38 55 596: msg send(90):R 46
07 38 55 596: msg recv(90):C 47 Tool getContext "Mk2_5"
07 38 55 632: msg send(90):R 47  {"ID":"Mk2_5","Name":"com.atmel.avrdbg.tool.jtagicemkii","SupportedInterfaceTypes":["JTAG","aWire","PDI","ISP","HVPP","HVSP","debugWIRE"],"InterfaceName":"","InterfaceType":"","DeviceId":"","MasterHardwareRevision":0,"SlaveHardwareRevision":0,"MasterMajorFirmwareVersion":7,"MasterMinorFirmwareVersion":36,"SlaveMajorFirmwareVersion":7,"SlaveMinorFirmwareVersion":36,"MasterMajorFirmwareVersionOnDisk":7,"MasterMinorFirmwareVersionOnDisk":36,"SlaveMajorFirmwareVersionOnDisk":7,"SlaveMinorFirmwareVersionOnDisk":36}...
07 38 55 632: msg recv(90):C 48 Tool checkFirmware "Mk2_5"
07 38 55 667: hil Successfully connected to JTAGICE mkII on com.atmel.avrdbg.connection.jungousb...
07 38 55 667: msg send(90):R 48
07 38 55 667: msg recv(90):C 49 Tool tearDownTool "Mk2_5"
07 38 55 667: dbg Trying to end JTAGICE mkII event handler thread...
07 38 55 703: dbg Sucessfully ended JTAGICE mkII event handler thread.
07 38 55 703: pro JtagIceMkiiProtocol::signOff()
07 38 55 703: usb USB write at endpoint=2 count = 11 b:	[1B 02 00 01 00 00 00 0E 00 15 8D]
07 38 55 703: usb USB read at endpoint=130 count = 11 b:	[1B 02 00 01 00 00 00 0E 80 1D 09]
07 38 55 703: pro JtagIceMkii <<< 00
07 38 55 703: pro JtagIceMkii >>> 80
07 38 55 703: dbg Trying to end JTAGICE mkII response and event reader thread...
07 38 55 792:  The USB device has been disconnected
07 38 55 792: usb Disconnect() called on UsbDevice 3EB/2103/00A000000948.
07 38 55 792: msg send(90):R 49
07 38 56 148: msg recv(90):C 50 Breakpoints add {"ContextIds":[""],"AccessMode":4,"ID":"1356_bp_00000007","Enabled":true,"IgnoreCount":1,"IgnoreType":"always","File":"E:\\sdboot-trunk\\main.c","Line":317,"Column":0}
07 38 56 148:  Exception: Code (16) Service: Invalid context in getVectorOfProcesses :
07 38 56 148: msg send(90):R 50 {"Code":16,"Service":"Invalid context in getVectorOfProcesses"}
07 38 56 166: msg recv(90):C 51 Tool setupTool "com.atmel.avrdbg.tool.jtagicemkii" "com.atmel.avrdbg.connection.jungousb" {"SerialNumber":"00A000000948","UsbProductId":8451,"UsbVendorId":1003}
07 38 56 166: msg recv(90):C 52 Breakpoints add {"ContextIds":[""],"AccessMode":4,"ID":"_bp_00000008","Enabled":true,"IgnoreCount":1,"IgnoreType":"always","File":"E:\\sdboot-trunk\\main.c","Line":318,"Column":0}
07 38 56 272: msg send(90):E Tool contextAdded [{"ID":"Mk2_6","Name":"com.atmel.avrdbg.tool.jtagicemkii","SupportedInterfaceTypes":["JTAG","aWire","PDI","ISP","HVPP","HVSP","debugWIRE"],"InterfaceName":"","InterfaceType":"","DeviceId":"","MasterMajorFirmwareVersionOnDisk":7,"MasterMinorFirmwareVersionOnDisk":36,"SlaveMajorFirmwareVersionOnDisk":7,"SlaveMinorFirmwareVersionOnDisk":36}]
07 38 56 290: msg send(90):R 51  "Mk2_6"
07 38 56 290:  Exception: Code (16) Service: Invalid context in getVectorOfProcesses :
07 38 56 290: msg send(90):R 52 {"Code":16,"Service":"Invalid context in getVectorOfProcesses"}
07 38 56 308: msg recv(90):C 53 Tool getContext "Mk2_6"
07 38 56 326: msg recv(90):C 54 Breakpoints add {"ContextIds":[""],"AccessMode":4,"ID":"_bp_00000009","Enabled":true,"IgnoreCount":1,"IgnoreType":"always","File":"E:\\sdboot-trunk\\main.c","Line":319,"Column":0}
07 38 56 415: msg send(90):R 53  {"ID":"Mk2_6","Name":"com.atmel.avrdbg.tool.jtagicemkii","SupportedInterfaceTypes":["JTAG","aWire","PDI","ISP","HVPP","HVSP","debugWIRE"],"InterfaceName":"","InterfaceType":"","DeviceId":"","MasterMajorFirmwareVersionOnDisk":7,"MasterMinorFirmwareVersionOnDisk":36,"SlaveMajorFirmwareVersionOnDisk":7,"SlaveMinorFirmwareVersionOnDisk":36}
07 38 56 415:  Exception: Code (16) Service: Invalid context in getVectorOfProcesses :
07 38 56 415: msg send(90):R 54 {"Code":16,"Service":"Invalid context in getVectorOfProcesses"}
07 38 56 415: msg recv(90):C 55 Tool connect "Mk2_6"
07 38 56 433: msg recv(90):C 56 Breakpoints add {"ContextIds":[""],"AccessMode":4,"ID":"_bp_0000000a","Enabled":true,"IgnoreCount":1,"IgnoreType":"always","File":"E:\\sdboot-trunk\\main.c","Line":320,"Column":0}
07 38 56 433: dbg Trying to connect to JTAGICE mkII/dragon on com.atmel.avrdbg.connection.jungousb...
07 38 56 433: usb Connect() called on UsbDevice 3EB/2103/00A000000948.
07 38 58 230: usb Attaching to USB device 00A000000948.
07 38 58 230: usb Setting max size for USB endpoint 0x82 to 64.
07 38 58 230: usb Setting max size for USB endpoint 0x2 to 64.
07 38 58 230: dbg Starting JTAGICE MKII response and event reader thread.
07 38 58 248: dbg Started JTAGICE response and event reader thread.
07 38 58 248: pro JtagIceMkiiProtocol::signOn()
07 38 58 248: usb USB write at endpoint=2 count = 11 b:	[1B 00 00 01 00 00 00 0E 01 F3 97]
07 38 58 248: pro JtagIceMkii <<< 01
07 38 58 266: usb USB read at endpoint=130 count = 38 b:	[1B 00 00 1C 00 00 00 0E 86 01 FF 24 07 00 FF 24 07 00 00 A0 00 00 09 48 4A 54 41 47 49 43 45 6D 6B 49 49 00 93 23]
07 38 58 266: pro JtagIceMkii >>> 86 01 FF 24 07 00 FF 24 07 00 00 A0 00 00 09 48 4A 54 41 47 49 43 45 6D 6B 49 49 00
07 38 58 266: dbg Trying to start JTAGICE mkII event handler thread.
07 38 58 266: pro JtagIceMkiiProtocol::signOn()
07 38 58 266: usb USB write at endpoint=2 count = 11 b:	[1B 01 00 01 00 00 00 0E 01 4C 16]
07 38 58 266: dbg Started JTAGICE mkII event handler thread.
07 38 58 266: pro JtagIceMkii <<< 01
07 38 58 266: usb USB read at endpoint=130 count = 38 b:	[1B 01 00 1C 00 00 00 0E 86 01 FF 24 07 00 FF 24 07 00 00 A0 00 00 09 48 4A 54 41 47 49 43 45 6D 6B 49 49 00 AA 2E]
07 38 58 266: pro JtagIceMkii >>> 86 01 FF 24 07 00 FF 24 07 00 00 A0 00 00 09 48 4A 54 41 47 49 43 45 6D 6B 49 49 00
07 38 58 266: hil Successfully connected to JTAGICE mkII on com.atmel.avrdbg.connection.jungousb...
07 38 58 266: msg send(90):R 55
07 38 58 266:  Exception: Code (16) Service: Invalid context in getVectorOfProcesses :
07 38 58 266: msg send(90):R 56 {"Code":16,"Service":"Invalid context in getVectorOfProcesses"}
07 38 58 284: msg recv(90):C 57 Breakpoints add {"ContextIds":[""],"AccessMode":4,"ID":"_bp_0000000b","Enabled":true,"IgnoreCount":1,"IgnoreType":"always","File":"E:\\sdboot-trunk\\main.c","Line":321,"Column":0}
07 38 58 284:  Exception: Code (16) Service: Invalid context in getVectorOfProcesses :
07 38 58 284: msg send(90):R 57 {"Code":16,"Service":"Invalid context in getVectorOfProcesses"}
07 38 59 583: msg recv(90):C 58 Tool setProperties "Mk2_6" {"KeepTimersRunning":"true","OverrideVtor":"false","OverrideVtorValue":"exception_table","CacheFlash":true,"UncachedRange":"0x0000-0x0200","RamSnippetAddress":"0x20000000","ProgFlashFromRam":true,"BootSegment":2,"InterfaceProperties":{"JtagDbgClock":200000,"JtagProgClock":1000000,"IspClock":223820,"JtagInChain":false,"JtagEnableExtResetOnStartSession":false,"JtagDevicesBefore":0,"JtagDevicesAfter":0,"JtagInstrBitsBefore":0,"JtagInstrBitsAfter":0,"KeepTimersRunning":true,"ProjectFolder":"E:\\sdboot-trunk","JlinkConfigFile":"E:\\sdboot-trunk\\jlink.config"},"InterfaceName":"JTAG","DeviceName":"ATmega32"}...
07 38 59 583: dbg Trying to set mkII/Dragon physical interface to: JTAG...
07 38 59 583: dbg Successfully set mkII/dragon physical interface to JTAG
07 38 59 583: tcf Using tools from 
07 38 59 583: ****Testing**** calling find_device_files(( for partpack tools folder 
07 38 59 583: ****Testing**** calling find_device_files(( for default tools folder C:/Program Files\Atmel\Atmel Studio 6.1\Tools
07 38 59 637: dbg AvrToolsDeviceFileReader::parseFiles(ATmega32) - uses cached model
07 38 59 637: msg send(90):E Device contextAdded [{"ID":"Avr8Dev_3","Name":"ATmega32","Session":0,"MemoryIDs":[],"RunControlID":""}]
07 38 59 690: msg send(90):E Tool contextChanged [{"ID":"Mk2_6","Name":"com.atmel.avrdbg.tool.jtagicemkii","SupportedInterfaceTypes":["JTAG","aWire","PDI","ISP","HVPP","HVSP","debugWIRE"],"InterfaceName":"JTAG","InterfaceType":"JTAG","DeviceId":"Avr8Dev_3","MasterHardwareRevision":0,"SlaveHardwareRevision":0,"MasterMajorFirmwareVersion":7,"MasterMinorFirmwareVersion":36,"SlaveMajorFirmwareVersion":7,"SlaveMinorFirmwareVersion":36,"MasterMajorFirmwareVersionOnDisk":7,"MasterMinorFirmwareVersionOnDisk":36,"SlaveMajorFirmwareVersionOnDisk":7,"SlaveMinorFirmwareVersionOnDisk":36,"InterfaceProperties":{"SupportedDevices":["ATxmega128A1"],"JtagDbgClock":200000,"JtagInChain":false,"JtagDevicesBefore":0,"JtagDevicesAfter":0,"JtagInstrBitsBefore":0,"JtagInstrBitsAfter":0,"JtagEnableExtResetOnStartSession":false,"KeepTimersRunning":true}}]...
07 38 59 690: msg send(90):R 58
07 38 59 868: msg recv(90):C 59 Tool getContext "Mk2_6"
07 38 59 939: msg send(90):R 59  {"ID":"Mk2_6","Name":"com.atmel.avrdbg.tool.jtagicemkii","SupportedInterfaceTypes":["JTAG","aWire","PDI","ISP","HVPP","HVSP","debugWIRE"],"InterfaceName":"JTAG","InterfaceType":"JTAG","DeviceId":"Avr8Dev_3","MasterHardwareRevision":0,"SlaveHardwareRevision":0,"MasterMajorFirmwareVersion":7,"MasterMinorFirmwareVersion":36,"SlaveMajorFirmwareVersion":7,"SlaveMinorFirmwareVersion":36,"MasterMajorFirmwareVersionOnDisk":7,"MasterMinorFirmwareVersionOnDisk":36,"SlaveMajorFirmwareVersionOnDisk":7,"SlaveMinorFirmwareVersionOnDisk":36,"InterfaceProperties":{"SupportedDevices":["ATxmega128A1"],"JtagDbgClock":200000,"JtagInChain":false,"JtagDevicesBefore":0,"JtagDevicesAfter":0,"JtagInstrBitsBefore":0,"JtagInstrBitsAfter":0,"JtagEnableExtResetOnStartSession":false,"KeepTimersRunning":true}}...
07 38 59 939: msg recv(90):C 60 Device getContext "Avr8Dev_3"
07 38 59 939: msg send(90):R 60  {"ID":"Avr8Dev_3","Name":"ATmega32","Session":0,"MemoryIDs":[],"RunControlID":""}
07 38 59 957: msg recv(90):C 61 Processes launch "E:\\sdboot-trunk\\Debug\\pfboot.elf" "Avr8Dev_3" {"LaunchSuspended":true,"LaunchAttached":true,"PreserveEeprom":false,"EraseRule":0}
07 38 59 957: msg send(90):P 61 {"Description":"Launching...","ProgressComplete":0,"ProgressTotal":100}
07 38 59 957: msg send(90):P 61 {"Description":"Starting programming session...","ProgressComplete":1,"ProgressTotal":100}
07 38 59 957: msg send(90):P 61 {"Description":"Erasing device...","ProgressComplete":5,"ProgressTotal":100}
07 38 59 957: pro JtagIceMkiiProtocol::setParameter(0x13)
07 38 59 957: usb USB write at endpoint=2 count = 13 b:	[1B 02 00 03 00 00 00 0E 02 13 00 EA B5]
07 38 59 975: pro JtagIceMkii <<< 02 13 00
07 38 59 975: usb USB read at endpoint=130 count = 11 b:	[1B 02 00 01 00 00 00 0E 80 1D 09]
07 38 59 975: pro JtagIceMkii >>> 80
07 38 59 975: pro JtagIceMkiiProtocol::setParameter(0x3)
07 38 59 975: usb USB write at endpoint=2 count = 13 b:	[1B 03 00 03 00 00 00 0E 02 03 02 4E 2F]
07 38 59 975: pro JtagIceMkii <<< 02 03 02
07 38 59 975: usb USB read at endpoint=130 count = 11 b:	[1B 03 00 01 00 00 00 0E 80 A2 88]
07 38 59 975: pro JtagIceMkii >>> 80
07 38 59 975: pro JtagIceMkiiProtocol::setParameter(0x3)
07 38 59 975: usb USB write at endpoint=2 count = 13 b:	[1B 04 00 03 00 00 00 0E 02 03 01 20 D9]
07 38 59 975: pro JtagIceMkii <<< 02 03 01
07 38 59 975: usb USB read at endpoint=130 count = 11 b:	[1B 04 00 01 00 00 00 0E 80 AC 14]
07 38 59 975: pro JtagIceMkii >>> 80
07 38 59 975: dbg PROG address space has size 32768.
07 38 59 975: dbg Using flash page size 128.
07 38 59 975: pro JtagIceMkiiProtocol::setDeviceData()
07 38 59 975: usb USB write at endpoint=2 count = 45 b:	[1B 05 00 23 00 00 00 0E 36 02 00 1F 80 00 00 80 00 00 00 00 00 00 00 3F 00 00 60 00 00 04 04 02 01 01 00 00 31 1F 1E 1C 1D 57 31 9B B6]
07 38 59 975: pro JtagIceMkii <<< 36 02 00 1F 80 00 00 80 00 00 00 00 00 00 00 3F 00 00 60 00 00 04 04 02 01 01 00 00 31 1F 1E 1C 1D 57 31
07 39 00 028: usb USB read at endpoint=130 count = 11 b:	[1B 05 00 01 00 00 00 0E 80 13 95]
07 39 00 028: pro JtagIceMkii >>> 80
07 39 00 028: pro JtagIceMkiiProtocol::setDeviceData()
07 39 00 028: usb USB write at endpoint=2 count = 22 b:	[1B 06 00 0C 00 00 00 0E 36 80 00 08 FF 6F FF FF FE FF FF FF D6 DC]
07 39 00 028: pro JtagIceMkii <<< 36 80 00 08 FF 6F FF FF FE FF FF FF
07 39 00 028: usb USB read at endpoint=130 count = 11 b:	[1B 06 00 01 00 00 00 0E 80 C3 1F]
07 39 00 028: pro JtagIceMkii >>> 80
07 39 00 028: pro JtagIceMkiiProtocol::setDeviceData()
07 39 00 028: usb USB write at endpoint=2 count = 22 b:	[1B 07 00 0C 00 00 00 0E 36 88 00 08 BF 26 B6 FD FE FF BF FA 1A 30]
07 39 00 028: usb USB read at endpoint=130 count = 11 b:	[1B 07 00 01 00 00 00 0E 80 7C 9E]
07 39 00 028: pro JtagIceMkii <<< 36 88 00 08 BF 26 B6 FD FE FF BF FA
07 39 00 028: pro JtagIceMkii >>> 80
07 39 00 028: pro JtagIceMkiiProtocol::setDeviceData()
07 39 00 028: usb USB write at endpoint=2 count = 14 b:	[1B 08 00 04 00 00 00 0E 36 81 00 00 54 B4]
07 39 00 046: usb USB read at endpoint=130 count = 11 b:	[1B 08 00 01 00 00 00 0E 80 CE 2F]
07 39 00 046: pro JtagIceMkii <<< 36 81 00 00
07 39 00 046: pro JtagIceMkii >>> 80
07 39 00 046: pro JtagIceMkiiProtocol::setDeviceData()
07 39 00 046: usb USB write at endpoint=2 count = 14 b:	[1B 09 00 04 00 00 00 0E 36 89 00 00 07 27]
07 39 00 046: pro JtagIceMkii <<< 36 89 00 00
07 39 00 046: usb USB read at endpoint=130 count = 11 b:	[1B 09 00 01 00 00 00 0E 80 71 AE]
07 39 00 046: pro JtagIceMkii >>> 80
07 39 00 046: pro JtagIceMkiiProtocol::setParameter(0x9)
07 39 00 046: usb USB write at endpoint=2 count = 13 b:	[1B 0A 00 03 00 00 00 0E 02 09 01 AB A5]
07 39 00 046: pro JtagIceMkii <<< 02 09 01
07 39 00 046: usb USB read at endpoint=130 count = 11 b:	[1B 0A 00 01 00 00 00 0E 80 A1 24]
07 39 00 046: pro JtagIceMkii >>> 80
07 39 00 046: pro JtagIceMkiiProtocol::setParameter(0x7)
07 39 00 046: usb USB write at endpoint=2 count = 13 b:	[1B 0B 00 03 00 00 00 0E 02 07 06 23 67]
07 39 00 046: pro JtagIceMkii <<< 02 07 06
07 39 00 046: usb USB read at endpoint=130 count = 11 b:	[1B 0B 00 01 00 00 00 0E 80 1E A5]
07 39 00 046: pro JtagIceMkii >>> 80
07 39 00 046: pro JtagIceMkiiProtocol::setParameter(0x1b)
07 39 00 046: usb USB write at endpoint=2 count = 16 b:	[1B 0C 00 06 00 00 00 0E 02 1B 00 00 00 00 6F 5F]
07 39 00 046: pro JtagIceMkii <<< 02 1B 00 00 00 00
07 39 00 046: usb USB read at endpoint=130 count = 11 b:	[1B 0C 00 01 00 00 00 0E 80 10 39]
07 39 00 046: pro JtagIceMkii >>> 80
07 39 00 046: pro JtagIceMkiiProtocol::setParameter(0x38)
07 39 00 046: usb USB write at endpoint=2 count = 13 b:	[1B 0D 00 03 00 00 00 0E 02 38 01 24 CE]
07 39 00 064: pro JtagIceMkii <<< 02 38 01
07 39 00 064: usb USB read at endpoint=130 count = 11 b:	[1B 0D 00 01 00 00 00 0E 80 AF B8]
07 39 00 064: pro JtagIceMkii >>> 80
07 39 00 064: msg send(90):E Memory contextRemoved []
07 39 00 064: dbg Using flash page size 128.
07 39 00 064: dbg PROG address space has size 32768.
07 39 00 064: dbg Using flash page size 128.
07 39 00 064: msg send(90):E Memory contextAdded [{"ID":"Mem_prog_11","BigEndian":false,"AddressSize":2,"Name":"prog","StartBound":0,"EndBound":32767},{"ID":"Mem_eeprom_12","BigEndian":false,"AddressSize":2,"Name":"eeprom","StartBound":0,"EndBound":1023},{"ID":"Mem_fuses_13","BigEndian":false,"AddressSize":1,"Name":"fuses","StartBound":0,"EndBound":1},{"ID":"Mem_lockbits_14","BigEndian":false,"AddressSize":1,"Name":"lockbits","StartBound":0,"EndBound":0},{"ID":"Mem_signatures_15","BigEndian":false,"AddressSize":1,"Name":"signatures","StartBound":0,"EndBound":2}]...
07 39 00 064: pro JtagIceMkiiProtocol::enterProgMode()
07 39 00 064: usb USB write at endpoint=2 count = 11 b:	[1B 0E 00 01 00 00 00 0E 14 D2 E0]
07 39 00 153: pro JtagIceMkii <<< 14
07 39 00 171: usb USB read at endpoint=130 count = 11 b:	[1B 0E 00 01 00 00 00 0E A9 BC 8E]
07 39 00 171: pro JtagIceMkii >>> A9
07 39 00 171: pro JtagIceMkiiProtocol::assertResponse(): JTAGID not valid. Debugger command enterProgMode failed.
07 39 00 171: msg send(90):E Memory contextRemoved ["Mem_prog_11","Mem_eeprom_12","Mem_fuses_13","Mem_lockbits_14","Mem_signatures_15"]
07 39 00 171: pro JtagIceMkiiProtocol::leaveProgMode()
07 39 00 171: usb USB write at endpoint=2 count = 11 b:	[1B 0F 00 01 00 00 00 0E 15 E4 70]
07 39 00 171: pro JtagIceMkii <<< 15
07 39 00 188: usb USB read at endpoint=130 count = 11 b:	[1B 0F 00 01 00 00 00 0E 80 C0 B3]
07 39 00 188: pro JtagIceMkii >>> 80
07 39 00 188: pro JtagIceMkiiProtocol::setParameter(0x3)
07 39 00 188: usb USB write at endpoint=2 count = 13 b:	[1B 10 00 03 00 00 00 0E 02 03 02 75 89]
07 39 00 188: pro JtagIceMkii <<< 02 03 02
07 39 00 188: usb USB read at endpoint=130 count = 11 b:	[1B 10 00 01 00 00 00 0E 80 0A 59]
07 39 00 948: pro JtagIceMkii >>> 80
07 39 00 948: msg send(90):P 61 {"Description":"Launch failed...","ProgressComplete":0,"ProgressTotal":0}
07 39 00 948: dbg ProcessesService::launch() failed: JTAGID not valid. Debugger command enterProgMode failed.
07 39 00 948: msg send(90):P 61 {"Description":"Launch complete","ProgressComplete":0,"ProgressTotal":0}
07 39 00 948: msg send(90):R 61 {"Code":131107,"Time":0,"Service":"Processes","Format":"JTAGID not valid. Debugger command enterProgMode failed.","Severity":4,"AltOrg":"Atmel"} ""
07 39 00 948: msg recv(90):C 62 Processes getContext ""
07 39 00 948:  Exception: Code (3) Service:  :
07 39 00 948: msg send(90):R 62 {"Code":3}
07 39 00 968: msg recv(90):C 63 Tool tearDownTool "Mk2_6"
07 39 00 968: dbg Trying to end JTAGICE mkII event handler thread...
07 39 00 968: dbg Sucessfully ended JTAGICE mkII event handler thread.
07 39 00 968: pro JtagIceMkiiProtocol::signOff()
07 39 00 968: usb USB write at endpoint=2 count = 11 b:	[1B 11 00 01 00 00 00 0E 00 BD 5C]
07 39 01 027: pro JtagIceMkii <<< 00
07 39 01 027: usb USB read at endpoint=130 count = 11 b:	[1B 11 00 01 00 00 00 0E 80 B5 D8]
07 39 01 027: pro JtagIceMkii >>> 80
07 39 01 027: dbg Trying to end JTAGICE mkII response and event reader thread...
07 39 01 027: usb Disconnect() called on UsbDevice 3EB/2103/00A000000948.
07 39 01 027: msg send(90):E Device contextRemoved ["Avr8Dev_3"]
07 39 01 027: msg send(90):R 63

Can someone from Atmel give me a clue as to what's going wrong here and suggestions of what I can try to fix it?

The above looks like a fairly successful dialog until about "07 39 00 171"

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

And why does your post require a 2 meter wide monitor to read it without scrolling? :twisted:

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Moderators have special privileges... :wink: but I see what you mean, some lines do not fit into a 24" screen, only about half of the long lines do.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

And why does your post require a 2 meter wide monitor to read it without scrolling?

Yup that annoyed me too. Why in God's name do they output huge strings with no punctuation/white space? I'd usually edit the post (I do for others) and put in some line breaks but at this point I'm so pissed off I can't be bothered.