UK Vintage Radio Repair and Restoration Powered By Google Custom Search Vintage Radio and TV Service Data

Go Back   UK Vintage Radio Repair and Restoration Discussion Forum > Specific Vintage Equipment > Vintage Computers

Notices

Vintage Computers Any vintage computer systems, calculators, video games etc., but with an emphasis on 1980s and earlier equipment.

Closed Thread
 
Thread Tools
Old 28th Mar 2023, 1:04 am   #221
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,556
Default Re: Yet another MK14 tape interface (ESP32).

For Colin's hypothetical connector / bridge board the most useful design would be:

Double sided PCB with 32 0.1" spaced contact fingers on the top side of the front and rear edges and 32 0.1" spaced contact fingers on the bottom side of the front and rear edge, so that both edges, front and rear, look like the edge connector on the rear of the MK14.

32 tracks on the top side crossing from each top side front edge contact to its top side counterpart on the rear edge, and 32 tracks on the underside joining the 32 contacts on the underside front and rear edges to make a double sided 2 x 32 way edge to edge joiner.

In the middle of this PCB, halfway between the front and rear, a 32 x 2 IDC pin row connector. Each of the 64 tracks visits one of these pins on the way from one edge to the other

Colin takes this PCB and slides a 'conventional' 32 way edge connector over the front edge contacts and solders the connector's leads to them on the top side and bottom side. He plugs that into the issue VI, and he slots the Realview onto the rear edge contacts. Finally, he connects the M5 stick to the relevant pin row connections.

Tim on the other hand takes the same PCB, but on his he puts a DIN connector on the front edge to match the one he has on the rear of his issue VI, and again slots his Realview onto the rear edge contact fingers.
SiriusHardware is offline  
Old 28th Mar 2023, 11:12 am   #222
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,556
Default Re: Yet another MK14 tape interface (ESP32).

Quote:
the input to the SGM6603 is fed from 'IPSOUT' on an even-more obscure / complex AXP192 Power Management Unit IC.
It all seems to add up to this: Even if you can apply +5V to the 5V terminal on the Grove connector without potentially causing damage (which I am still not confident about) there seems no point in actually doing so since it won't power anything.

On the contrary, the +5V from the M5 will try to power up the 5V supply of the MK14 if the M5 is powered up but the MK14 is not.
SiriusHardware is offline  
Old 28th Mar 2023, 1:49 pm   #223
Silvester
Triode
 
Join Date: Feb 2014
Location: Redditch, Worcestershire
Posts: 27
Default Re: Yet another MK14 tape interface (ESP32).

Agreed, I recently had a look at M5stick schematic to understand Grove/Dupont power arrangement.

BTW when I picked up M5stick I also got useful pack of Grove to male/female Dupont : https://thepihut.com/products/m5stac...cables-5-pairs
__________________
David
Silvester is offline  
Old 28th Mar 2023, 4:44 pm   #224
coolsnaz2
Tetrode
 
Join Date: Aug 2020
Location: Wallington, Greater London, UK.
Posts: 87
Default Re: Yet another MK14 tape interface (ESP32).

Photo showing my M5 Stack connection to the RealView VDU card. Currently I supply my MK14's with 5v, so it is safe for me to pick up the 5v supply for the M5 devices from pins 1 to 3 of the MK14.

The 2nd photo shows the accessories I have used during development, 3.96 unit, Proto Hat and Grove to 4 pin connector. I have used the M5Stick grove connector to power the unit, and the top connector with a Proto Hat. I never connect the usb cable at the same time. Applying power from the MK14 keeps the M5Stick charged and the RTC correct, but you do need to remember to turn off the M5Stick when you turn off the MK14.

Currently I find using the M5Stack Atom Lite the best option at home, and only intend using the M5Stick away from home. The Atom Lite is being powered from the MK14 via the Grove connector.

I will publish a document soon explaining the Fast Loader protocol, so that anyone can develop their own Fast Loader programs on other devices, Arduino, Raspberry Pi, PET, BBC or other.
Attached Thumbnails
Click image for larger version

Name:	20230326_210120.jpg
Views:	42
Size:	106.3 KB
ID:	275935   Click image for larger version

Name:	20230328_155448.jpg
Views:	52
Size:	181.5 KB
ID:	275936  
coolsnaz2 is offline  
Old 28th Mar 2023, 5:56 pm   #225
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,556
Default Re: Yet another MK14 tape interface (ESP32).

Silvester and I are wondering whether it is OK or even productive to feed +5V into the 5V terminal on the 4-pin Grove connector - it's not too clear from the above whether this is something you do or you avoid doing, but the destructions I copied from the (not yet final) manual for the M5StickCplus version of your loader seem to suggest that this is a connection that should be made. (Post #195).

Could you clarify what the actual position is in that respect?

In your second image above you show that the cable loom for your Atom modules intentionally has the +5V wire removed at the module end, and the M5Stick cable looks like it is coming out of the 8-pin end of the module via a proto-hat. Silvester reckons it is actually OK to feed +5V into the 5V - in terminal there but not into the 5V terminal on the 4-pin Grove connector, which looking at the schematic is an output only?

Last edited by SiriusHardware; 28th Mar 2023 at 6:03 pm.
SiriusHardware is offline  
Old 28th Mar 2023, 6:09 pm   #226
Realtime
Hexode
 
Join Date: Jan 2021
Location: Ashford, Kent, UK
Posts: 318
Default Re: Yet another MK14 tape interface (ESP32).

Quote:
Originally Posted by SiriusHardware View Post
In reality you only need four, possibly only three pins soldered to the connections for 0V, Sense-B and SIN, (and maybe +5V) but a single pin soldered to a single pad on the exposed side of the PCB would soon get knocked off.
Agreed and here's a photo of my set up with the Atom Lite solution (thanks Coolsnaz2 ). I've hacked into the analogue tape interface module but all it's doing is picking up SIN, SENSEB, 5V and GND (I still use the old tape interface on occasions). There is a track to cut on the Tape Interface PCB so if you want more info Colin, let me know.

Alternately I would be inclined in the first instance to just wire the 4 signals to the back of RealView to a local Grove 4 pin floating socket. If at some point you want to expand to having the full bus broken out then it's easy to remove.
Attached Thumbnails
Click image for larger version

Name:	Atom Lite Interface.jpg
Views:	59
Size:	70.6 KB
ID:	275951  
Realtime is offline  
Old 31st Mar 2023, 4:51 pm   #227
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,556
Default Re: Yet another MK14 tape interface (ESP32).

Just a reminder about what rails and signals are where on the rear of the 'Slothie' issue VI MK14 PCB, and therefore also on the rear studs of the edge connector on RealView, looking at the studs from the rear of the PCB.

The essential connections are 0V, Sense-B and SIN. +5V is not actually necessary as long as the module has plenty of battery charge to run on but if you do take +5V from the MK14 to the module then IMO it needs to go the the '5V In' pin on the 8-way connector on the M5StickCPlus module, not to the 5V connection on the 4-way Grove connector which is an output, not an input.
Attached Thumbnails
Click image for larger version

Name:	MK14_issVI_RearEdge.jpg
Views:	33
Size:	34.0 KB
ID:	276141  
SiriusHardware is offline  
Old 1st Apr 2023, 8:10 pm   #228
coolsnaz2
Tetrode
 
Join Date: Aug 2020
Location: Wallington, Greater London, UK.
Posts: 87
Default Re: Yet another MK14 tape interface (ESP32).

SiriusHardware: I agree that if feeding power into the M5StickCPlus module then the 8-way connector should be used, using a Proto Hat or equivalent. Applying 5v to the grove 5v o/p does not seem to do any harm, but also does not do any good, as the internal battery is not charged from the grove connector. The 5v Out Boost circuit inside the M5StickCPlus is tolerant to 5v being applied to its output. I will update my M5StickCPlus instructions accordingly.

The Atom Lite is different, the 5v Grove pin is electrically connected to the 4-way connector. So using the Grove connector is the most convenient way to connect the Atom to the MK14, but you could choose to use the 4-way connector instead with the Atomic DIY Proto Kit.
Attached Thumbnails
Click image for larger version

Name:	atom_lite_01.jpg
Views:	28
Size:	64.4 KB
ID:	276189  
coolsnaz2 is offline  
Old 2nd Apr 2023, 8:03 am   #229
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,556
Default Re: Yet another MK14 tape interface (ESP32).

Thanks for the clarification.

Connecting the MK14 +5V rail to the Grove +5V out may not harm the onboard regulator on the M5StickCplus in that way, but it does create an uncomfortable situation whereby if the MK14 and the M5 are connected that way and the M5 is powered up but the MK14 is not, the M5 will try to power up the whole of the MK14 via that little regulator.

I think it is a situation best avoided.
SiriusHardware is offline  
Old 2nd Apr 2023, 10:14 am   #230
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,556
Default Re: Yet another MK14 tape interface (ESP32).

Quote:
I agree that if feeding power into the M5StickCPlus module then the 8-way connector should be used, using a Proto Hat or equivalent.
If the MK14 was connected entirely to the 8-way connector on the Proto Hat side, does that mean that the I/O pins used for output to the MK14 would need to be changed from G32/G33 to (I would guess) G25 and G26?
SiriusHardware is offline  
Old 5th Apr 2023, 7:34 pm   #231
coolsnaz2
Tetrode
 
Join Date: Aug 2020
Location: Wallington, Greater London, UK.
Posts: 87
Default Re: Yet another MK14 tape interface (ESP32).

Quote:
If the MK14 was connected entirely to the 8-way connector on the Proto Hat side, does that mean that the I/O pins used for output to the MK14 would need to be changed from G32/G33 to (I would guess) G25 and G26?
SiriusHardware, your guess is correct, I will PM you with options.
coolsnaz2 is offline  
Old 2nd Jul 2023, 8:53 pm   #232
Phil__G
Octode
 
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,115
Default Re: Yet another MK14 tape interface (ESP32).

Quote:
Originally Posted by coolsnaz2 View Post
I will publish a document soon explaining the Fast Loader protocol, so that anyone can develop their own Fast Loader programs on other devices, Arduino, Raspberry Pi, PET, BBC or other.
Late to the party as ever, but I'm about to join the MK14 Repro club at last, so I've lots of reading to do and often ideas in early posts are superseded in later ones, was the final fast loader protocol (as used in the V3 proms) documented anywhere please? Am I right in thinking (as BL14 suggests) its not Intel Hex but raw bytes clocked into SIN?
Ta - Phil

Last edited by Phil__G; 2nd Jul 2023 at 9:10 pm.
Phil__G is offline  
Old 3rd Jul 2023, 8:45 am   #233
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,556
Default Re: Yet another MK14 tape interface (ESP32).

Raw data, with the clock rising edge in the middle of each bit.

Each 'normal' line is nn aa aa dd dd dd dd dd dd dd dd dd dd dd dd...

Where
nn = number of data bytes in the line
aa aa = address of the first data byte in this line
dd dd dd dd dd... the data bytes

For the 'end of file' line, the format is

00 aa aa

If the Intel hex file being read by the loader (on the host / sending device) was found to contain an execution address at addresses FFFE/FFFF, 'aa aa' is the hi byte / low byte of the execution address.

If an execution address was NOT found at addresses FFFE/FFFF in the Intel Hex file, then the values in 'aa aa' should be set to 00 01, the start address of the monitor (so the loader returns control to the monitor after the file has been uploaded).

As you can see, it is a relatively simple task for the host / sending device to go through an Intel Hex file line by line, converting each line to this simplified format.

The above is my understanding only, for the lowdown you should probably seek confirmation from Coolsnaz2 or Realtime.
SiriusHardware is offline  
Old 3rd Jul 2023, 9:59 am   #234
Phil__G
Octode
 
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,115
Default Re: Yet another MK14 tape interface (ESP32).

Ta v much G, the addresses are big-endian I presume, ie as you would read them, not byte-reversed like a Z80?
Getting excited now, cant wait for my boards to arrive!
Phil__G is offline  
Old 3rd Jul 2023, 10:29 am   #235
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,556
Default Re: Yet another MK14 tape interface (ESP32).

Not reversed, no. (...So that's what that means!?).

Last edited by SiriusHardware; 3rd Jul 2023 at 10:36 am.
SiriusHardware is offline  
Old 3rd Jul 2023, 10:53 am   #236
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,556
Default Re: Yet another MK14 tape interface (ESP32).

I should have said that as far as I know all of the 'normal' code lines plus the 'end' line just flow continuously one after the other, there are no start of line / end of line delimiter characters so the 'nn' byte of line 2 follows immediately after the final 'dd' byte of line 1 and you just keep going until you've sent the 3-byte 'end' line. Hope that makes sense.

There will be a maximum speed at which you can send the data to the MK14, limited by the SC/MP's ability to deal with each bit and get around the loop in time for the arrival of the next one, but even with the sending speed dialled down a little to allow for that, it is very fast.

Last edited by SiriusHardware; 3rd Jul 2023 at 11:00 am.
SiriusHardware is offline  
Old 3rd Jul 2023, 11:06 am   #237
Qbertni
Triode
 
Join Date: May 2023
Location: Salisbury, Wiltshire, UK.
Posts: 33
Default Re: Yet another MK14 tape interface (ESP32).

Phil, if you need a display I have a spare one removed from a broken calculator
Qbertni is offline  
Old 3rd Jul 2023, 12:05 pm   #238
Qbertni
Triode
 
Join Date: May 2023
Location: Salisbury, Wiltshire, UK.
Posts: 33
Default Re: Yet another MK14 tape interface (ESP32).

Looking in my box of bits, I also have a spare flexi interconnect cable for the display an ls365 and a pair of ls157s
Qbertni is offline  
Old 4th Jul 2023, 2:04 am   #239
Phil__G
Octode
 
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,115
Default Re: Yet another MK14 tape interface (ESP32).

Ta v much, I need to have rummage to see what I have, against the BoM... some of my component stashes are 40+ years old...
Phil__G is offline  
Old 20th Aug 2023, 12:29 pm   #240
Phil__G
Octode
 
Join Date: Mar 2011
Location: North Yorkshire, UK.
Posts: 1,115
Default Re: Yet another MK14 tape interface (ESP32).

Theres suddenly a lot of interest and activity around Coolsnaz2's fast-loader and SCIOSv3 so I drew this, could someone do a sanity check for me please?
Attached Thumbnails
Click image for larger version

Name:	cs2_explained.jpg
Views:	30
Size:	82.6 KB
ID:	283616  
Attached Files
File Type: zip cs2_explained.zip (336.7 KB, 16 views)
Phil__G is offline  
Closed Thread




All times are GMT +1. The time now is 7:44 am.


All information and advice on this forum is subject to the WARNING AND DISCLAIMER located at https://www.vintage-radio.net/rules.html.
Failure to heed this warning may result in death or serious injury to yourself and/or others.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright ©2002 - 2023, Paul Stenning.