JTAGICE MKII very slow under Ubuntu Linux 9.04

View: New views
3 Messages — Rating Filter:   Alert me  

JTAGICE MKII very slow under Ubuntu Linux 9.04

by Markus Schulz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I guess everything is working, but very slow... if I boot up windows and
use AVR STUDIO it is very fast... any ides how to make this faster under
Ubuntu 9.04? By the way I tried to install the 5.8 version deb file form
Ubuntu Karmic, but than I get this RSP_ILLEGAL_EMULATOR_MODE error and
nothing works. I also tried to compile the latest version my self, but I
only get this error, see very bottom.

Thanks,
Markus Schulz

Here is my console output

markus@ubuntu:~/avr/HIDKeys.2007-03-29_change$ avrdude -U HIDKeys.hex -c
jtag2isp -p 2313 -P usb -D

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.15s

avrdude: Device signature = 0x1e9101
avrdude: current erase-rewrite cycle count is 2147483647 (if being tracked)
avrdude: reading input file "HIDKeys.hex"
avrdude: input file HIDKeys.hex auto detected as Intel Hex
avrdude: writing flash (1866 bytes):

Writing | ################################################## | 100% 284.16s

avrdude: 1866 bytes of flash written
avrdude: verifying flash memory against HIDKeys.hex:
avrdude: load data flash data from input file HIDKeys.hex:
avrdude: input file HIDKeys.hex auto detected as Intel Hex
avrdude: input file HIDKeys.hex contains 1866 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 95.08s

avrdude: verifying ...
avrdude: 1866 bytes of flash verified

avrdude done.  Thank you.

markus@ubuntu:~/avr/HIDKeys.2007-03-29_change$ avrdude -vv

avrdude: Version 5.8, compiled on Jul 20 2009 at 14:56:17
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "/etc/avrdude.conf"
         User configuration file is "/home/markus/.avrduderc"
         User configuration file does not exist or is not a regular
file, skipping


avrdude: no programmer has been specified on the command line or the
config file
         Specify a programmer using the -c option and try again



And here is my make output:

markus@ubuntu:~/Desktop/downloads/avrdude-5.8$ make
make  all-recursive
make[1]: Entering directory `/home/markus/Desktop/downloads/avrdude-5.8'
make[2]: Entering directory `/home/markus/Desktop/downloads/avrdude-5.8'
/bin/bash ./ylwrap config_gram.y y.tab.c config_gram.c y.tab.h
config_gram.h y.output config_gram.output -- bison -y  -d
updating config_gram.h
gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/usr/local/etc\"  -Wall -g -O2
-MT libavrdude_a-config_gram.o -MD -MP -MF
.deps/libavrdude_a-config_gram.Tpo -c -o libavrdude_a-config_gram.o
`test -f 'config_gram.c' || echo './'`config_gram.c
config_gram.y: In function ‘parse_cmdbits’:
config_gram.y:1373: warning: ‘brkt’ may be used uninitialized in this
function
mv -f .deps/libavrdude_a-config_gram.Tpo .deps/libavrdude_a-config_gram.Po
/bin/bash ./ylwrap lexer.l .c lexer.c -- :
make[2]: *** [lexer.c] Error 1
make[2]: Leaving directory `/home/markus/Desktop/downloads/avrdude-5.8'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/markus/Desktop/downloads/avrdude-5.8'
make: *** [all] Error 2



_______________________________________________
avrdude-dev mailing list
avrdude-dev@...
http://lists.nongnu.org/mailman/listinfo/avrdude-dev

Re: JTAGICE MKII very slow under Ubuntu Linux 9.04

by Markus Schulz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I just want to give a little update so you can concentrate on the real
issues, the slow programming.

With the new 5.8 version it is now 95s, but on windows it is still only
~5s... any idea why so slow? By the way I tried to connect the reset to
ground, but this doesn't make it faster.

By reading through this mailing list I was able to compile 5.8 version
now, looks like I was missing flex package as well... so I did a:
sudo apt-get install flex byacc bison

If I don't use the -D I still get this error
(RSP_ILLEGAL_EMULATOR_MODE)? I guess I also had this in 5.6, but without
displaying the message. Because I was never able to use the program
without -D... should this work?

Regards,
Markus

PS: sorry for the double post...

markus@ubuntu:~/avr/HIDKeys.2007-03-29_change$ make flash
avrdude -s -U HIDKeys.hex -c jtag2isp -p 2313 -P usb -D

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.15s

avrdude: Device signature = 0x1e9101
avrdude: current erase-rewrite cycle count is 2147483647 (if being tracked)
avrdude: reading input file "HIDKeys.hex"
avrdude: input file HIDKeys.hex auto detected as Intel Hex
avrdude: writing flash (1866 bytes):

Writing | ################################################## | 100% 95.22s

avrdude: 1866 bytes of flash written
avrdude: verifying flash memory against HIDKeys.hex:
avrdude: load data flash data from input file HIDKeys.hex:
avrdude: input file HIDKeys.hex auto detected as Intel Hex
avrdude: input file HIDKeys.hex contains 1866 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 95.21s

avrdude: verifying ...
avrdude: 1866 bytes of flash verified
avrdude: jtagmkII_close(): bad response to GO command:
RSP_ILLEGAL_EMULATOR_MODE

avrdude done.  Thank you.


> Here is my console output
>
> markus@ubuntu:~/avr/HIDKeys.2007-03-29_change$ avrdude -U HIDKeys.hex -c
> jtag2isp -p 2313 -P usb -D
>
> avrdude: AVR device initialized and ready to accept instructions
>
> Reading | ################################################## | 100% 0.15s
>
> avrdude: Device signature = 0x1e9101
> avrdude: current erase-rewrite cycle count is 2147483647 (if being tracked)
> avrdude: reading input file "HIDKeys.hex"
> avrdude: input file HIDKeys.hex auto detected as Intel Hex
> avrdude: writing flash (1866 bytes):
>
> Writing | ################################################## | 100% 284.16s
>
> avrdude: 1866 bytes of flash written
> avrdude: verifying flash memory against HIDKeys.hex:
> avrdude: load data flash data from input file HIDKeys.hex:
> avrdude: input file HIDKeys.hex auto detected as Intel Hex
> avrdude: input file HIDKeys.hex contains 1866 bytes
> avrdude: reading on-chip flash data:
>
> Reading | ################################################## | 100% 95.08s
>
> avrdude: verifying ...
> avrdude: 1866 bytes of flash verified
>
> avrdude done.  Thank you.


_______________________________________________
avrdude-dev mailing list
avrdude-dev@...
http://lists.nongnu.org/mailman/listinfo/avrdude-dev

Re: JTAGICE MKII very slow under Ubuntu Linux 9.04

by Markus Schulz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Is this slow speed normal with avrdude?

Markus


> I just want to give a little update so you can concentrate on the real
> issues, the slow programming.
>
> With the new 5.8 version it is now 95s, but on windows it is still only
> ~5s... any idea why so slow? By the way I tried to connect the reset to
> ground, but this doesn't make it faster.
>
> By reading through this mailing list I was able to compile 5.8 version
> now, looks like I was missing flex package as well... so I did a:
> sudo apt-get install flex byacc bison
>
> If I don't use the -D I still get this error
> (RSP_ILLEGAL_EMULATOR_MODE)? I guess I also had this in 5.6, but without
> displaying the message. Because I was never able to use the program
> without -D... should this work?
>
> Regards,
> Markus
>
> PS: sorry for the double post...
>
> markus@ubuntu:~/avr/HIDKeys.2007-03-29_change$ make flash
> avrdude -s -U HIDKeys.hex -c jtag2isp -p 2313 -P usb -D
>
> avrdude: AVR device initialized and ready to accept instructions
>
> Reading | ################################################## | 100% 0.15s
>
> avrdude: Device signature = 0x1e9101
> avrdude: current erase-rewrite cycle count is 2147483647 (if being tracked)
> avrdude: reading input file "HIDKeys.hex"
> avrdude: input file HIDKeys.hex auto detected as Intel Hex
> avrdude: writing flash (1866 bytes):
>
> Writing | ################################################## | 100% 95.22s
>
> avrdude: 1866 bytes of flash written
> avrdude: verifying flash memory against HIDKeys.hex:
> avrdude: load data flash data from input file HIDKeys.hex:
> avrdude: input file HIDKeys.hex auto detected as Intel Hex
> avrdude: input file HIDKeys.hex contains 1866 bytes
> avrdude: reading on-chip flash data:
>
> Reading | ################################################## | 100% 95.21s
>
> avrdude: verifying ...
> avrdude: 1866 bytes of flash verified
> avrdude: jtagmkII_close(): bad response to GO command:
> RSP_ILLEGAL_EMULATOR_MODE
>
> avrdude done.  Thank you.
>
>
>> Here is my console output
>>
>> markus@ubuntu:~/avr/HIDKeys.2007-03-29_change$ avrdude -U HIDKeys.hex -c
>> jtag2isp -p 2313 -P usb -D
>>
>> avrdude: AVR device initialized and ready to accept instructions
>>
>> Reading | ################################################## | 100% 0.15s
>>
>> avrdude: Device signature = 0x1e9101
>> avrdude: current erase-rewrite cycle count is 2147483647 (if being tracked)
>> avrdude: reading input file "HIDKeys.hex"
>> avrdude: input file HIDKeys.hex auto detected as Intel Hex
>> avrdude: writing flash (1866 bytes):
>>
>> Writing | ################################################## | 100% 284.16s
>>
>> avrdude: 1866 bytes of flash written
>> avrdude: verifying flash memory against HIDKeys.hex:
>> avrdude: load data flash data from input file HIDKeys.hex:
>> avrdude: input file HIDKeys.hex auto detected as Intel Hex
>> avrdude: input file HIDKeys.hex contains 1866 bytes
>> avrdude: reading on-chip flash data:
>>
>> Reading | ################################################## | 100% 95.08s
>>
>> avrdude: verifying ...
>> avrdude: 1866 bytes of flash verified
>>
>> avrdude done.  Thank you.
>
>
> _______________________________________________
> avrdude-dev mailing list
> avrdude-dev@...
> http://lists.nongnu.org/mailman/listinfo/avrdude-dev
>



_______________________________________________
avrdude-dev mailing list
avrdude-dev@...
http://lists.nongnu.org/mailman/listinfo/avrdude-dev