LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-29-2009, 06:51 PM   #1
1mela
Member
 
Registered: Apr 2009
Posts: 38

Rep: Reputation: 15
Post How to mount Atmel USB kit ?


I got ATMEL AT89S52 USB kit .

after lsusb I got
Bus 001 Device 012: ID 0403:fa38 Future Technology Devices..........

Which /dev/... mount to ,for communication ?

Last edited by 1mela; 04-29-2009 at 06:55 PM.
 
Old 04-29-2009, 07:09 PM   #2
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Try "fdisk -l"
or "dmesg | tail"
or "mount"


should be "mount /dev/sdxx /mnt/sdxx" "xx" equals your usb name (sdf1/sde1/sdb1, etc)
 
Old 04-29-2009, 07:44 PM   #3
1mela
Member
 
Registered: Apr 2009
Posts: 38

Original Poster
Rep: Reputation: 15
i tried every possible sd*
avrp -s /dev/sda

even

avrp -s /dev/ttyS0

Error: Not a valid programmer type reported
Possibly no programmer connected
 
Old 04-29-2009, 07:59 PM   #4
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
what distro are you using?
use gparted to see device
open gparted
click "gparted" button at top left
select devices/your device
it will graphically show you the usb
 
Old 04-29-2009, 08:13 PM   #5
1mela
Member
 
Registered: Apr 2009
Posts: 38

Original Poster
Rep: Reputation: 15
i got debian lenny on eee pc
but still doesnt matter if it is plug or out
mount
fdisk -l
gparted

still same outcom

but after lsusb I got
Bus 001 Device 012: ID 0403:fa38 Future Technology Devices..........

after dmesg | tail
[512009.312088] usb 1-2: USB disconnect, address 17
[512016.440325] usb 1-2: new full speed USB device using uhci_hcd and address 18
[512016.630155] usb 1-2: configuration #1 chosen from 1 choice
[512016.639470] usb 1-2: New USB device found, idVendor=0403, idProduct=fa38
[512016.639483] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[512016.639489] usb 1-2: Product: USB51KIT
[512016.639493] usb 1-2: Manufacturer: EFS & Co.
[512016.639497] usb 1-2: SerialNumber: 7D153ABB
 
Old 04-29-2009, 08:21 PM   #6
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
i know nothing about eec's, and Lenny has given me so many issues I got rid of it.
what desktop are u using in Lenny-Gnome?
 
Old 04-29-2009, 08:26 PM   #7
1mela
Member
 
Registered: Apr 2009
Posts: 38

Original Poster
Rep: Reputation: 15
yes lenny-gnome
maybe I need better bootloader for mine kit
 
Old 04-29-2009, 08:32 PM   #8
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
I use Kingston USB's 2GB and 4GB they work great
 
Old 04-29-2009, 08:37 PM   #9
1mela
Member
 
Registered: Apr 2009
Posts: 38

Original Poster
Rep: Reputation: 15
i mean monitor loader for programing ,like avpr
 
Old 04-29-2009, 09:50 PM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,675

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
I believe the device is a USB serial port and is not mountable. The device ID should be /dev/ttyUSB0.
Try avrp -s /dev/ttyUSB0

For the curious the ATMEL AT89S52 is an 8 Bit microprocessor derivative of the Intel 8051. The 8051 was developed in 1980 and I have used them in many projects over the years.

avrp is the programmer application. If the above command does not work then there could be other reasons why you are having problems.

Does /dev/ttyUSB0 exist. If not post the output of the lsmod command.

Not sure what FTDI chipset this device uses but most modules should hopefully be included.
 
Old 04-29-2009, 11:05 PM   #11
1mela
Member
 
Registered: Apr 2009
Posts: 38

Original Poster
Rep: Reputation: 15
Hi
i dont get ttyUSB0 ,only ttyS0 and this not work

Error: No response to command: Return programmer type (p)
/dev/ttyS0: No programmer found

maine lsmod

Module Size Used by
nls_utf8 1760 0
nls_cp437 5568 0
vfat 9184 0
fat 40896 1 vfat
nls_base 6820 4 nls_utf8,nls_cp437,vfat,fat
usbhid 35904 0
hid 33184 1 usbhid
ff_memless 4392 1 usbhid
i915 25280 1
drm 65192 2 i915
binfmt_misc 7528 1
ppdev 6500 0
parport_pc 22500 0
lp 8164 0
parport 30988 3 ppdev,parport_pc,lp
cpufreq_userspace 3172 0
cpufreq_ondemand 6476 0
cpufreq_powersave 1856 0
cpufreq_conservative 5960 0
cpufreq_stats 3776 0
freq_table 4224 2 cpufreq_ondemand,cpufreq_stats
nf_conntrack_ftp 6852 0
nf_conntrack_irc 5124 0
ipt_LOG 5028 5
xt_limit 2180 5
xt_state 2016 17
xt_tcpudp 2816 10
nf_conntrack_ipv4 12268 17
nf_conntrack 55540 4 nf_conntrack_ftp,nf_conntrack_irc,xt_state,nf_conntrack_ipv4
ipv6 235364 16
iptable_filter 2624 1
ip_tables 10160 1 iptable_filter
x_tables 13284 5 ipt_LOG,xt_limit,xt_state,xt_tcpudp,ip_tables
pciehp 28540 0
pci_hotplug 23460 1 pciehp
uvcvideo 45704 0
compat_ioctl32 1312 1 uvcvideo
videodev 27520 1 uvcvideo
v4l1_compat 12260 2 uvcvideo,videodev
psmouse 32336 0
snd_hda_intel 325688 7
serio_raw 4740 0
snd_pcm_oss 32832 0
snd_mixer_oss 12320 1 snd_pcm_oss
rng_core 3940 0
snd_pcm 62596 4 snd_hda_intel,snd_pcm_oss
i2c_i801 7920 0
iTCO_wdt 9508 0
i2c_core 19828 1 i2c_i801
video 16432 0
output 2912 1 video
snd_seq_dummy 2660 0
battery 10180 0
ac 4196 0
eeepc_laptop 7440 0
button 6096 0
snd_seq_oss 24992 0
snd_seq_midi 5728 0
snd_rawmidi 18528 1 snd_seq_midi
atl2 22744 0
snd_seq_midi_event 6432 2 snd_seq_oss,snd_seq_midi
snd_seq 41456 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 17800 4 snd_pcm,snd_seq
snd_seq_device 6380 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd 45604 19 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_de vice
intel_agp 22556 1
agpgart 28776 3 drm,intel_agp
soundcore 6368 1 snd
snd_page_alloc 7816 2 snd_hda_intel,snd_pcm
evdev 8000 7
ext3 105512 6
jbd 39444 1 ext3
mbcache 7108 1 ext3
usb_storage 77024 0
sd_mod 22200 9
ide_pci_generic 3908 0 [permanent]
ide_core 96136 1 ide_pci_generic
ata_piix 14180 7
ata_generic 4676 0
ahci 23596 0
libata 140416 3 ata_piix,ata_generic,ahci
scsi_mod 129324 3 usb_storage,sd_mod,libata
dock 8304 1 libata
ehci_hcd 28396 0
uhci_hcd 18672 0
usbcore 118224 6 usbhid,uvcvideo,usb_storage,ehci_hcd,uhci_hcd
thermal 15228 0
processor 32544 2 thermal
fan 4164 0
thermal_sys 10856 4 video,thermal,processor,fan
 
Old 04-30-2009, 02:16 PM   #12
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,675

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
Can you post a website that provides information on the USB kit?
As a quick test try the following command:
modprobe ftdi_sio (must be root)

Post the errors and see if the device is not being recognized and you have a /dev/ttyUSB0 being created.

For more information.
http://ftdi-usb-sio.sourceforge.net/

All of this is an educated guess based on the information provided.
 
Old 05-01-2009, 01:42 AM   #13
1mela
Member
 
Registered: Apr 2009
Posts: 38

Original Poster
Rep: Reputation: 15
After modprobe ftdi_sio I get only folder /dev/fd and /proc

ls /dev/fd
0 1 2 3

lsmod
Module Size Used by
ftdi_sio 44200 0
usbserial 26472 1 ftdi_sio
 
Old 05-01-2009, 05:17 AM   #14
1mela
Member
 
Registered: Apr 2009
Posts: 38

Original Poster
Rep: Reputation: 15
there is TL061 coverter with TTL level on RS-232 binary data signal
 
Old 05-01-2009, 06:42 AM   #15
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,675

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
And no /dev/ttyUSB0 was created?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Atmel offer $500 AVR dev kit with Linux and GNU debugger LXer Syndicated Linux News 0 06-27-2006 04:54 AM
Atmel USB wireless troubles Cheater512 Linux - Hardware 2 04-05-2006 05:43 PM
Atmel USB card in Suse 9.3 d3viant Linux - Wireless Networking 8 05-08-2005 12:01 PM
Atmel Wireless USB adapter vs 2.6.9 Sader Slackware 5 11-20-2004 12:23 AM
Atmel USB problems... brx Linux - Wireless Networking 0 11-18-2004 05:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration