Software :: Using Piklab And Trying To Burn Through /dev/ttyUSB0?
Feb 3, 2011
How can I program my PIC micro controller through the USB port using Piklab or Ktechlab IDE? I have already installed gputils,SDCC and Piklab!!
how to interface with the PIC boards ICSP through the USB port??( Db9 is not a choice for me as I have a Db15 pin in my laptop hence the need to work thru the USB)
I have been thinking of a USB to Serial along with a serial to ICSP converter but it turns out to be very slow!
I am running 11.2 64 bit on a Dell Vostro machine. I am unable to get piklab to connect to a PICKit 2 over USB. I have created a file /etc/udev/rules.d/26-microchip.rules which contains the line:
This gives a node /dev/bus/usb/006/002 with attributes crw-rw---- owner root group user. The device is rear/write to any member of the "users" group.In piklab the dialogue "Configure Piklab" reached through the menu Programmer->Settings... on the Preogrammer Selection the Port Selection tab displays USB Connection:Error.After much research I find that there may be problems with the libusb library under 11.2 so I try to see what is returned by lsusb. I enter the command:
sudo lsusb -v -s 006:002
this returns:
Bus 006 Device 002: ID 04d8:0033 Microchip Technology, Inc.
OS:FC13 x86_64, piklab 0.15.09The ICD 2 programmer is not seen either on the serial port or USB.lsusb shows
Bus 003 Device 003: ID 0d8c:0201 C-Media Electronics, Inc. CM6501 Bus 003 Device 002: ID 0a5c:2046 Broadcom Corp. Bluetooth Device Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Recently i acquired an electroencephalograph (EEG) and started to experiment with it, and i need some way to write or send a couple of Hex numbers to the EEG so it will start working, and then to save the data on text file, or at the very least see the output on the terminal using C or C++, i found some programs around the forums but none seem to work properly and more often than not, The EEG is recognized as /dev/ttyUSB0 has a baud rate of 921600.
Code: crw-rw---- 1 root dialout 188, 0 Nov 14 15:00 /dev/ttyUSB0 How can I get permanently Code: crw-rw---- 1 root uucp,dialout 188, 0 Nov 14 15:00 /dev/ttyUSB0
im running a wireless modem under ubuntu (10.10) now, when i first plug in the modem, and run the command wvdial everything is OK. BUT if i plug out the modem and try to plug in again and run the 'wvdial' command i can the error:
Code: "wvdial: cannot open ttyUSB0: no such file or directory.
i have been able to get on line running other linux os using the terminal first i type sudo modprobe -r usbserial & enter followed by sudo modprobe usbserial vendor=0x1199 product=0x120 & enter the last command is sudo dmesg|grep -i ttyusb. I have done this for years and it always has got me on line after the above i open kppp and select for modem /dev/ttyusb0 and click to verify kppp recognizes my sierra wireless usb modem and that is all i have ever had to do, plug in the usb modem type the three commands it comes back with confirmation the modem is attached to ttyusb0, ttyusb1 & ttyusb2 in kppp i click /dev/ttyusb0 and click quarry and get on line with suse11.1 it is not so the first command sudo modprobe -r usbserial comes back with a fatal error but the second and third command give me the same results saying i have attached the usbmodem to ttyusb0,1 & 2. but i cannot configure it in kppp.
i have tried researching on line but cannot find a similar thread. I believe the way i described above has worked on lindows 5.0, and it is how i do it with Mint which i can get on line with today. so i hope one of the wonderful millions of linux users will direct me as to what i am doing wrong. i am running amd 785 4 gb ram msi mainboard ms-7549 my modem is sierra wierless modem 595u (vendor=0x1199 product=0x120) connecting through Sprint pcs which requires no user name or password.
I'm trying to set rxtxSerial to work so a Java app has access to a serial port (via SiLabs CP210x driver, port /dev/ttyUSB0). When I use update-alternatives --config java, there are 3 alternatives which provide `java'. I have tried openJDK and Sun. Both fail but with completely different messages.
[ 3635.194162] usb 3-1: new full speed USB device using uhci_hcd and address 2 [ 3635.338159] usb 3-1: New USB device found, idVendor=066f, idProduct=4200 [ 3635.338165] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
I've tried a whole bunch of thigns but things keep crashing and i dunno what to do, I'm using FC14 really i just wanna do it all from the terminal but i dunno what commands or yum installs to use ive been trying for a couple days.I have .avi and i wanna burn them to play on a dvd player.
I have never burned a DVD to be used on a Linux box before. If I am burning a CD using a Windows program (not built-in burning), is there anything special I need to be aware of to make sure the DVD will be able to be read on Linux?
I have just installed Ubuntu 10.04 onto my Compaq Evo N1020v (quite old laptop) The installation seemed to install without any problems and all updates have been done in update manager. Ubuntu is the only operating system on the laptop. My problem is, neither of the file burning apps Brasero Disk Burner or Send to CD/DVD will detect my blank DVD's. Both apps detect the blank CD's without a problem. File browser is able to read data on this DVD type in fact I installed Ubuntu from a DVD of this type.
I've tried numerous times and different ISO's but I cannot seem to burn ISO's to CD+RW. I'm using Braseo CD Burner. All it does is make the disc have 0 bytes remaining and it acts as if it is a CD-R/CD+R
I have a dual boot system on a box with 3.6 ghz cpu, 4 gigs memory and 3/4 terrabyte hds. I cannot get a CD/DVD to burn using Brasero. Here is the log: Well here is the last part of the log. for some reason the forum software would not let me put it all in:
I want to burn some Ubuntu iso to pass to my my friends . I am myself new to Ubuntu . How to burn an iso image to cd with k3b and where to adjust speed to minimum .
I have a DVD burner in an external USB enclosure. It works fine for reading CDs and DVDs, and for burning DVD-R and CD-R discs, but I can't get it to write to any CD-RW discs, and rarely DVD-RW. (The DVD-RW has worked maybe 3 or 4 times out of dozens of attempts, and only using K3B) I have also had the same problem burning CD-RWs in a CD burner in a different USB enclosure. Brasero almost always displays 'No disc available' if a rewriteable disc is in the drive - sometimes after a couple of minutes it will display the correct volume label, but if I try to write to it, either blanking it or writing files to it, it goes back to displaying the 'No disc available' again.
K3B finds the disk and displays the volume label without any problem, but when I try to write to it K3B complains that it can't unmount the volume and fails, then ejects the disc. Gnome CD Master can't even find the burner regardless of the disk type! I'm baffled as to why this would be happening like this. All I can think of is that it's either an obscure permissions issue, or a USB issue. I have given myself every remotely relevant permission I can think of, but maybe there's some other security setting I don't know about.
The drive and mounted disc usually show up in file managers, but I have noticed that sometimes the drive will suddenly disappear from the mounted drive list, and become unresponsive. The only thing that gets the drive working again is to reboot the computer - just switching the drive off and back on again doesn't fix it - so I suspect maybe my Mint 9 installation (Gnome with KDE additions, but the problem has existed since I first installed it as pure Gnome) has some issues with the USB connections, but that's just a wild guess, and I've never had a problem using USB flash drives. I have used a variety of disc brands with no difference. Dare I say it, but Windows has no problems with any of this - any of these discs can be read, written, blanked and rewritten effortlessly in Windows. Sigh. At the risk of providing too much information I'm going to follow the advice from the Linux Mint forum, and include outputs for lsusb and lspci.
lsusb output:
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
I was attempting to burn an .iso using dd, I had used it before and remembered it being quite simple.
However I tried it today with:
I noticed it finished very quickly and now the cdr1 file inside /dev is six hundred megs or so. I don't think I can get the old file back so am wondering if I will need to reinstall, or if I should delete that file maybe it will rebuild on start up?
Should have I used another terminal command for burning .iso's to disk? What might the correct command be?
I installed Squeeze without a DE. Then I installed gdm and rhythmbox, but rhythmbox won't even react to the Create CD button. I have the brasero-cdrkit and cdrdao packages installed for brasero to burn audio CD's which works perfectly. I have the rhythmbox-plugin-cdrecorder package installed too, but no go. The CD spins up, but no dialogs at all from rhythmbox
I have been facing lot of problems installing debian with missing firmware until I found this file: URL....which I suppose it will include the missing firmware (bnx2-mips-09-6.2.1a.fw).I would like to ask what's the best way to burn the file on a DVD and make it bootable? any recommended free tool on Microsoft Windows?
For many moons I had no problem burning *.iso images on dvds on my Debian Lenny system.
I simply inserted a blank writable DVD disk into the burner followed the directions on the dialog window and it worked. Can't even remember the name of the software.
But, it's now stopped working.
1. I now get a small dialog that says "Blank DVD Inserted ... Make DVD."
2. I click on "Make DVD"
3. I get cd dvd creator. But window is blank; write to disk is grayed out-- as is "files... Browse Folders."
- This is not what I remember... and not all clear what to do next.
4. I tried installing K3B. But, it tells me it can't find a cd/dvd device on my system. But I have two a Sony DRX-830U connected through USB and generic installed on my system.
I have an internal ATAPI dvd burner/cd burner. It mounts whatever media I drop in just fine (cd or DVD), and will burn to CD media without a hitch. However, it seems to refuse to actually burn DVD's It has worked before when I was running PClinuxOS but started to burn coasters on an intermittant basis. I was having other issues with PC linuxOS so I have tried a few different distos since. All distros will read media and burn to CD, but I still can't burn a DVD. I have tried k3b, Braseo, and xfburn What error messages should I look for?
i have a file that i'm trying to burn and for some reason when the burn process completes i get the following error message: Error while burning.You do not have the required permissions to use this drive.i'm not sure why this is happening- is there something i have to set/enable to be able to use my DVD drive? i am using brasero to burn my dvd, and it appears that the failure occurs during the verification process.