Tiny Core Linux

Tiny Core Extensions => TCE Corepure64 => Topic started by: dqj_99 on May 03, 2017, 10:46:58 AM

Title: Corepure64 V8.0 Setserial
Post by: dqj_99 on May 03, 2017, 10:46:58 AM
Is it possible to get 'SetSerial' for V8.0 of Corepure64? I'm trying to debug a connection to a Carroll Touchscreen that uses serial comms. There doesn't seem to be drivers available from ELO for this device.

In XP it uses COM5 with IRQ 7 and I/O Addr: 3A0H. Can CorePure64 see this port?

Judging from my dmesg output, I've some doubts about this. It only seems to see tty0 to 3. The entire dmesg output is attached.

Derek
Title: Re: Corepure64 V8.0 Setserial
Post by: Rich on May 03, 2017, 10:58:41 AM
Hi dqj_99
See if the boot code  8250.nr_uarts=8  makes COM5 through 7 show up.
Title: Re: Corepure64 V8.0 Setserial
Post by: dqj_99 on May 03, 2017, 01:55:34 PM
Rich,

Thanks that's great. Now I can see the serial port and can see the data being generated on ttyS4 with Putty when the screen is touched.

I'll see if I can compile a driver that might work for it using the attached file. (I've had to split it into 2 parts using 7Zip to meet the restriction on file sizes imposed by this forum_)

Any further suggestions on doing that would be greatly appreciated.

Derek

Title: Re: Corepure64 V8.0 Setserial
Post by: Rich on May 03, 2017, 02:46:07 PM
Hi dqj_99
Quote
Any further suggestions on doing that would be greatly appreciated.
You'll want to install  compiletc.tcz  so you have a proper toolchain. Should you wish to, the Wiki has instructions on how
to package and submit extensions. Also, forum rules forbid attaching binary files to posts in case you feel like sharing, they
must be submitted to the repository.
Title: Re: Corepure64 V8.0 Setserial
Post by: dqj_99 on May 03, 2017, 02:57:33 PM
Thanks Rich,

I'll try that out.


Derek