SBC kit for education
Re: SBC kit for education
GARTHWILSON wrote:
Actually an LCD and the keyboard or a small keypad can be connected directly to a VIA, with no discrete logic.
GARTHWILSON wrote:
The issue there is not really the clock frequency, but rather the rise (and fall) times of the signals. The clock (φ2) is the main problem there. Using solderless breadboard can keep it from working at any clock speed (even 1Hz) if the rise times are too fast. If you stick to 74HC and 1MHz parts so the rise times are slow, it will work. Otherwise the ringing following each rising and falling edge on the clock line, caused by the inductances of the long curved wires working with the stray capacitances, will be strong enough to change states at inputs, and make parts of the processor and I/O ICs try to go ahead with the next cycle before the required set-up and hold and internal-operation times have been met.
GARTHWILSON wrote:
Fortunately, experimentation requires changing very few wires. The address and data buses still go to all the same places, so those probably wouldn't change. Much of what you connect the VIAs' I/O pins to can share VIA pins, so you don't have to disconnect them from one thing to connect to another. For example, my workbench computer has A/D and D/A converters hanging off the I/O pins of one of the VIAs, but when I'm not using the converters, I can use the same I/O bits for other things, without disconnecting the converters. Also, at least one of the three 65c51 ACIAs on that board will probably never be used again, but it doesn't hurt anything to leave it (or at least the empty socket) there.
GARTHWILSON wrote:
Quote:
I know some some might find using a USB port blasphemy and I understand the sentiments. On the other hand, many computers these days don't have serial port.
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: SBC kit for education
Quote:
Obviously stuff I don't know anything about. How does a wire wrap version avoid this problem?
Quote:
If by experimentation you're talking about simply talking to other things using the VIAs, then sure. If you're talking about doing something to the actual CPU (add memory, add decode logic, etc.), then more surgery is involved.
In most cases you can add those things without removing anything. If you do need to change address decoding, it's usually pretty minor. My 6502 primer's WW page (which I just added a little bit to) covers how to daisychain for easiest modification if it becomes necessary, and covers re-wrapping wire ends you removed for changes or corrections. If I had the room on my workbench computer, I could still add four more I/O ICs with no additional decoding logic. Since the board is totally full (such that from the top, the board material itself is only visible at the very edges of the board), I added a mezzanine board which is now about 1/3 full.
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?
- BigDumbDinosaur
- Posts: 9426
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: SBC kit for education
8BIT wrote:
BDD and all,
While I found the Exar 68C92's performance, bus compatibility, and configuration very easy and reliable, I concede that it is harder to come by and cost a little more. That said, the 26C92's from NXP are less expensive and more readily available so are a better choice for the hobbyist and/or kit manufacturer.
Daryl
While I found the Exar 68C92's performance, bus compatibility, and configuration very easy and reliable, I concede that it is harder to come by and cost a little more. That said, the 26C92's from NXP are less expensive and more readily available so are a better choice for the hobbyist and/or kit manufacturer.
Daryl
As Daryl is saying, it almost always comes down to cost and availability. Incidentally, NXP has continued to produce a good variety of glue logic devices that are hobby-friendly, including 74ABT logic for the speed freaks among us.
By definition, any application of a non-65xx device to the 65xx bus is going to entail some adaptation work, something to which I'm sure Daryl will attest. This is actually a good thing in a kit meant to educate, as it teaches the experimenter how to analyze timing and signal states, leading to a more robust understanding of the circuit. While doing so wasn't my primary goal when I set out to build POC, the time expended in timing and state analysis in adapting the 2692 and the Dallas watchdog (also an Intel bus-friendly device)was well-spent. I can see circuit behavior aspects much more clearly now and quickly spot ambiguous situations. Achieving that level of understanding, I think, makes a DYI education kit well worth the money.
x86? We ain't got no x86. We don't NEED no stinking x86!
- BigDumbDinosaur
- Posts: 9426
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: SBC kit for education
GARTHWILSON wrote:
I don't have any problem with using a USB-to-RS232 adapter at the PC end, but I don't like the idea of trying to put USB on your actual creation. I understand that the USB spec is so complex that the programming to run it would consume almost the entire 6502 memory map.
I'm in complete agreement with Garth on this. A DYI kit meant to teach the digital basics should keep the complexity down to a level that will not discourage the experimenter. USB is complicated and bulky...so much so I don't want to be bothered with it, other than to plug in my camera to transfer pictures to my Linux box. A standard TIA-232 serial port is readily implemented on a basic 65xx system, either through a compatible or adaptable ACIA, or by bit-bangiing on a 65C22. TIA-232 is so ingrained into computer design that it will be around well after I have been converted into worm and bug food. USB, by its nature, will remain a narrow standard that does not satisfy the need for heterogeneous connectivity.
Quote:
(That info comes from Samuel Falvo.)
If Samuel doesn't know, it's probably not worth knowing.
Quote:
There are ICs that do most of it for you that are interfaced through SPI, and I have mixed feelings on that. SPI is great.
The 16-pin MAX3100 UART is nice, having SPI and 8-byte transmit and receive buffers. The MAX3110 is the same thing with the RS-232 line drivers and receivers built in.
The 16-pin MAX3100 UART is nice, having SPI and 8-byte transmit and receive buffers. The MAX3110 is the same thing with the RS-232 line drivers and receivers built in.
My only quibble with going that route in a DYI kit is the need to implement SPI, which is hardly a trivial exercise in a basic 6502 system. "Traditional" parallel bus ACIAs (or using the 65C22 as one) are much more 65xx bus-friendly.
x86? We ain't got no x86. We don't NEED no stinking x86!
Re: SBC kit for education
BigDumbDinosaur wrote:
My only quibble with going that route in a DYI kit is the need to implement SPI, which is hardly a trivial exercise in a basic 6502 system. "Traditional" parallel bus ACIAs (or using the 65C22 as one) are much more 65xx bus-friendly.
OK, I'll shut up now
Daryl
Please visit my website -> https://sbc.rictor.org/
- BigDumbDinosaur
- Posts: 9426
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: SBC kit for education
8BIT wrote:
BigDumbDinosaur wrote:
My only quibble with going that route in a DYI kit is the need to implement SPI, which is hardly a trivial exercise in a basic 6502 system. "Traditional" parallel bus ACIAs (or using the 65C22 as one) are much more 65xx bus-friendly.
I didn't forget about it, and certainly would recommend it for use in any design where SPI is desired. In a more advance unit, SPI can allow the builder to take advantage of a lot of inexpensive devices that provide a variety of functionality, the Ethernet adapter being a good example.
My concern here is that "creeping featurism" will eventually produce something akin to a Raspberry Pi or Arduino, rather than a basic 65xx unit that won't intimidate an experimenter. The idea of simple functionality is something that a basic DYI kit should promote. As the 65xx bus is quite adaptable, it should be possible to develop something that the beginner can get up and running with a reasonable time investment, yet be able to add to as time goes on. The patch board approach can provide that sort of balance if speed constraints are acceptable (slower logic means less trouble with unavoidable reactive effects caused by snarky wiring—see Garth's comments above). That said, a kit based on wire-wrap or a PCB would allow for better bus conditions and thus could include an "expansion port," allowing for the future attachment of "things" as the experimenter gets more comfortable with the device.
Last edited by BigDumbDinosaur on Fri Sep 28, 2012 4:48 am, edited 1 time in total.
x86? We ain't got no x86. We don't NEED no stinking x86!
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: SBC kit for education
Quote:
TIA-232 is so ingrained into computer design that it will be around well after I have been converted into worm and bug food.
Quote:
My only quibble with going that route in a DYI kit is the need to implement SPI, which is hardly a trivial exercise in a basic 6502 system. "Traditional" parallel bus ACIAs (or using the 65C22 as one) are much more 65xx bus-friendly.
SPI is very easy to bit-bang with a VIA (I have code here); but if you don't want to go that route, you can use Daryl's 65SPI IC which is a "traditional" 65xx-bus-friendly parallel-bus part. See https://sbc.rictor.org/65spi2.html .
The problem with creaping featurism is when it keeps you from ever finishing the project and having something useful. Addressing that was part of the purpose of 65SIB, the 6502.org serial interface bus which basically took SPI and extended it in several directions at once, making it more flexible. I added a 65SIB port to my workbench computer, connected to VIAs, after there was no room left to put a 65SPI chip on it. (Do not confuse 65SIB (the bus) with 65SPI (the chip). They're related but not the same thing.) Now lots of things can be added externally, whether instrumentation, mass storage, displays, whatever.
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?
- BigDumbDinosaur
- Posts: 9426
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: SBC kit for education
GARTHWILSON wrote:
Quote:
TIA-232 is so ingrained into computer design that it will be around well after I have been converted into worm and bug food.
DAT in its originally intended application had a very short lifespan, but its spirit continues in DDS tape drives (got one in both servers here in my office).
Quote:
Even Zigbee got pushed out by Bluetooth. And I'm wondering how long USB will last.
USB is a "consumer-friendly" interface, in that a trained monkey can use it. So I suspect it'll stick around for a while in cameras, low-end printers and scanners, thumb drives, etc. However, USB lacks characteristics needed to make truly heterogeneous connections, so it will never replace TIA-232/422/485, and certainly will never achieve connectivity available via Ethernet. Also, there's the matter of limited cable length...
Quote:
The problem with creaping featurism is when it keeps you from ever finishing the project and having something useful.
My point exactly.
x86? We ain't got no x86. We don't NEED no stinking x86!
Re: SBC kit for education
Another small SBC design is Halldor's - the site has been intermittently offline but is up at present.
http://www.fririki.net/6502/basic_design.html
It would be easy and desirable to substitute a clock can, unless explicitly teaching the workings of a crystal oscillator.
He's using DIL headers and ribbon cable for expansion, which will be OK for very short distances. It wouldn't be difficult to swap in alternate grounds and the necessary extra headers, if that was a concern.
http://www.fririki.net/6502/basic_design.html
It would be easy and desirable to substitute a clock can, unless explicitly teaching the workings of a crystal oscillator.
He's using DIL headers and ribbon cable for expansion, which will be OK for very short distances. It wouldn't be difficult to swap in alternate grounds and the necessary extra headers, if that was a concern.
Re: SBC kit for education
Dajgoro wrote:
For the usb i think that is best to leave it to the usb to serial adapter. On my system i have a adapter pcb that i got from ebay, and it is connected to the mc6850, and since that the mc6850 ca go up to 1 megabit, it can be very fast. Also drivers are trivial, for XP i had to install the cp2102 drivers, and it worked with no issues, and i think that newer os have built in drivers for the cp2102.
Re: SBC kit for education
BigDumbDinosaur wrote:
My concern here is that "creeping featurism" will eventually produce something akin to a Raspberry Pi or Arduino, rather than a basic 65xx unit that won't intimidate an experimenter. The idea of simple functionality is something that a basic DYI kit should promote. As the 65xx bus is quite adaptable, it should be possible to develop something that the beginner can get up and running with a reasonable time investment, yet be able to add to as time goes on.
The other trend is that hardware is dead:
http://venturebeat.com/2012/09/15/hardware-is-dead/
When you can get an A-Pad from China for $35 that can do everything and when hardware companies aren't making much of a profit on it, they consider there to be no money in hardware.
Re: SBC kit for education
Arduino is the same. I've always been interested in electronics but never had the means and the time to get started with it. Once I bought my Arduino, I started learning Java and Python, learnt to make custom PCB and made my own UV exposure unit and a bubble etch tank from a Tupperware milk jug. I've even learnt to solder SMD and using multiplexers and Bluetooth modems. Later bought an FPGA dev board, then learnt about analog electronics, etc. I don't think I would have got into it without that initial 'push'. I don't think I could have afforded programmers and learn C just to be able to make some LEDs blink.
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: SBC kit for education
Quote:
A reason I went this direction is because they have a magazine and I don't think the 6502 has one.
Quote:
That article is a strictly consumer point of view, with no thought of industrial or workbench or hobby applications. The A-Pad he got for $45 will be in the land fill in two years, maybe six months. If it breaks down, there will be no support whatsoever. If you want to do your own thing with it, there will be no documentation, let alone complete documentation, of what's inside. Even if there were, it would take much longer to learn it than the product will be available. For someone who wants to learn computers (after all, this is the "SBC kit for evaluation" topic), they have no hope of getting down-to-the-metal control of the computer, including microsecond timing of anything, and it has absolutely no general-purpose I/O bits.
I use a PC and occasionally a digital camera with USB, but when I do, I'm basically an appliance operator. I have a flip phone, but I usually forget to take it with me. That tells you how important it is to me. One time I dropped it on the asphalt and kind of hoped it would be broken so I wouldn't have to carry it anymore. I neither have, nor want, an i-Anything, GPS, or MP3 player, and our TV has been turned on only once (for two minutes) since the Olympics. Obviously I'm still nuts about what I can do with the 6502 on the workbench in my work though.
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?
Re: SBC kit for education
With the sophistication of modern electronics combined with the ubiquitous availability of mature and robust software, for many it it far easier to bolt stuff together from modules than it is to work things up from scratch. For many cases it's simply easier to use a SoC and wire that to a battery and the blinky lights you're trying to drive.
Theory is less and less important when the off the shelf bricks do the job well enough for your applications.
Raspberry Pi is great for those who want to make a self hosting blinky light platform. Wire the lights and motors and sensors to the board, and poke and prod using your favorite scripting language, enabling a nice, zero turn around dev environment for, effectively, the price of 2 movie tickets. It is fabulously cheap.
Arduino et al is better for those trying to install it on something else. It's not self hosting, you need to build, download, execute, rinse, repeat, but the community around it is nice and high level, artists and "makers" rather than in the trench engineers. Super accessible, instant robots, etc. Arduino helps make the entire field less intimidating.
The SBC project would be interesting, but it's becoming less and less necessary for those wanting to dabble in this field. Those who want to make it a profession will pick this and much much more up during their engineering studies.
A similar phenom is happening in software, where folks stitch together libraries written by others available freely on the internet rather than implementing the details themselves, much less understanding the details of what or how the libraries do what they do. This continues up to the point of not understanding computer architecture, algorithms, data structures, etc.
Through wide availability of libraries, and the truly amazing performance of systems today that can "cover" for bad decisions, folks are finding success much easier with less understanding than has been necessary before.
This is why it is so important to understand when undertaking a project why you are doing it. If you just want to make blinky lights, a 6502 SBC is the long way around to get there today. If you want to understand 6502 architecture and programming, there's a zillion simulators out there you can use. If you want to perfect your wire wrap technique, perhaps an SBC project is the thing for you.
Theory is less and less important when the off the shelf bricks do the job well enough for your applications.
Raspberry Pi is great for those who want to make a self hosting blinky light platform. Wire the lights and motors and sensors to the board, and poke and prod using your favorite scripting language, enabling a nice, zero turn around dev environment for, effectively, the price of 2 movie tickets. It is fabulously cheap.
Arduino et al is better for those trying to install it on something else. It's not self hosting, you need to build, download, execute, rinse, repeat, but the community around it is nice and high level, artists and "makers" rather than in the trench engineers. Super accessible, instant robots, etc. Arduino helps make the entire field less intimidating.
The SBC project would be interesting, but it's becoming less and less necessary for those wanting to dabble in this field. Those who want to make it a profession will pick this and much much more up during their engineering studies.
A similar phenom is happening in software, where folks stitch together libraries written by others available freely on the internet rather than implementing the details themselves, much less understanding the details of what or how the libraries do what they do. This continues up to the point of not understanding computer architecture, algorithms, data structures, etc.
Through wide availability of libraries, and the truly amazing performance of systems today that can "cover" for bad decisions, folks are finding success much easier with less understanding than has been necessary before.
This is why it is so important to understand when undertaking a project why you are doing it. If you just want to make blinky lights, a 6502 SBC is the long way around to get there today. If you want to understand 6502 architecture and programming, there's a zillion simulators out there you can use. If you want to perfect your wire wrap technique, perhaps an SBC project is the thing for you.
Re: SBC kit for education
Of the things you mention, I think only the SBC tells you about busses and address decoding.