Date
1 - 19 of 19
Programming the QCX chip via Arduino revisited
I have a problem setting up to program the chip via the ISP interface in the QCX. I have successfully installed the Arduino UNO software & the AVR ISP sketch but due to the fact I have the Windows 10 Professional 64 bit operating system on my computer, I cannot get libusb0.dll to install so I cannot run AVRDUDE or AVRDUDESS with the Arduino. Does anyone have a link to another GUI that will work with the Arduino on a 64 bit Win10 Machine? I'd appreciate any info on this.
Please no flames for not running Linux. I cannot have Linux on this computer for business reasons and it is the ONLY computer available here. Thanks for any help available. I'm not averse to buying a known good programmer off eBay or elsewhere if there's an easy way to use it for programming the QCX chip so that info would be OK as well. It MUST run under Windows 10, 64 bit though. Thanks, W0EB |
|
Did you try using Zadig to update the driver? I have been using a Win7 machine to do my updates but may have to try this on my 10 Pro64 machine. I just watched a video of someone updating libusb0.dll with Zadig on Win 10, but it was unclear if it was a 64 bit machine.
--------- Paul KE7HR |
|
Alan G4ZFQ
but due to the fact I have the Windows 10 Professional 64 bit operating system on my computer, I cannot get libusb0.dll to installJim, Does the Arduino appear as a USB device in "Device manager"? Has it a driver? Zadig http://zadig.akeo.ie/ should install libusb with a certificate, it is usually used to assign a driver to a device. I do not know if it will do what you want but the one programmer I know also wants libusb as a driver. My notes here https://sites.google.com/site/g4zfqradio/progrock_update . But I do not run 64 bit so I'm only suggesting... I can't help thinking that keeping an older computer for these things can make it easier. 73 Alan G4ZFQ so I cannot run AVRDUDE or AVRDUDESS with the Arduino. Does anyone have a link to another GUI that will work with the Arduino on a 64 bit Win10 Machine? I'd appreciate any info on this. |
|
James Anderson
Hello Jim.
toggle quoted message
Show quoted text
I run AVRDUDESS with the USBasp or USBtiny on a windows 10 64bit machine. It can run on your machine. Kind regards. James. On 14 Nov 2017, at 15:44, Alan G4ZFQ <alan4alan@...> wrote:
but due to the fact I have the Windows 10 Professional 64 bit operating system on my computer, I cannot get libusb0.dll to installJim, |
|
Bob ZL1RS
search disable driver signature enforcement and follow the steps there to install libusb0.dll
I just did the process and installed the unsigned driver on my Win10 Home 64 bit computer. 73, Bob ZL1RS |
|
Doesn't work on the pro version though, already tried that. Sent from my Verizon, Samsung Galaxy smartphone -------- Original message -------- From: "Bob Sutton via Groups.Io" <zl1rs@...> Date: 11/14/17 9:54 AM (GMT-06:00) To: QRPLabs@groups.io Subject: Re: [QRPLabs] Programming the QCX chip via Arduino revisited I just did the process and installed the unsigned driver on my Win10 Home 64 bit computer. 73, Bob ZL1RS |
|
g4sra
On 14/11/17 15:10, Jim Sheldon wrote:
I cannot get libusb0.dll to install....What is the *exact* error message you are getting ? At the moment you are saying the equivalent of "My car won't start" (at least you have given the Make, Year & Model, that's a good start ;) |
|
g4sra
With nothing else to go on, the only action I could suggest you could try is to disable "driver signature enforcement".
toggle quoted message
Show quoted text
I do NOT recommend you take that course of action (unless you fully understand the ramifications). On 14/11/17 17:02, g4sra via Groups.Io wrote:
On 14/11/17 15:10, Jim Sheldon wrote:I cannot get libusb0.dll to install....What is the *exact* error message you are getting ? |
|
I should have said I haven't been able to find a version of libusb0.dll that my 64 bit version of Windows 10 will install due to claiming it contains a virus. Haven't been able to find a download site that gives me a file I can trust. To answer another question someone had, the Arduino talks to the Arduino app over USB COM 8, loads sketches, etc but I can't find a reference to it in device manager, at least as an Arduino. I appear to have the same number of USB devices connected in Manager whether or not the Arduino is plugged into a port.
toggle quoted message
Show quoted text
I've also gotten Zadig loaded but haven't figured out just how to get it to do anything on this computer either. Everything appears greyed out on the Zadig window. I'll bang on it some more and see if I can't get it to do what I want. W0EB ------ Original Message ------
From: "g4sra via Groups.Io" <g4sra@...> To: QRPLabs@groups.io Sent: 11/14/2017 11:02:26 AM Subject: Re: [QRPLabs] Programming the QCX chip via Arduino revisited On 14/11/17 15:10, Jim Sheldon wrote:I cannot get libusb0.dll to install....What is the *exact* error message you are getting ? |
|
Barry Mercer
Install WinAvr. Launch it, that will install the missing .dll thingy and AvrDude / Dudess will be happy. I too sun windows 10 Pro.
barry |
|
BINGO! All better. Thank you Barry and now I'll be able to update once my QCX gets here and I get it built.
Jim - W0EB |
|
Once I installed WinAvr, AvrDude installed fine. AvrDudess gave me the missing libusb0.dll error on the first try, but on a second shot, it installed just fine. AvrDudess talks to the Arduino and the computer now so I expect the isp programmer should work now. Sure feels better than it did yesterday LOL.
Thanks again for the help Barry. W0EB |
|
Barry Mercer
If you are successful, could you please come to my house :-) and tell me exactly how you did it? I tried that route and I'm pretty sure I bricked the chip! Or at least point me in the right direction!
Thanks Barry |
|
Hi Barry, Well, my QCX is still in transit somewhere (shipped a week ago Tuesday). I'll build it and get it working first with the supplied chip before I try to update it. One thing, did you erase the flash like Hans said to do? That sets the flash portion of the chip to all ones. Programming can only switch 1's to 0's and not the other way around. You might try erasing the flash (not sure yet how to do that but I suspect I'll figure it out) because if you don't do that first, the program gets scrambled and it looks like the chip is bricked. If the flash is erased and it still won't take, then's the time to ask Hans how to handle it. Read that tutorial by the Canadian ham on their website (it's a bit sketchy - pun intended regarding loading "sketches" into the arduino uno) Lots of good info there - just not how to solve the dreaded missing libusb0.dll problem which you graciously told me how to do and for that I thank you. Since I live in Kansas, coming to your house probably isn't in the cards, but if I am successfull in programming the chip using AvrDudess and the Arduino board, I'll definitely post how I did it. Jim
------ Original Message ------
From: "Barry Mercer" <Mercerbarry0@...>
Sent: 11/15/2017 12:24:22 PM
Subject: Re: [QRPLabs] Programming the QCX chip via Arduino revisited If you are successful, could you please come to my house :-) and tell me exactly how you did it? I tried that route and I'm pretty sure I bricked the chip! Or at least point me in the right direction! |
|
Barry Mercer
Jim,
Where exactly did you read that data from Hans please... can you point me in the right direction? im using the Arduino as well and AVR programming is proving to be an interesting challenge. And yes yes please please post 73 barry |
|
It is under Firmware. There's a link to a tutorial somewhere in there. Not where I can grab the link right now. On Nov 17, 2017, at 8:17 PM, Barry Mercer <Mercerbarry0@...> wrote:
|
|
Barry, this is the tutorial from the link on the QRP Labs QCX Firmware version history page. On Nov 17, 2017, at 8:17 PM, Barry Mercer <Mercerbarry0@...> wrote:
|
|
Note to Barry Mercer, if you follow that tutorial exactly, set up your arduino UNO as he specifies, connect the programming port on the QCX to the proper pins (spelled out in the tutorial) it will work. If you are running Windows 10, you need to download and run WinAvr first read a prior post in this thread. You will also need to first get the UNO talking to your computer and figure out which com port its on. Then after running WinAvr, AvrDudess should install. If it doesn't work the first time, install it again. It worked the second time for me. I just sucessfully re-flashed my processor on the QCX40 with a beta version that Hans sent me. I thought maybe the chip had gotten corrupted somehow, but even though it took the program and appears to be running OK, my display still only shows boxes.
------ Original Message ------
From: "Jim Sheldon" <w0eb@...>
Sent: 11/17/2017 8:38:38 PM
Subject: Re: [QRPLabs] Programming the QCX chip via Arduino revisited
|
|
I folowed the instructions from Simon VK3ELH.
except I use a Arduino Mega (ATmega 2560) wires are even the same colors. as in the instructions and the same pins gnd 13 12 11 10 the sketchs I load in the Arduino is Files >>examples>>11.arduinoISP>>ArduinoISP LEDS blinking all seems to run OK after than I do the CLI : avrdude-p m2500 -c stk500v2 -p /dev/ttyacm0 -B 115200 -f -u flashh:w:/home/pa3dsc/Downloads/T1.00e.hex LEDS are blinking again all seems OK in the terminal The last 3 lines are: avrdude: 31990 bytes of flash verified avrdude: safemode: Fuses OK (E:FD, H:D8, L:FF) avrdude done. Thank you. All seems to be OK. but when I restart the QCX stiil the 1.00C version is on the display. What do I wrong? IDEArduino 1.8.5 Ubuntu 18.04 the file is from groups.io -rw-rw-r-- 1 pa3dsc pa3dsc 90006 jul 27 23:51 T1.00e.hex |
|