Author Topic: CPS8256 serial port reliability  (Read 797 times)

0 Members and 1 Guest are viewing this topic.

Offline JonB

  • 6128 Plus
  • ******
  • Posts: 752
  • Country: gb
  • Liked: 203
  • Likes Given: 48
CPS8256 serial port reliability
« on: 12:15, 28 February 17 »
Hi


Anyone have experience using the CPS8256 serial / parallel port on the PCW? I ask because I am encountering lots of transfer failures via Kermit at 2400 baud (!) . I am using 2400-8-N-1 setup with no hardware handshaking. I've done this previously (on a big Tandy machine) and got reliable transfers at 9600 baud.


Cheers
JonB

Offline jevicac

  • CPC664
  • ***
  • Posts: 61
  • Country: es
  • Liked: 59
  • Likes Given: 13
Re: CPS8256 serial port reliability
« Reply #1 on: 13:45, 28 February 17 »
« Last Edit: 13:57, 28 February 17 by jevicac »

Offline GeoffB17

  • 6128 Plus
  • ******
  • Posts: 617
  • Country: gb
  • PCW since '85
  • Liked: 135
  • Likes Given: 7
Re: CPS8256 serial port reliability
« Reply #2 on: 15:13, 28 February 17 »
Jon,


Long, long ago, I did a certain amount of transferring using the CPS module.


This was linking the PCW to an Epson HX-20, and also to a BBC.


Can't remember what parameters I was using, I'm sure something faster than 2400.   I don't remember ever having any problems.


I used progs in BASIC, C and also the MAIL232 prog supplied.   Never did much linking to the PC (if any ?) as it was easier to use disks.


I'll try to find some of the progs I was using.   I'll have the code somewhere, 'filed' on a disk?


Geoff

Offline GeoffB17

  • 6128 Plus
  • ******
  • Posts: 617
  • Country: gb
  • PCW since '85
  • Liked: 135
  • Likes Given: 7
Re: CPS8256 serial port reliability
« Reply #3 on: 19:14, 01 March 17 »
Jon,


Still having the problems?


I've now found some (?) of my bits about the link I was doing.


As far as I can tell, the prog I was using to link the PCW to the HX-20 was for transferring FROM the HX-20 to the PCW.   I don't think I was running anything the other way.


The prog I'd done is actually Z80 ASM.   The prog is using software handshaking, i.e. ACK/NAK with a CHK, with any hardware hs turned off.   Looks like I was using SETSIO at the PCW end to prime the PCW SIO.   I seem to have 3 versions of the prog, the last version had an option to define the receive drive (A:, B: or M:), so I think the changes were not THAT great?   I cannot remember what speed I was using, may in fact have been no more than 2400, but I was using a fairly long cable, prob null modem.


If any of the prog I did is useful, let me know.   I've still got the .ASM files as well as some .COM


Geoff

Offline JonB

  • 6128 Plus
  • ******
  • Posts: 752
  • Country: gb
  • Liked: 203
  • Likes Given: 48
Re: CPS8256 serial port reliability
« Reply #4 on: 09:57, 02 March 17 »
Hi Geoff


I'd love to see your program (asm and com) if you're willing to share.


Meanwhile I think I may have worked out what the problem is, after looking at some Amazon reviews of various serial port adapters. One of them said the adapter in question needed a powered USB hub because his PC didn't put out enough juice to run the adapter. That struck a chord as I use a small laptop with a hub connected to a keyboard and wireless mouse. So I plugged a 1A power supply into the hub and so far I am getting a reliable 9600 baud transfer with no handshake.


Wish I'd sussed this out sooner. I've been  building an image for uIDE at 2400 baud and so far it's taken days..  :picard: