Zenwalk Linux with serial port

mrock

New Member
Machine:
old desktop with "real" serial port
CPU i686 Celeron (Coppermine) 700 MHz
Zenwalk Linux 4.8 (updated to 5) Kernel 2.6.23.12

Picaxe:
picaxe18X on micro-robot AXE120 with self-made 3 wire serial cable

1 - I need to add my user to "tty" group to have serial port access

2 - compiler has the following error:
./compiler/picaxe18x: error while loading shared libraries: libpcre.so.3: cannot open shared object file: No such file or directory

3 - my distro has libpcre.so.0 installed and doesn't have libpcre.so.3 in the repository, so a simple command
root[picaxe]# ln -s /usr/lib/libpcre.so /usr/lib/libpcre.so.3
does the trick
(I've read on http://sness.blogspot.com/2008/06/libpcreso3.html "they just unilaterally chose to rename libpcre as version 3 for some reason")

4 - compilation and downloading is OK with debugging info too

marco[picaxe]$ compiler/picaxe18x -c/dev/ttyS0 -d SpeedCal.bas

PICAXE-18X Enhanced Compiler. Version 0.1
Copyright (c) 1996-2008 Revolution Education Ltd
All rights reserved.
www.picaxe.co.uk

Compiled successfully.
Memory used = 205 out of 2048 bytes.

Searching for hardware on /dev/ttyS0.
Downloading program.
.................
Downloading data.
.................

PASS - programmed PICAXE-18X v8.4 successfully.

Debug Display - Press <Enter> to exit...

b0 b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b12 b13
=======================================================
000 009 064 000 000 000 000 000 000 000 000 000 000 000

Thanks for the good work!

ciao
marco
 
Top