W65C816SXB
-
White Flame
- Posts: 704
- Joined: 24 Jul 2012
Re: W65C816SXB
Just out of curiosity, do you know if those tools are developed in-house or outsourced? It's a disappointing shame that repeatedly the official tools seem to be of lower quality (though with broader scope) than the 3rd party stuff out there. Especially for as much as Mensch has talked about stability, quality, industrial, medical, etc uses of the hardware. I don't really want to rag on them, but this is in my wheelhouse, along with "if this has bugs, people will die" software development, so I'm particularly sensitive to that kind of stuff.
Re: W65C816SXB
I ordered one today before I have read this topic . Guys , what is included in the box ... software , schematic ???
Thx.
Thx.
- BitWise
- In Memoriam
- Posts: 996
- Joined: 02 Mar 2004
- Location: Berkshire, UK
- Contact:
Re: W65C816SXB
The box just contains the board. You need to find a USB cable to connect it.
The software is downloadable from the website as are some technical documents. WDC sent me a copy of schematic when I mailed them.
I don't use the IDE myself but I use the assembler, linker and debugger via make and batch files. I had problems creating TIDE projects from scratch.
The software is downloadable from the website as are some technical documents. WDC sent me a copy of schematic when I mailed them.
I don't use the IDE myself but I use the assembler, linker and debugger via make and batch files. I had problems creating TIDE projects from scratch.
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
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
- Alamorobotics
- Posts: 54
- Joined: 30 Oct 2015
- Location: Sweden
Re: W65C816SXB
Howdy...
I just got this board and started playing around with it.
I got the Monitor (w65c816sxb-hacker) up and running to poke around in Memory...
I cleared the Baud Rate bits in the ACIA and got the speed up to 115200 Baud...
lda #%00010000 ; 8 bits, 1 stop bit, 19200 baud
sta ACIA_CTL
lda #%00001001 ; No parity, no interrupt
sta ACIA_CMD
lda ACIA_RXD ; Clear receive buffer
Then remove all but one of the TxDelay to fully use it...
You can even shorten the waiting time if you want to.
pha
php
short_a
sta ACIA_TXD
jsr TxDelay
plp
pla
rts
TxDelay: lda #$60
inc a
bne $-1
rts
endif
I have asked David Cramer @ WDC to send me the Schematic and any information on how to use the Flash ROM.
This looks like a really cool board to play with...
Thanks for the great memory monitor.
I just got this board and started playing around with it.
I got the Monitor (w65c816sxb-hacker) up and running to poke around in Memory...
I cleared the Baud Rate bits in the ACIA and got the speed up to 115200 Baud...
lda #%00010000 ; 8 bits, 1 stop bit, 19200 baud
sta ACIA_CTL
lda #%00001001 ; No parity, no interrupt
sta ACIA_CMD
lda ACIA_RXD ; Clear receive buffer
Then remove all but one of the TxDelay to fully use it...
You can even shorten the waiting time if you want to.
pha
php
short_a
sta ACIA_TXD
jsr TxDelay
plp
pla
rts
TxDelay: lda #$60
inc a
bne $-1
rts
endif
I have asked David Cramer @ WDC to send me the Schematic and any information on how to use the Flash ROM.
This looks like a really cool board to play with...
Thanks for the great memory monitor.
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: W65C816SXB
Alamorobotics, welcome!
To keep the monospacing for code, and to the forum software from deleting your spaces, put [code] and [/code] around it, and it will look like this, as you intended:
To keep the monospacing for code, and to the forum software from deleting your spaces, put [code] and [/code] around it, and it will look like this, as you intended:
Code: Select all
lda #%00010000 ; 8 bits, 1 stop bit, 19200 baud
sta ACIA_CTL
lda #%00001001 ; No parity, no interrupt
sta ACIA_CMD
lda ACIA_RXD ; Clear receive buffer
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
- BitWise
- In Memoriam
- Posts: 996
- Joined: 02 Mar 2004
- Location: Berkshire, UK
- Contact:
Re: W65C816SXB
Alamorobotics wrote:
Thanks for the great memory monitor.
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
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
Re: W65C816SXB
Hi ,
Could you please share the schematic with me ?.
Thanks
Could you please share the schematic with me ?.
Thanks
- Alamorobotics
- Posts: 54
- Joined: 30 Oct 2015
- Location: Sweden
Re: W65C816SXB
Howdy...
If David sends me the schematic, I'll ask him if I can redistribute it here on 6502.org.
I'll continue playing around with the board, I still have a lot of reading up to do.
Getting the w65c816sxb-hacker up and running was more of a getting started project...
If David sends me the schematic, I'll ask him if I can redistribute it here on 6502.org.
I'll continue playing around with the board, I still have a lot of reading up to do.
Getting the w65c816sxb-hacker up and running was more of a getting started project...
- BitWise
- In Memoriam
- Posts: 996
- Joined: 02 Mar 2004
- Location: Berkshire, UK
- Contact:
Re: W65C816SXB
I fixed a few bugs in the SXB-Hacker and got the XMODEM download working but flash programming is not working yet.
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
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
- BitWise
- In Memoriam
- Posts: 996
- Joined: 02 Mar 2004
- Location: Berkshire, UK
- Contact:
Re: W65C816SXB
Found a bug in the unlock code sequence and ran a test to see if self writing works, and it does!!
Note how $a000 changes from $ff to $ce. Before I can program another ROM area I need to make a back up of the flash, add a command to erase a bank and move the byte write code into the XMODEM routine.
Code: Select all
.
.r0
.ma000 a00f
00:A000 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF |................|
.u
ROM area unlocked
.ma000 a00f
00:A000 CE FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF |................|
.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
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
- Alamorobotics
- Posts: 54
- Joined: 30 Oct 2015
- Location: Sweden
Re: W65C816SXB
Howdy...
I had a look at the doc for the ROM and found the magic sequence...
Looks like it has to be done for each write, to write $1234 at address $9000, I had to execute it twice and the delay in between have to be at least 20 micro seconds...
I had a look at the doc for the ROM and found the magic sequence...
Looks like it has to be done for each write, to write $1234 at address $9000, I had to execute it twice and the delay in between have to be at least 20 micro seconds...
Code: Select all
; Magic sequence...
lda #$AA
sta $D555
lda #$55
sta $AAAA
lda #$A0
sta $D555
; Program ROM
lda #$12
sta $9000
; Wait for it, should ideally be 20 uSec...
lda #$00
inc a
bne $-1
; Magic sequence...
lda #$AA
sta $D555
lda #$55
sta $AAAA
lda #$A0
sta $D555
; Program ROM
lda #$34
sta $9001
Re: W65C816SXB
Hi ,
I got my board today , no issues ,no damages . Then I have downloaded the Tidy software and that's a disappointment . I cant open or create project , software just stop responding (under windows 10). also I'm getting that ' Failed to set data for 'Version' message . Tide version 2.0.5.0 .
Is there any other way to send my code to this board ????
Thanks !
I got my board today , no issues ,no damages . Then I have downloaded the Tidy software and that's a disappointment . I cant open or create project , software just stop responding (under windows 10). also I'm getting that ' Failed to set data for 'Version' message . Tide version 2.0.5.0 .
Is there any other way to send my code to this board ????
Thanks !
- Alamorobotics
- Posts: 54
- Joined: 30 Oct 2015
- Location: Sweden
Re: W65C816SXB
Try running the TIDE IDE as an Administrator, that seem to clear up a lot of problems on my Win 7...
When creating a new project it seem like I have to check the "Project Options" to make sure everything is set properly.
Then make sure you click the "Assemble and Link" button first, if you click the "Compile to Assembly" it seem to mess things up.
If you do click the "wrong" button first, remove everything but the .asm, .inc, .ini and .wdc files and try again...
When creating a new project it seem like I have to check the "Project Options" to make sure everything is set properly.
Then make sure you click the "Assemble and Link" button first, if you click the "Compile to Assembly" it seem to mess things up.
If you do click the "wrong" button first, remove everything but the .asm, .inc, .ini and .wdc files and try again...
- BigDumbDinosaur
- Posts: 9427
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: W65C816SXB
You guys are all discovering, it would seem, why I installed TIDE, tried using it for several weeks, and then went back to the Kowalski assembler. TIDE is rough around the edges and for me at least, gets in the way of productivity.
As for the W65C816SXB board, I have to say I'm not very impressed. A number of us here have built units that were, in my opinion, as or more powerful, and better thought out. Daryl's SBC-3 design, based on a 65C816, programmable logic and 512KB of RAM, had more going for it in every way. So why spend several hundred USD on something that is second best?
As for the W65C816SXB board, I have to say I'm not very impressed. A number of us here have built units that were, in my opinion, as or more powerful, and better thought out. Daryl's SBC-3 design, based on a 65C816, programmable logic and 512KB of RAM, had more going for it in every way. So why spend several hundred USD on something that is second best?
x86? We ain't got no x86. We don't NEED no stinking x86!
- BitWise
- In Memoriam
- Posts: 996
- Joined: 02 Mar 2004
- Location: Berkshire, UK
- Contact:
Re: W65C816SXB
I agree that the W65C816SXB is not a great board but it is relatively easy to use with the WDC tools. I bought mine because I wanted to try out some code quickly without have to spend time designing, building and fixing a circuit.
The individual tools work well from the command line and when used with a makefile even complex builds can be easily automated.
I've just pushed the latest version of my hacker program to github. It can now erase the parts of SXB ROM that are not full of WDC firmware and will upload a binary file using XMODEM into RAM or flash. Needs a lot more testing but seems to work. I would recommend making a copy of the flash ROM before playing with uploading your own images.
The individual tools work well from the command line and when used with a makefile even complex builds can be easily automated.
I've just pushed the latest version of my hacker program to github. It can now erase the parts of SXB ROM that are not full of WDC firmware and will upload a binary file using XMODEM into RAM or flash. Needs a lot more testing but seems to work. I would recommend making a copy of the flash ROM before playing with uploading your own images.
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
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