!PC has troubles with serial line, and sometime it freezes the kb
Pages: 1 2
ivelegacy (2674) 139 posts |
hi I am equipped with
bad behaviors
I am not expert about RiscOS, I am writing here to get some tips |
ivelegacy (2674) 139 posts |
Within DOS, a good serial terminal is Procomm.exe, it works pretty good with NULL-modem equipment, I can’t say a world about handshake. |
Rick Murray (539) 13840 posts |
…Hearsay. It is free, now, and it is in !Store. Or on David’s website. |
Ronald May (387) 407 posts |
…Hearsay. Have you had this going on a Raspberry with Tank’s driver? Edit: pdf p190 (182) has a bit on the subject of Serial versus SerialDev blockdrivers Note: the correct driver for RiscPC is normally the InternalPC.driver, The Internal.driver refers to older Acorn |
ivelegacy (2674) 139 posts |
what have I to do and install with a fresh install of RiscOS v4.39 ? |
Rick Murray (539) 13840 posts |
You do understand that RISC OS 4.xx is nothing to do with us – so very specific questions might be problematic if there are differences between our versions of RISC OS and the ROLtd branch. For what it’s worth, the PC co processor worked okay on my RiscPC with no keyboard weirdness and I used internal serial to talk to an EPROM programmer with its DOS software. |
Steve Pampling (1551) 8170 posts |
Haven’t run the PC card in ages, but I do recall a few changes between 3.70 and 4.021 (as well as a few with the StrongARM 3.60 → 3.70 upgrade) 1 Don’t recall what offhand, it was a few years ago after all. |
ivelegacy (2674) 139 posts |
> to talk to an EPROM programmer with its DOS software. you do understand that “it works” does not mean anything! What does work ? Does the handshake work ? Does the break work ? With a NULL modem setup, !PC/PRO DOS is perfectly able to run Procomm.exe in order to connect a DataMan S4 EPROM programmer to internal serial, and it works marvelous, while cougar.exe and evm.exe are NOT working at all, this because 1) there is certainly a bug in the handshake level I am posting here because I’d like to hear a developer’s opinion, or just to collect a few tips if it’s not the best place to ask, let me know where I have to post. |
Steve Pampling (1551) 8170 posts |
Unfortunately the PCPro software is a legacy item. As Chris Evans mentioned in the other thread you referenced: “n.b. The !PC/Pro authors have left the RISC OS scene a long time ago.” When he says a long time he means about 15 years ago. At least one of the programmers1 of the application has a web presence easy to find. Whether he recalls anything of the work he did2 other than that he did it is an interesting question. Of course the fact that the OS has changed since he wrote the app doesn’t help either. 1 Wookey |
Ronald May (387) 407 posts |
I am looking at on line manual for the M68300PFB and it states Do you get that far? |
ivelegacy (2674) 139 posts |
What a mess! See the photos I have included in the other thread and note the EVS board is composed by two modules! The problem with the !PC/PRO serial is not related to the CPU32bug firmware, which is working perfectly with a common terminal like procomm.exe, the problem is cougar.exe which talks to the BBCDI module, that is strongly using BREAK signals and HANDSHAKE lines. There is a debug processor chip on the EVS board, this chip has nothing to deal with the 68332 CPU (except they fact they are linked through a BDM connection, and they partially share resources), the BBCDI module is based on a special 68HC11 chip plus a custom ASIC companion. Please note there are two DB9 connectors on the EVS board, see this photo, you can see the 68332 module on the left and the BBCDI module on the right. EVS.COM1: to CPU32Bug, 68332 CPU’s serial line → NULL MODEM setup, perfectly working, it talks with a human protocol, so you can use the uart terminal App you like My Logic Analyzer tells me there are “break” events on the serial line, and a strong use of the handshake lines. I haven’t understood yet exactly where is the problem. Also, the EVM (56002 DSP Evaluation Board) is not working too, again the board has a debug processor (based on 6805), its control program is called EVM.exe and under !PC/pro it goes out of synchronism quite immediately, while it works perfectly with a laptop. |
ivelegacy (2674) 139 posts |
I’d like to buy a RiscOS v3.* PROM to test the PC/PRO v2 with cougar.exe. Maybe the bug is older than how we believe =D |
Rick Murray (539) 13840 posts |
Why would I know any of that? I connected the (borrowed) EPROM programmer to the RiscPC with the (PC wired) serial lead provided. I loaded the DOS software. I was able to retrieve ROM images from the programmer, and send new images to write to ROM. Given that I reprogrammed the firmware in my Econet FileStore with a slightly later version that somebody sent me, I would say that this particular piece of hardware worked (using the standard definition of “it works” meaning “it isn’t broken”) and as such, no further investigation was necessary. Perhaps it was using 9600bps with XON/XOFF? I don’t know. I just know I plugged it in, loaded the software, and got on with it. What raises a flag for me is you said:
It sounds like Cougar has protocol that hasn’t been designed very well. That would probably fail on my (real) PC when it is very busy (like when the anti-virus updates itself). 50msec (5cs?) is short. Given we’re talking serial, it doesn’t leave a lot of leeway. By the way – !PC. Are you running it windowed or full screen? I find full screen is faster (and less distracting).
What do you mean regarding “binary” and “human”? Data is data – the serial hardware (running at 8N1) doesn’t make a distinction. |
Ronald May (387) 407 posts |
The problem with the !PC/PRO serial is not related to the CPU32bug firmware, which is working perfectly with a common terminal like procomm.exe I see, but I can’t find technical details of the main board. |
ivelegacy (2674) 139 posts |
@Rick Murray @Ronald May |
Steffen Huber (91) 1953 posts |
I think I mentioned it before – there is no general handshaking problem with !PC and the serial port. I used to transfer rather a lot of data via the serial port and various modems which absolutely relied on hardware handshaking working. Your problem with cougar.exe sounds like a hardware timing problem. I bet there are also real PCs out there that won’t be able to run it reliably. Trying to fix !PC to be able to run it reliably sounds like a lost cause. Is there a special reason why you need to run it under the PC card? |
ivelegacy (2674) 139 posts |
Have you also tested breaks ? |
ivelegacy (2674) 139 posts |
also, as reported above, the keyboard sometimes get freezed under !PC/Pro, and I physically need to unplug in order to reset. |
Ronald May (387) 407 posts |
http://www.freescale.com/files/soft_dev_tools/doc/data_sheet/M68340EVS.pdf Maybe this alternate port could be worth trying? |
Steve Pampling (1551) 8170 posts |
I’ve seen that on real PC’s (back in the 90’s) where the PC keyboard/mouse driver couldn’t handle hardware that was faster than expected. Software polling loop missed the returned data.1 We got a rewritten driver set from Microsoft via Apricot (their boards were well designed and basically faster than pretty much everything else around) 1 Basically PC’s generally had a really shitty OS on them. |
ivelegacy (2674) 139 posts |
@Ronald May it’s not an “alternate port”, that port is the only one you have to use if you want to talk with the debug processor. There are no other possibilities to talk with the debug processor (already explained above), and certainly I have already tried. That documents is telling you that you have two levels of debugging
|
ivelegacy (2674) 139 posts |
@Steve Pampling I am using MSDOS-v6.22, and I had to remove ALL the lines about the keyboard in both config.sys and autoexec.bat. Without commenting these lines I get strange behavior with TurboC, TurboPascal and other stuff, while If I use DRDOS, I get a completely corruption of the disk D: and it means data lost and bad things. I haven’t tried PC-DOS because I do not have it Any tips ? Do you need to see my config.sys and autoexec.bat ? I could post here. |
Steve Pampling (1551) 8170 posts |
Ah, that was the version supplied with the cards when Aleph1 were still in business. It did seem to work better for many things.
I’m afraid I’m totally on memories of very old setups. I have been giving the info I recall. I haven’t done any PC maintenance for over 12 years.1 I would suggest you post the current config.sys and autoexec here so that others can comment. 1Truth be told, since I got people using imaging software the even guys in desktop support drifted to re-imaging rather than fixing niggling problems. I spend my time dealing with esoteric “network” problems, most of which turn out to have no network aspect at all. |
Ronald May (387) 407 posts |
it’s not an “alternate port" The way I read it they are talking about two ports for EVSbug which is different to 340bug. I assumed they are talking about the connector on the board by the gold topped processor. (in your photo) I can recall using dosv5 or similar because it was smaller and was adequate for running things. |
ivelegacy (2674) 139 posts |
I’d like to write a few C/Pascal sources in order to verify the serial line is fully working under !PC/Pro. I do not trust it is, especially with breaks, also I’d like to check how good is the PIC under PC. I am going to post the full autoexec.bat and config.sys. Next post, I will shoot as “disruption-workaround”. It’s not a fix up. About PC-DOS, i’d like to know why/where it’s better than MSDOS, because I have to purchase it (more money). |
Pages: 1 2