picaxe cable & CP2102

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
jcat
Level 1
Level 1
Posts: 35
Joined: Fri Feb 17, 2017 12:03 am

picaxe cable & CP2102

Post by jcat »

using Dmesg i found the axe027 picaxe cable and the CP2102 adepter but do not know how to get mint 18.1 to access them can some one help
2 articles I have read do not work they were for a different linux and dated 2014


Code: Select all

[ 1523.228174] usb 4-1: new full-speed USB device number 4 using ohci-pci
[ 1523.403754] usb 4-1: New USB device found, idVendor=0403, idProduct=bd90
[ 1523.403761] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1523.403766] usb 4-1: Product: AXE027 PICAXE USB
[ 1523.403768] usb 4-1: Manufacturer: Revolution
[ 2318.054749] usb 8-2: new full-speed USB device number 2 using xhci_hcd
[ 2318.232113] usb 8-2: New USB device found, idVendor=10c4, idProduct=ea60
[ 2318.232120] usb 8-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2318.232124] usb 8-2: Product: CP2102 USB to UART Bridge Controller
[ 2318.232127] usb 8-2: Manufacturer: Silicon Labs
[ 2318.232130] usb 8-2: SerialNumber: 0001
[ 2319.311458] usbcore: registered new interface driver usbserial
[ 2319.311479] usbcore: registered new interface driver usbserial_generic
[ 2319.311494] usbserial: USB Serial support registered for generic
[ 2319.323610] usbcore: registered new interface driver cp210x
[ 2319.323632] usbserial: USB Serial support registered for cp210x
[ 2319.323674] cp210x 8-2:1.0: cp210x converter detected
[ 2319.323867] usb 8-2: cp210x converter now attached to ttyUSB0
jcat
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
WharfRat

Re: picaxe cable & CP2102

Post by WharfRat »

I don't know nor do I understand what that dingy is/does even after reading this page

Did you try the linux instructions there :?:
jcat
Level 1
Level 1
Posts: 35
Joined: Fri Feb 17, 2017 12:03 am

Re: picaxe cable & CP2102

Post by jcat »

Thank you Wharfrat im new to linux mint18.1
I went to what you suggested and ?
sudo modprobe ftdi_sio (accepted)
sudo chmod 777 /sys/bus/usb-serial/drivers/ftdi_sio/new_id (commond not found Sudo chmod 777)
sudo echo "0403 bd90" > /sys/bus-serial/drivers/ftdi_sio/new_id (no such file in directory)

Older version of linux
Sudo modprobe ftgi_sio vendeor=0x0403 product=0xbd90 (accepted)
sudo adduser your name dialout (cat dialout)(adding user 'cat' to group dialout
(adding user cat to group dialout)
(Done)

Ls /dev (no sign of tty USB

As you will see I have no idea what it is all about 9 as each eg: ls /dev im adding it to a book so I have a record of what commands work)

jcat
WharfRat

Re: picaxe cable & CP2102

Post by WharfRat »

The line

Code: Select all

sudo echo "0403 bd90" > /sys/bus-serial/drivers/ftdi_sio/new_id  (no such file in directory)
is incorrect. It should be /sys/bus/usb-serial/drivers/ftdi_sio/new_id

I tried those commands on my system and they worked

Code: Select all

[bill@XPS] ~ $ sudo modprobe ftdi_sio
[bill@XPS] ~ $ sudo chmod 777 /sys/bus/usb-serial/drivers/ftdi_sio/new_id
[bill@XPS] ~ $ sudo echo "0403 bd90" > /sys/bus/usb-serial/drivers/ftdi_sio/new_id
[bill@XPS] ~ $ cat /sys/bus/usb-serial/drivers/ftdi_sio/new_id
0403 bd90
[bill@XPS] ~ $ 
All I can suggest is try it again and copy & paste the commands from that site, don't retype them :wink:
jcat
Level 1
Level 1
Posts: 35
Joined: Fri Feb 17, 2017 12:03 am

Re: picaxe cable & CP2102

Post by jcat »

Hi WharfRat I did a copy and paste and they worked

The question now is what do I do with them?

Are you using Picaxe I think it is axPad ?

If you are can you lead me through the next steps ?

after that I need to get a CP2102 convert to work ?

and as the new mother board does not have serial ports on the back of it I have added a cpi to serial card which from the Internet searches lots of people can not get to work

but lets see if picaxe (axpad) can be made to work

Thanks for you time and help jcat
WharfRat

Re: picaxe cable & CP2102

Post by WharfRat »

Sorry, I really can't be of any help at all with this device.

Out of curiosity I did a search and came across the site that I directed you to.

As I stated in my first reply I don't have any idea what that thing is :?
jcat
Level 1
Level 1
Posts: 35
Joined: Fri Feb 17, 2017 12:03 am

Re: picaxe cable & CP2102

Post by jcat »

Hi WharfRat and others

From a www.reuk.co.uk/wordpress/ site
cat@jcat ~/picaxe $ mkdir picaxe (New Directory)
cat@jcat ~/picaxe $ cd picaxe (moved into the directory)
cat@jcat ~/picaxe $ wget http://www.rev-ed.co.uk/software/picaxe.tgz (downloaded compilers)
cat@jcat ~/picaxe $ tar -xzvf picaxe.tgz (extracted the compilers)
cat@jcat ~/picaxe $ ls (checking the contents of the directory)

I have done this so the compilers are now on the computer in PICAXE directory
I guess the next step is to try and down load linux picaxe and see where that leads to

The picaxe cable is what is needed to join the board that the 08m+2 picaxe chip is in and write the program to it.

the article says ls /dev the following file should be listed : ttyUSB0 (but I mine it is not)

Jcat
red03golf
Level 2
Level 2
Posts: 96
Joined: Tue Feb 09, 2016 10:32 pm

Re: picaxe cable & CP2102

Post by red03golf »

Tin-foil hat? - Check!!
WharfRat

Re: picaxe cable & CP2102

Post by WharfRat »

So that's used to burn a chip :?:

I think this is way beyond my pay grade :?
jcat
Level 1
Level 1
Posts: 35
Joined: Fri Feb 17, 2017 12:03 am

Re: picaxe cable & CP2102

Post by jcat »

Hi Lanser I tried out the Linux picaxe installation option 2 but they do not say how or where to save the file to ?

Looking up create your own udev rules the (tail -f does not work on mint)

sudo fdisk -l (does work) but I do not see the picaxe cable or a USB harddrive I pluged in)

Its a pity that all the different people writing the different versions of linux could get to gather and make one that really works the serial is still required !

It seems that old , how to do its are out of date as each version changes

Can any one else join in and give some help

jcat
Hoser Rob
Level 20
Level 20
Posts: 11796
Joined: Sat Dec 15, 2012 8:57 am

Re: picaxe cable & CP2102

Post by Hoser Rob »

jcat wrote:Thank you Wharfrat im new to linux mint18.1
I went to what you suggested and ?
sudo modprobe ftdi_sio (accepted)
sudo chmod 777 /sys/bus/usb-serial/drivers/ftdi_sio/new_id (commond not found Sudo chmod 777)
sudo echo "0403 bd90" > /sys/bus-serial/drivers/ftdi_sio/new_id (no such file in directory)

Older version of linux
Sudo modprobe ftgi_sio vendeor=0x0403 product=0xbd90 (accepted)
sudo adduser your name dialout (cat dialout)(adding user 'cat' to group dialout
(adding user cat to group dialout)
(Done)

Ls /dev (no sign of tty USB

As you will see I have no idea what it is all about 9 as each eg: ls /dev im adding it to a book so I have a record of what commands work)

jcat
If there's one thing you need to learn is that blindly copying and pasting things into the terminal is NOT the way to go in Linux. There is a lot of out of date info out there, and since backwards compatibility doesn't work in Linux like it does in Windows, things that worked in older mint/ubuntu releases have a nasty tendency NOT to work in newer ones.

And since nobody here seems to have a damn clue what this thing is I'd suggest the Picaxe support forum:

http://www.picaxeforum.co.uk/
For every complex problem there is an answer that is clear, simple, and wrong - H. L. Mencken
Locked

Return to “Beginner Questions”