68kMLA Classic Interface

This is a version of the 68kMLA forums for viewing on your favorite old mac. Visitors on modern platforms may prefer the main site.

Click here to select a new forum.
TashTalk: Single-Chip LocalTalk Interface
Posted by: Scott Squires on 2021-09-30 17:22:48
It's setup to fit directly on top of a Pi Zero-W

Something to do with my rpi zero-ws that I come home with every time I make a trip to Micro Center. That's a win.
Posted by: NJRoadfan on 2021-09-30 20:15:09
I'd like one for dev purposes, but who knows when I'd get around to that. How does the hardware currently present itself to the system? Does it just dump serial packets to a /dev devices? I can work with that.
Posted by: Tashtari on 2021-09-30 21:58:34
How does the hardware currently present itself to the system?
The microcontroller connects to the RPi's UART pins. It requires a UART that supports hardware flow control, so you have to do some configuration to make sure that's what's connected to the UART pins on the expansion connector (which may differ depending on which RPi you're using). Details of the protocol are here: https://github.com/lampmerchant/tashtalk/blob/main/documentation/protocol.md - let me know if there's anything I should add there.
Posted by: Tashtari on 2021-10-03 15:04:41
So I've written a bit of firmware code that will kill two birds with one stone...

With this latest change, the chip will come up in a bootloader which allows it to accept a firmware download over the UART, and has a new command that will reset the chip and thus make it fall into the bootloader. This way, should a flaw in the code be discovered, this will allow users without chip programmers/PIC debugging tools to update their firmware.

The bootloader must be exited explicitly with a command byte (the recommended string-of-zeroes used to return the firmware to a known state will take care of this) and from this comes the added bonus: until the bootloader is exited and the mainline code is started, the driver pins are tristated and of course incoming LocalTalk frames aren't processed. This makes the chip suitable for use cases like @bdurbrow 's, where it's desirable to be able to switch a single RS-422 port in and out of LocalTalk mode and allow other components in the target board to use the drivers/receivers.

I'll post it to GitHub once I've tested it - my time is especially short lately...
Posted by: Tashtari on 2021-10-10 11:29:03
On further testing and reflection, I don't like this change. It introduces too many states into the UART protocol and it worries me about getting into a bad state due to the wrong byte at the wrong time. Will have to think about this.
Posted by: bdurbrow on 2021-10-11 01:04:21
Finally got a chance to finish the other board layouts that needed to go out in the JLC order... so 15 TashTalkHat PCBs are now in production. I expect the PCBs to arrive before all the parts do, though... (eBay's slow boat from China is, um, slow).

I hope ya'all like blue soldermask, because that's what I ordered. πŸ˜‰
Posted by: Tashtari on 2021-10-11 08:11:23
15 TashTalkHat PCBs are now in production
\o/ Huzzah!
Posted by: cheesestraws on 2021-10-11 08:14:21
Very nice. πŸ™‚
Posted by: bdurbrow on 2021-10-11 19:48:36
FWIW, I just went through the thread; and assuming that I didn't miss anybody; 11 of 15 hats are currently spoken for.
Posted by: cheesestraws on 2021-10-12 01:58:10
FWIW, I just went through the thread; and assuming that I didn't miss anybody; 11 of 15 hats are currently spoken for.

If that doesn't include me, it should. I'd like to be in the queue too. πŸ™‚
Posted by: demik on 2021-10-12 02:41:48
Good job on building this ! I hope it will give birth to more interesting software.

I will pass for now, too much stuff on the todolist. Will follow though !
Posted by: bdurbrow on 2021-10-12 17:07:00
If that doesn't include me, it should. I'd like to be in the queue too. πŸ™‚
Yup, you’re on the list.
Posted by: aperezbios on 2021-10-12 22:48:52
Yup, you’re on the list.
@bdurbrow am I? I'd like two. I messaged you here a while back but got no response
Posted by: bdurbrow on 2021-10-13 09:20:44
@bdurbrow am I? I'd like two. I messaged you here a while back but got no response
Odd... I did respond to that; I don't know why you didn't get the response (forum glitch???); and yes, you are on my spreadsheet. Also, in answer to your other question from that - I'm not using JLC's assembly services; I'm doing the soldering myself. JLC is the manufacturer of the bare PCBs, though.

Here's who I've got listed so far:

68KMLA userQuantity Requested
Bdurbrow1
TashTari2
Mactjaap2
Aperezbios2
CircuitBored1
CheeseStraws1
Lisa21
Scott Squires1
NJRoadfan1

That accounts for 11 of the initial 15 boards; so there's 4 more available as of this morning if anybody else wants one.

πŸ™‚
Posted by: Tashtari on 2021-10-13 11:51:04
Hmm, there may have been a forum glitch, because I didn't get a response from you either... if there's any doubt, I'm always in the IRC channel.
Posted by: bdurbrow on 2021-10-14 22:56:09
Production status for anybody who's interested:

The package from DigiKey that FedEx misplaced finally turned up and now is in my hands. That's got the PICs, 8-pin IC sockets, the RS422/485 drivers, and bypass caps.

The TVS diodes from China via eBay arrived earlier than expected (yesterday, instead of the early December), and are now sitting next to the PICs in the box with all the other parts that are here so far.

0.100 male headers; single and double row. I have a bunch of these headers on hand. I've ordered more to re-stock with though.

Jumpers for the 0.100 headers: I have a bunch on hand; but more are on the way.

Mini-DIN 8 sockets: I already had these on hand for my MacESP8266+ project. As that one's a longer range project time-wise, I'll just use what I've got now on the hat and order more for the MacESP8266+.

Parts not here yet:

0.100 female header sockets, both standard and stacking. I don't have any on hand; but the ones I ordered are showing as being in California; so they should be here soon.

The PCB itself: JLC is showing that they have been finished; and are awaiting pickup by DHL.

____________________________________________

I am hoping to begin soldering boards together sometime next week; exactly when depends on DHL and the USPS.
Posted by: cheesestraws on 2021-10-15 01:51:00
Hurrah! I'm really impressed with the speed with which you've generated this hat. Millinery obviously your thing ;-)
Posted by: Andrew on 2021-10-15 05:23:34
@bdurbrow If it is not too late, could you please reserve a board for me?

Many thanks either way,

Andrew
Posted by: bdurbrow on 2021-10-15 15:42:41
@bdurbrow If it is not too late, could you please reserve a board for me?

Many thanks either way,

Andrew
Not a problem. πŸ™‚

There are now 3 left unclaimed.
Posted by: bdurbrow on 2021-10-15 15:44:58
Hurrah! I'm really impressed with the speed with which you've generated this hat. Millinery obviously your thing ;-)
The secret is I'm using software I wrote myself. It's still got quite a few rough edges on it (undo is... somewhat unreliable) but it lets me lay out a simple board very quickly.
< 5 >