From: Rick M. <rm...@la...> - 2007-05-13 22:59:45
|
Well, I just tried it via serial port, and it works fine. But I can't connect via USB: > $ avarice -P atmega128 --jtag /dev/tty.KeySerial1 --mkII :4242 > AVaRICE version 2.6, Apr 23 2007 23:12:14 > > Defaulting JTAG bitrate to 1 MHz. Make sure that the target > frequency is at least 4 MHz or you will likely encounter failures > controlling the target. > > JTAG config starting. > Found a device: JTAGICEmkII > Serial number: 00:a0:00:00:33:fa > Reported JTAG device ID: 0x9702 > Configured for device ID: 0x9702 atmega128 -- Matched with atmega128 > JTAG config complete. > Preparing the target device for On Chip Debugging. > > Disabling lock bits: > LockBits -> 0xff > > Enabling on-chip debugging: > Extended Fuse byte -> 0xff > High Fuse byte -> 0x0f > Low Fuse byte -> 0xef > Waiting for connection on port 4242. Any other suggestions? I'd really love to be able to use this thing directly... TIA, Rick On May 8, 2007, at 11:55 , Rick Mann wrote: > On May 6, 2007, at 16:34 , Ned Konz wrote: > >> Hmm. Is it loading libusb? The right one? You can do this to find >> out: > > I don't currently have the Mk II connected (it's at home), but here's > what I get. It seems to be the same as your output (wrt the libraries > loaded). The thing is, when the Mk II is connected, it does report > that it found it (and it reports a serial number). > > $ DYLD_PRINT_LIBRARIES=1 avarice -P atmega169 -d -d --jtag usb -- > mkII :4242 > dyld: loaded: /usr/local/avr/bin/avarice > dyld: loaded: /usr/local/lib/libusb-0.1.4.dylib > dyld: loaded: /usr/local/lib/libintl.3.dylib > dyld: loaded: /usr/lib/libiconv.2.dylib, cpu-sub-type: 3 > dyld: loaded: /usr/lib/libstdc++.6.dylib, cpu-sub-type: 3 > dyld: loaded: /usr/lib/libgcc_s.1.dylib, cpu-sub-type: 3 > dyld: loaded: /usr/lib/libSystem.B.dylib, cpu-sub-type: 3 > dyld: loaded: /System/Library/Frameworks/IOKit.framework/Versions/A/ > IOKit, cpu-sub-type: 3 > dyld: loaded: /System/Library/Frameworks/CoreFoundation.framework/ > Versions/A/CoreFoundation, cpu-sub-type: 3 > dyld: loaded: /System/Library/Frameworks/ > SystemConfiguration.framework/Versions/A/SystemConfiguration, cpu-sub- > type: 3 > dyld: loaded: /usr/lib/libz.1.dylib, cpu-sub-type: 3 > dyld: loaded: /usr/lib/libicucore.A.dylib, cpu-sub-type: 3 > dyld: loaded: /usr/lib/libauto.dylib, cpu-sub-type: 3 > dyld: loaded: /usr/lib/libobjc.A.dylib, cpu-sub-type: 3 > dyld: loaded: /usr/lib/system/libmathCommon.A.dylib, cpu-sub-type: 3 > AVaRICE version 2.6, Apr 23 2007 23:12:14 > > Defaulting JTAG bitrate to 1 MHz. Make sure that the target > frequency is at least 4 MHz or you will likely encounter failures > controlling the target. > > dyld: loaded: /System/Library/Extensions/IOUSBFamily.kext/Contents/ > PlugIns/IOUSBLib.bundle/Contents/MacOS/IOUSBLib, cpu-sub-type: 3 > did not find any USB device "usb" > USB device not found > > > -- > Rick > > > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > avarice-user mailing list > ava...@li... > https://lists.sourceforge.net/lists/listinfo/avarice-user > -- Rick |