6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Sep 22, 2024 11:26 pm

All times are UTC




Post new topic Reply to topic  [ 15 posts ] 
Author Message
PostPosted: Thu Nov 28, 2019 12:27 pm 
Offline
User avatar

Joined: Tue Nov 27, 2018 3:28 pm
Posts: 20
Location: Netherlands..
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....?!


Top
 Profile  
Reply with quote  
PostPosted: Thu Nov 28, 2019 6:18 pm 
Offline
User avatar

Joined: Wed Mar 01, 2017 8:54 pm
Posts: 660
Location: North-Germany
what about RTS/CTS ?


Top
 Profile  
Reply with quote  
PostPosted: Thu Nov 28, 2019 8:23 pm 
Offline
User avatar

Joined: Tue Nov 27, 2018 3:28 pm
Posts: 20
Location: Netherlands..
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 ?!


Top
 Profile  
Reply with quote  
PostPosted: Thu Nov 28, 2019 8:47 pm 
Offline
User avatar

Joined: Wed Mar 01, 2017 8:54 pm
Posts: 660
Location: North-Germany
Did you try to follow https://wdc65xx.com/gettingstarted/02-sxb-getting-started/ ?

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


Top
 Profile  
Reply with quote  
PostPosted: Sun Dec 01, 2019 11:23 am 
Offline
User avatar

Joined: Tue Nov 27, 2018 3:28 pm
Posts: 20
Location: Netherlands..
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..


Top
 Profile  
Reply with quote  
PostPosted: Sun Dec 01, 2019 3:13 pm 
Offline
User avatar

Joined: Tue Mar 02, 2004 8:55 am
Posts: 996
Location: Berkshire, UK
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)

_________________
Andrew Jacobs
6502 & PIC Stuff - http://www.obelisk.me.uk/
Cross-Platform 6502/65C02/65816 Macro Assembler - http://www.obelisk.me.uk/dev65/
Open Source Projects - https://github.com/andrew-jacobs


Top
 Profile  
Reply with quote  
PostPosted: Sun Dec 01, 2019 4:36 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10938
Location: England
Maybe this post:
viewtopic.php?f=4&t=5698&p=70481&hilit=Debugger+ptotocol+Protocol#p69799


Top
 Profile  
Reply with quote  
PostPosted: Sun Dec 01, 2019 7:41 pm 
Offline
User avatar

Joined: Tue Nov 27, 2018 3:28 pm
Posts: 20
Location: Netherlands..
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 ?!


Top
 Profile  
Reply with quote  
PostPosted: Sun Dec 01, 2019 7:58 pm 
Offline
User avatar

Joined: Tue Mar 02, 2004 8:55 am
Posts: 996
Location: Berkshire, UK
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.

_________________
Andrew Jacobs
6502 & PIC Stuff - http://www.obelisk.me.uk/
Cross-Platform 6502/65C02/65816 Macro Assembler - http://www.obelisk.me.uk/dev65/
Open Source Projects - https://github.com/andrew-jacobs


Top
 Profile  
Reply with quote  
PostPosted: Wed Dec 04, 2019 9:56 am 
Offline
User avatar

Joined: Tue Nov 27, 2018 3:28 pm
Posts: 20
Location: Netherlands..
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)


Top
 Profile  
Reply with quote  
PostPosted: Wed Dec 04, 2019 10:04 am 
Offline
User avatar

Joined: Tue Mar 02, 2004 8:55 am
Posts: 996
Location: Berkshire, UK
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.

_________________
Andrew Jacobs
6502 & PIC Stuff - http://www.obelisk.me.uk/
Cross-Platform 6502/65C02/65816 Macro Assembler - http://www.obelisk.me.uk/dev65/
Open Source Projects - https://github.com/andrew-jacobs


Top
 Profile  
Reply with quote  
PostPosted: Tue Dec 10, 2019 8:18 pm 
Offline
User avatar

Joined: Tue Nov 27, 2018 3:28 pm
Posts: 20
Location: Netherlands..
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... :)


Top
 Profile  
Reply with quote  
PostPosted: Tue Dec 10, 2019 9:53 pm 
Offline
User avatar

Joined: Tue Mar 02, 2004 8:55 am
Posts: 996
Location: Berkshire, UK
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-6502/tree/master/code/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.

_________________
Andrew Jacobs
6502 & PIC Stuff - http://www.obelisk.me.uk/
Cross-Platform 6502/65C02/65816 Macro Assembler - http://www.obelisk.me.uk/dev65/
Open Source Projects - https://github.com/andrew-jacobs


Top
 Profile  
Reply with quote  
PostPosted: Wed Dec 11, 2019 2:28 am 
Offline
User avatar

Joined: Tue Mar 05, 2013 4:31 am
Posts: 1382
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.

_________________
Regards, KM
https://github.com/floobydust


Top
 Profile  
Reply with quote  
PostPosted: Fri Dec 13, 2019 8:08 pm 
Offline

Joined: Tue Dec 03, 2019 1:48 am
Posts: 11
Location: New Mexico
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!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: