Page 1 of 1

usb serial connect to 02sxb probs

Posted: Thu Nov 28, 2019 12:27 pm
by Collen
Hi,

i'm trying to connect my 02sxb board to the computer (usb)
the most basic thing you need to getting started.

it does connect (Connected to SXB at 9600 baud) , but then it all ends...
no Mensch Monitor.
i used easySXB and Putty.. no luck on both (same behavior)
tried COM1, COM3.. no go

but it does communicate, i can use the 'GET' button and get the info.

Where do i go wrong....?!

Re: usb serial connect to 02sxb probs

Posted: Thu Nov 28, 2019 6:18 pm
by GaBuZoMeu
what about RTS/CTS ?

Re: usb serial connect to 02sxb probs

Posted: Thu Nov 28, 2019 8:23 pm
by Collen
GaBuZoMeu wrote:
what about RTS/CTS ?
Nope does not work either..

I'm under the impression that there is no mensch monitor on the w65c02sxb.
and that you have to run or connect to it through the wdcdc (debugger)
but the debugger is doggy.. it give me adresses like 00:8000 instead of the 8000
the scroll button of the mouse ain't working and there is a heap of other complains
about this program... (like not function proper on windows 10)

so is there an other way to use the sxb without the debugger ?!

Re: usb serial connect to 02sxb probs

Posted: Thu Nov 28, 2019 8:47 pm
by GaBuZoMeu
Did you try to follow https://wdc65xx.com/gettingstarted/02-s ... g-started/ ?

I can't as I haven't that particular board, so I don't know if it is working.

Re: usb serial connect to 02sxb probs

Posted: Sun Dec 01, 2019 11:23 am
by Collen
Yup... i started there, but that example project is not available anymore..

WDC Documentation on the w65c02sxb is scarce.
the one's that they have does not give me Anny good info
on how and what.

same goes for subroutines and in depth info on the board.
but that is part of the fun, figuring out how to work with the 02sxb..

Re: usb serial connect to 02sxb probs

Posted: Sun Dec 01, 2019 3:13 pm
by BitWise
The '02SXB and '816SXB are designed to be used with the WDC tools. The firmware on these boards talks a binary protocol used by the debugger application. Its not a full monitor.

Some one on this forum posted a python script that can download and run applications by generating the same protocol over a serial port. I've been working on a C# version but its not finished.

WDC wrote a document for each board that contains details of the hardware (but not the debugger firmware)

Re: usb serial connect to 02sxb probs

Posted: Sun Dec 01, 2019 4:36 pm
by BigEd

Re: usb serial connect to 02sxb probs

Posted: Sun Dec 01, 2019 7:41 pm
by Collen
BitWise wrote:
The '02SXB and '816SXB are designed to be used with the WDC tools. The firmware on these boards talks a binary protocol used by the debugger application. Its not a full monitor.
...
WDC wrote a document for each board that contains details of the hardware (but not the debugger firmware)
That makes a lot of sense now.. (:
i did find the hardware doc's, but indeed the debugger info would be handy...
especially for the subroutines

I use your sxb hacker for some background info on the registers and more (https://github.com/andrew-jacobs/w65c816sxb-hacker)
Anny chance of converting/making a w65c02sxb-hacker rom ?!

Re: usb serial connect to 02sxb probs

Posted: Sun Dec 01, 2019 7:58 pm
by BitWise
Collen wrote:
I use your sxb hacker for some background info on the registers and more (https://github.com/andrew-jacobs/w65c816sxb-hacker)
Any chance of converting/making a w65c02sxb-hacker rom ?!
I have a monitor for my ‘02 three chip boards that could be used as a starting point but I don’t have an ‘02 or ‘134 SXB to develop or test on.

Re: usb serial connect to 02sxb probs

Posted: Wed Dec 04, 2019 9:56 am
by Collen
BitWise wrote:
I have a monitor for my ‘02 three chip boards that could be used as a starting point but I don’t have an ‘02 or ‘134 SXB to develop or test on.
That would come in handy, thx..

i'll see if i can make the sxb-hacker work on my 02sxb board (no promises)

Re: usb serial connect to 02sxb probs

Posted: Wed Dec 04, 2019 10:04 am
by BitWise
Collen wrote:
BitWise wrote:
I have a monitor for my ‘02 three chip boards that could be used as a starting point but I don’t have an ‘02 or ‘134 SXB to develop or test on.
That would come in handy, thx..

i'll see if i can make the sxb-hacker work on my 02sxb board (no promises)
It think it contains a fair amount of 16-bit code so that might be a big task.

Re: usb serial connect to 02sxb probs

Posted: Tue Dec 10, 2019 8:18 pm
by Collen
BitWise wrote:
I have a monitor for my ‘02 three chip boards that could be used as a starting point but I don’t have an ‘02 or ‘134 SXB to develop or test on.
Jup, that 16->8bit convert is going to take a heap more time then i anticipated..
Your monitor for the 3chip, is that https://github.com/andrew-jacobs/sb-6502 ?!

i noticed that @floodybust also has made a micro monitor...

got to start somewhere... :)

Re: usb serial connect to 02sxb probs

Posted: Tue Dec 10, 2019 9:53 pm
by BitWise
Collen wrote:
Your monitor for the 3chip, is that https://github.com/andrew-jacobs/sb-6502 ?!
Yes, its in https://github.com/andrew-jacobs/sb-650 ... de/monitor. All the tools to built it (on Windows 10) are in the repository. On Linux or OS/X I suspect the makefile will need tweaking. The source is written in structured 6502 so it needs my tools to build.

Re: usb serial connect to 02sxb probs

Posted: Wed Dec 11, 2019 2:28 am
by floobydust
Collen wrote:
BitWise wrote:
I have a monitor for my ‘02 three chip boards that could be used as a starting point but I don’t have an ‘02 or ‘134 SXB to develop or test on.
Jup, that 16->8bit convert is going to take a heap more time then i anticipated..
Your monitor for the 3chip, is that https://github.com/andrew-jacobs/sb-6502 ?!

i noticed that @floodybust also has made a micro monitor...

got to start somewhere... :)
Yes, I basically took my high function monitor and cobbled it down to fit in 1.75KB. Hopefully you find it well documented in the source code. it still has a fair amount of function for it's size and still maintains a jump table, soft vectors in page $03 and can be extended easily. As as I noted in the github description... if this doesn't work, your hardware setup is likely the cause. It does use interrupt-driven and buffered I/O for the 65(C)51, so make sure you're NOT using one of the recent WDC W65C51 chips with the xmit bug. I have some older Rockwell chips which work fine.

Re: usb serial connect to 02sxb probs

Posted: Fri Dec 13, 2019 8:08 pm
by rclancy
Just a random thought... Those WDC boards use an FTDI chip for their serial over USB interface. I don't know a lot about windows... Maybe it needs a driver to work properly?

https://www.ftdichip.com/FTDrivers.htm

Good Luck!