Transmitter Reponse very slow of after flash

Help with any software/desktop related issues. e.g. companion9x, eePe, etc
User avatar
rperkins
Posts: 1422
Joined: Sun Jan 08, 2012 12:51 pm
Country: -

Re: Transmitter Reponse very slow of after flash

Post by rperkins »

Romolo wrote:I think someone has changed the name in the fw I bought them one year ago or about....
and they were recognized as usbasp, if they changed the name in the fw, due to the fact usbasp uses a shared id it will not be recognized
Usbasp uses the vid/pid which he has shown. It is fine.

When avrdude doesnt recognize my programmer it is because it is hung up from not completing ghe previous command. Unplugging it and replugging it fixes the issue. Replug it without the 9x hooked up. Be sure avrdude sees your programmer first. It will report an error , but the error will be different.

merinkumar
Posts: 38
Joined: Sat Apr 28, 2012 4:19 am
Country: -

Re: Transmitter Reponse very slow of after flash

Post by merinkumar »

all the permissions are correct ... but yet :(


root@merin-M15x:/dev/bus/usb/002# lsusb |grep -i 16c0:05dc
Bus 001 Device 009: ID 16c0:05dc VOTI shared ID for use with libusb
root@merin-M15x:/dev/bus/usb/002# ls -l /dev/bus/usb/001/009
crw-rw-rw- 1 root root 189, 8 2012-05-02 05:03 /dev/bus/usb/001/009
root@merin-M15x:/dev/bus/usb/002# avrdude -patmega88 -cusbasp
avrdude: error: could not find USB device "USBasp" with vid=0x16c0 pid=0x5dc
merinkumar
Posts: 38
Joined: Sat Apr 28, 2012 4:19 am
Country: -

Re: Transmitter Reponse very slow of after flash

Post by merinkumar »

rperkins wrote:
Romolo wrote:I think someone has changed the name in the fw I bought them one year ago or about....
and they were recognized as usbasp, if they changed the name in the fw, due to the fact usbasp uses a shared id it will not be recognized
Usbasp uses the vid/pid which he has shown. It is fine.

When avrdude doesnt recognize my programmer it is because it is hung up from not completing ghe previous command. Unplugging it and replugging it fixes the issue. Replug it without the 9x hooked up. Be sure avrdude sees your programmer first. It will report an error , but the error will be different.

yes i did the below with out connection to tx .. and re-plugged it
Romolo
9x Developer
Posts: 1109
Joined: Sat Dec 31, 2011 12:11 am
Country: -
Location: Massa (MS), Tuscany, Italy

Re: Transmitter Reponse very slow of after flash

Post by Romolo »

rperkins wrote: Usbasp uses the vid/pid which he has shown. It is fine.

When avrdude doesnt recognize my programmer it is because it is hung up from not completing ghe previous command. Unplugging it and replugging it fixes the issue. Replug it without the 9x hooked up. Be sure avrdude sees your programmer first. It will report an error , but the error will be different.
The vid/pid are correct, but that it's a shared vid/pid...
have a look here: http://code.google.com/p/gruvin9x/sourc ... sbconfig.h at line 131

anyway in the dmesg something like this should be present...
[517575.400056] usb 6-3: new low speed USB device number 5 using ohci_hcd
[517575.551286] usb 6-3: New USB device found, idVendor=16c0, idProduct=05dc
[517575.551289] usb 6-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[517575.551291] usb 6-3: Product: USBasp
[517575.551293] usb 6-3: Manufacturer: http://www.fischl.de
merinkumar
Posts: 38
Joined: Sat Apr 28, 2012 4:19 am
Country: -

Re: Transmitter Reponse very slow of after flash

Post by merinkumar »

from dmesg i get only below


[ 8573.539290] usb 1-1.2: new low speed USB device number 13 using ehci_hcd


i managed to remove the cover, if at all it helps .... attached file
usbasp_board.png

Romolo
9x Developer
Posts: 1109
Joined: Sat Dec 31, 2011 12:11 am
Country: -
Location: Massa (MS), Tuscany, Italy

Re: Transmitter Reponse very slow of after flash

Post by Romolo »

12Mhz oscillator, probably an atmega8a chip, yes maybe it's an usbasb with custom firmware,
maybe it can be even reflashed with a standard one..
merinkumar
Posts: 38
Joined: Sat Apr 28, 2012 4:19 am
Country: -

Re: Transmitter Reponse very slow of after flash

Post by merinkumar »

:twisted: can it be ? is so how pls ?
User avatar
rperkins
Posts: 1422
Joined: Sun Jan 08, 2012 12:51 pm
Country: -

Re: Transmitter Reponse very slow of after flash

Post by rperkins »

I thought he has a usbasp device ? That source code is for something called a gprog. The referenced file is the usbconfig for the virtual usb implementation of that piece of hardware.
merinkumar
Posts: 38
Joined: Sat Apr 28, 2012 4:19 am
Country: -

Re: Transmitter Reponse very slow of after flash

Post by merinkumar »

that link is broken ?
User avatar
rperkins
Posts: 1422
Joined: Sun Jan 08, 2012 12:51 pm
Country: -

Re: Transmitter Reponse very slow of after flash

Post by rperkins »

Yea my quote cut off the end of it. Go back to romolo's original message. This doesnt have any bearing on your problem, unless you have that piece of hardware. You got a usbasp, right?
Last edited by rperkins on Wed May 02, 2012 3:47 am, edited 1 time in total.
merinkumar
Posts: 38
Joined: Sat Apr 28, 2012 4:19 am
Country: -

Re: Transmitter Reponse very slow of after flash

Post by merinkumar »

rperkins wrote:Yea my quote cut off the end of it. Go back to romulians original message. This doesnt have any bearing on your problem, unless you have that piece of hardware. You got a usbasp, right?
i guess so, i bought this http://www.ebay.com/itm/300697762249?ss ... 414wt_1163 .. and it does one thing right, with the software its comes with it flash FW,, and its does not write eeprom,,, when it writes,, its bad data and formatted...
User avatar
rperkins
Posts: 1422
Joined: Sun Jan 08, 2012 12:51 pm
Country: -

Re: Transmitter Reponse very slow of after flash

Post by rperkins »

Ok. So it aint what he referenced. Whether or not it is a usbasp is up for debate. The part about 'other software may not work' is what I am talking about. Can you flash the firmware with their software?

Whether your device could be reflashed with standard usbasp firmware would dependmon whether they used the same pinouts . Plus you would need anothernprogrammer to program this one.
merinkumar
Posts: 38
Joined: Sat Apr 28, 2012 4:19 am
Country: -

Re: Transmitter Reponse very slow of after flash

Post by merinkumar »

rperkins wrote:Ok. So it aint what he referenced. Whether or not it is a usbasp is up for debate. The part about 'other software may not work' is what I am talking about. Can you flash the firmware with their software?
yes with their software, i was able to flash .hex firmwares from er9x at it works .. but only thing is the eeprom file write with their software is not working
rperkins wrote: Whether your device could be reflashed with standard usbasp firmware would dependmon whether they used the same pinouts . Plus you would need anothernprogrammer to program this one.
oh okey, rt now i dont have one more programmer ... i have ordered one(http://www.ebay.com/itm/270931350838?ss ... 1439.l2649) but that will take time to reach me ... :cry:
User avatar
rperkins
Posts: 1422
Joined: Sun Jan 08, 2012 12:51 pm
Country: -

Re: Transmitter Reponse very slow of after flash

Post by rperkins »

well how far do you get with avrdude ? If the problem is on the usb side, well that's bad. but if the issue is on the spi side, avrdude has some configuration setting for that.
http://www.nongnu.org/avrdude/user-manu ... efinitions

so the test would be, after plugging in your piece of hardware and verifying it with lsusb and checking the permissions. Do not connect the 9x or anything on the spi side:
if you type: 'avrdude -p m64 -P usb -c usbasp'
what error do you get?
1. avrdude: error: could not find USB device "USBasp" with vid=0x16c0 pid=0x5dc
2. avrdude: error: programm enable: target doesn't answer. 1
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.

1. is bad
2. may be resolvable by changing the config for avrdude.

Not sure how far you wanna go down this rabbit hole :)
User avatar
rperkins
Posts: 1422
Joined: Sun Jan 08, 2012 12:51 pm
Country: -

Re: Transmitter Reponse very slow of after flash

Post by rperkins »

merinkumar wrote: i have ordered one(http://www.ebay.com/itm/270931350838?ss ... 1439.l2649) but that will take time to reach me ... :cry:
I have programmers like that one.
See where the pic says http://www.betemcu.cn . that website is the main reseller . the url for the product is
http://item.taobao.com/item.htm?id=10052532429
use google to translate the chinese to english and you can see what they say about their custom 'autospeed' firmware.

The good news is that it is compatible with avrdude.
the bad news it is has locked chinese firmware on it.
I have been investigating the pros and cons of this firmware. My initial feeling is more con than pro.
the good news is you can overwite the firmware on this unit and have a true blue usbasp with open source firmware :)

I been saying on here. dont order one, order two, so you can reprogram at least one of them.
the good news is you already have one unit so you can use it , with its custom 'software' , to reprogram your new one if you decide to do so.

BTW - Here is the link for the 'real' usbasp firmware and related schematic
http://www.fischl.de/usbasp/
merinkumar
Posts: 38
Joined: Sat Apr 28, 2012 4:19 am
Country: -

Re: Transmitter Reponse very slow of after flash

Post by merinkumar »

rperkins wrote:well how far do you get with avrdude ? If the problem is on the usb side, well that's bad. but if the issue is on the spi side, avrdude has some configuration setting for that.
http://www.nongnu.org/avrdude/user-manu ... efinitions

so the test would be, after plugging in your piece of hardware and verifying it with lsusb and checking the permissions. Do not connect the 9x or anything on the spi side:
if you type: 'avrdude -p m64 -P usb -c usbasp'
what error do you get?
1. avrdude: error: could not find USB device "USBasp" with vid=0x16c0 pid=0x5dc
2. avrdude: error: programm enable: target doesn't answer. 1
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.

1. is bad
2. may be resolvable by changing the config for avrdude.

Not sure how far you wanna go down this rabbit hole :)
its the 1st one - error :(
merinkumar
Posts: 38
Joined: Sat Apr 28, 2012 4:19 am
Country: -

Re: Transmitter Reponse very slow of after flash

Post by merinkumar »

rperkins wrote:
merinkumar wrote: i have ordered one(http://www.ebay.com/itm/270931350838?ss ... 1439.l2649) but that will take time to reach me ... :cry:
I have programmers like that one.
See where the pic says http://www.betemcu.cn . that website is the main reseller . the url for the product is
http://item.taobao.com/item.htm?id=10052532429
use google to translate the chinese to english and you can see what they say about their custom 'autospeed' firmware.

The good news is that it is compatible with avrdude.
the bad news it is has locked chinese firmware on it.
I have been investigating the pros and cons of this firmware. My initial feeling is more con than pro.
the good news is you can overwite the firmware on this unit and have a true blue usbasp with open source firmware :)

I been saying on here. dont order one, order two, so you can reprogram at least one of them.
the good news is you already have one unit so you can use it , with its custom 'software' , to reprogram your new one if you decide to do so.

BTW - Here is the link for the 'real' usbasp firmware and related schematic
http://www.fischl.de/usbasp/
yes once i get the second one, i can reprogram one of them... :) .. untill then i will use the transmitter same way .... but thanks for all your help !!! :D
merinkumar
Posts: 38
Joined: Sat Apr 28, 2012 4:19 am
Country: -

Re: Transmitter Reponse very slow of after flash

Post by merinkumar »

will any one of these work ?? both are from USA, can get it soon,, suggestions please ....

http://www.ebay.com/itm/USBASP-USB-AVR- ... 922wt_1163

or

http://www.ebay.com/itm/New-USBasp-AVR- ... 388wt_1163
User avatar
rperkins
Posts: 1422
Joined: Sun Jan 08, 2012 12:51 pm
Country: -

Re: Transmitter Reponse very slow of after flash

Post by rperkins »

the first link is the same unit you already ordered and that I have. If you look at the pic you will see the micro controller at a 45 degreee angle . If you read deeper into the description it mentions "Here is a neat project detailing how to convert this board to a small, low-cost demo board." I have read that project many times as it taught me a lot about the usbasp. That project is specifically for the http://www.betemcu.cn unit.

the 2nd doesnt have the micro controller set at an angle. that doesnt mean it isnt any good , just that it is not the one that I have and am familiar with.

I'd go with the first one if your in a hurry :)
User avatar
gohsthb
Posts: 1412
Joined: Wed Dec 28, 2011 2:32 pm
Country: -
Location: Naperville, IL

Re: Transmitter Reponse very slow of after flash

Post by gohsthb »

When you ran this "avrdude -p m64 -P usb -c usbasp" Did you try is also as "sudo avrdude -p m64 -P usb -c usbasp"?
I ask because I get that exact error if udev isn't set up to allow me access to the device. But running as root fixes it.
-Gohst
merinkumar
Posts: 38
Joined: Sat Apr 28, 2012 4:19 am
Country: -

Re: Transmitter Reponse very slow of after flash

Post by merinkumar »

rperkins wrote:the first link is the same unit you already ordered and that I have. If you look at the pic you will see the micro controller at a 45 degreee angle . If you read deeper into the description it mentions "Here is a neat project detailing how to convert this board to a small, low-cost demo board." I have read that project many times as it taught me a lot about the usbasp. That project is specifically for the http://www.betemcu.cn unit.

the 2nd doesnt have the micro controller set at an angle. that doesnt mean it isnt any good , just that it is not the one that I have and am familiar with.

I'd go with the first one if your in a hurry :)
yes i did note that re programmable part :), i ordered that one .. thank you
merinkumar
Posts: 38
Joined: Sat Apr 28, 2012 4:19 am
Country: -

Re: Transmitter Reponse very slow of after flash

Post by merinkumar »

gohsthb wrote:When you ran this "avrdude -p m64 -P usb -c usbasp" Did you try is also as "sudo avrdude -p m64 -P usb -c usbasp"?
I ask because I get that exact error if udev isn't set up to allow me access to the device. But running as root fixes it.
-Gohst
yes i tried that too, trying that as non root user, just fixes the security warning.. but it wont find that usbasp .....
merinkumar
Posts: 38
Joined: Sat Apr 28, 2012 4:19 am
Country: -

Re: Transmitter Reponse very slow of after flash

Post by merinkumar »

guys, just an update, got the new usbisp, everything works fine :D
merinkumar
Posts: 38
Joined: Sat Apr 28, 2012 4:19 am
Country: -

Re: Transmitter Reponse very slow of after flash

Post by merinkumar »

And as always ,, Thank you all for helping me !!!!
User avatar
rperkins
Posts: 1422
Joined: Sun Jan 08, 2012 12:51 pm
Country: -

Re: Transmitter Reponse very slow of after flash

Post by rperkins »

cool !

Post Reply

Return to “Software”