LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
UsbAsp programmer
#1
I have just bought a Usbasp programmer for updating the firmware on my quadcopter.Will this work with Linux Lite or do I need to do something to make it work.Will LL detect it when I plug it into my usb port .

Thanks

John
Reply
#2
I know nothing about this, but I did find an article that looks like it might help.

http://fos.cmb.ac.lk/esl/programing-avr-...04-usbasp/
“I have not failed. I’ve just found 10,000 ways that won’t work.” - Thomas Edison
Reply
#3
The author's webpage says that no kernel driver is needed:
http://www.fischl.de/usbasp/

Then it depends what application is recommended  for the firmware update. Quite usual is AVRdude and that is available.
"Simplicity is the ultimate sophistication." - Leonardo da Vinci
Reply
#4
After a quick search in "Install/Remove Software" the avrdude package is available just type "avrdude" in the quick filter box at the top.
“I have not failed. I’ve just found 10,000 ways that won’t work.” - Thomas Edison
Reply
#5
Thanks lads,I have now installed avrdude and now have to wait for my programmer to arrive.

John
Reply
#6
Hi,

Just to add to the comments.
I have a bunch of radio type devices I plug into LL, that all work.
You can check if it is recognised by LL

Before plugging in the device, open a terminal(crtl+T), and type:
Code:
lsusb
You should get something like:
Code:
dave@hp-lappy1:~$ lsusb
Bus 001 Device 002: ID 8087:8000 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 004: ID 0eef:a107 D-WAV Scientific Co., Ltd
Bus 002 Device 003: ID 0781:5571 SanDisk Corp. Cruzer Fit
Bus 002 Device 002: ID 0bda:571a Realtek Semiconductor Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Now plug in the device, and do the lsusb command again
This is with one of my Radio devices plugged in:
Code:
dave@hp-lappy1:~$ lsusb
Bus 001 Device 002: ID 8087:8000 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 004: ID 0eef:a107 D-WAV Scientific Co., Ltd
Bus 002 Device 003: ID 0781:5571 SanDisk Corp. Cruzer Fit
Bus 002 Device 002: ID 0bda:571a Realtek Semiconductor Corp.
Bus 002 Device 014: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
You can see a new device FT232. The most common devices are FTDI & Prolific

One final thing, I did have an initial issue.
The way some USB devices communicate need you to be added to a certain "Group"
To avoid any possible issues, I suggest you do that before plugging in the device.
Do the following command in a terminal. You only need to do it once, you can do this now.
Code:
sudo usermod -aG dialout username
Just replace username with your LL username.

GL
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks Smile

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
Reply
#7
Thanks for that Wirezfree,most useful

John.
Reply
#8
Just tried to flash my kk board with my usbasp and it says the unit is not recognizes so unable to open it.

this is the message I am getting

AVRDUDE Warning cannot open USB device
Permission denied
avrdude error could not find usb device with vid=0x16c0 pid=0x5dc vender=www.fischl.de product=USBasp

Error during writing flash

Hope someone can tell how I can make it recognize the usb port the programmer is using.

Thanks

John
Reply
#9
what are the outputs from the above commands i gave.?

Update:
Given this requires a specific piece of Hardware,
it maybe difficult to help unless somebody happens to have one...

There's lot's on this topic if you Google:
ubuntu avrdude error could not find usb device with vid=0x16c0 pid=0x5dc vender=www.fischl.de product=USBasp

Like this one: Dirty Fix
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks Smile

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
Reply
#10
I have tried the "Quick and Dirty fix" and it seems to work.
"Simplicity is the ultimate sophistication." - Leonardo da Vinci
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)