Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add to documentation scheme RIB/RIBless cable #6

Open
dpvvdt-g opened this issue Jan 23, 2025 · 6 comments
Open

Add to documentation scheme RIB/RIBless cable #6

dpvvdt-g opened this issue Jan 23, 2025 · 6 comments

Comments

@dpvvdt-g
Copy link

Hi, to work with read/write flash tab needs special cable, basic RIB/RIBless from market don't work (can't load modified bootloader). Can you publish scheme of this cable?

Many thanks

@lf73
Copy link
Owner

lf73 commented Jan 26, 2025

It's been a few years since I have last touched an MTS 2000. So I am going by memory. I had direct message on communication.support with pics but they must have aged out.

Any speaker mic cable is not going to have the pin you need. I made a really crude one by drilling a hole and adding a pin in. Later I bought a Smart RIB which came with the a cable that included all pins on the radio. You might also get lucky tac soldering a small wire if you only have a radio or two to do. As for the exact pin you need I do not remember. If you look in the service manual it will detail it as the Bootstrap pin. The other pins are TX, RX, and GRND which are on every cable. The bootstrap pin you need is around 12 - 14 volts. I used a buck convertor to steal the 5 volts off the USB to TTL cable. Which reminds me, double check the volts on a USB to TTL cable. You need one with 5 volts. 3.3 was not enough to cut it...

This was the cable I got several years ago.
https://www.amazon.com/gp/product/B07J3DSPZ5

There's a lot of new convertors on the market now. This one is a Swiss army knife and should do it. I have this device but have not used with the MTS 2000.

https://www.amazon.com/gp/product/B0CGLRHDRD

@lf73
Copy link
Owner

lf73 commented Jan 26, 2025

Image

The universal connector (radio side connector) consists of 13 pins, many of which serve multiple functions. The various pins will be discussed by function.

Pins 1 and 5 are the option selection lines, OPT SEL 1 and OPT SEL 2, respectively. The state of these pins informs the radio microcontroller of the type of accessory attached, and the operating mode of the accessory. For example, an external speaker microphone will select external speaker by pulling OPT SEL 1 low, and will indicate PTT by pulling both OPT SEL 1 and OPT SEL 2 low. Refer to Table 2 for details.

Pin 2, the EXT SPKR line, and pin 6, the SPKR COMM line, provide the two signals required for the differentially driven external speaker. Pin 3, the EXT MIC line, is used for external microphone audio.

Pin 3, the EXT MIC line, is used for external microphone audio.

Pin 4, the OPT B+/BOOT PGM SEL pin, serves two functions. This pin is normally used to provide current limited SW B+ to an external accessory. For special purposes, most commonly reprogramming the Flash memory in the radio, this pin serves another function. This pin is also able to put the microprocessor in a special “bootstrap” mode. This allows software to be loaded into the processor to reprogram the Flash memory device.

Pin 7, the AUX TX/RSSI/RX OUT/DVP WE/RTS pin, serves many functions depending on the radio mode of operation. This pin is multiplexed by the MUX (U711), the ASF IC (U702), and the SLIC, U710. This pin serves as an analog input for AUX TX when used for modulation balance adjustments when programmed by the RSS. It serves as an analog output of RSSI information when tuning front-end filters in UHF and VHF radios when programmed by the RSS. It serves as an analog output of buffered discriminator signal when tuning discriminator level with the RSS (secure equipped radios). It serves as a digital input for the key-variable loader (KVL) WE signal when the key-variable loader is attached.

Pin 8 is controller board ground. This is an independent ground path from the RF ground, which is also on the universal connector.

Pin 9, the LH BUSY/KID/DATA IN line, serves several functions. During normal radio operation, this pin is used for the BUSY signal for SB9600 communications. When a key-variable loader is attached, this pin carries the key insert data (KID) signal.

Pin 10, the Vpp/CTS pin, also serves several functions. When reprogramming the Flash memory device, this pin carries the programming voltage, Vpp. The pin is also used to identify that a key-variable loader is attached. The KVL cable will ground this pin.

Pin 11, the BOOT PGM RX/TX DATA pin, is used for receive data during bootstrap programming, typically when reprogramming the Flash. Unlike normal SB9600 communications, bootstrap mode requires separate receive and transmit data paths.

Pin 12, MODE CNTRL, is used to identify that a “special” device is connected. Typically this will be the key-variable loader. Typically, the microcontroller will reprogram MUX CNTL high when this pin is low. The key-variable loader cable also grounds this pin.

Pin 13, LH DATA/ (KEY/FAIL), serves several functions as well. During normal radio operations, this pin is used as the bi-directional SB9600 data pin. When the key-variable loader is attached, this pin carries the bidirectional KEY/FAIL signal from the KVL. When the radio is in bootstrap mode, typically during Flash programming, this pin is used for transmit data. Unlike normal SB9600 communications, bootstrap mode requires separate receive and transmit data paths.

@lf73
Copy link
Owner

lf73 commented Jan 26, 2025

I found my notes!

Image

Radio <--> USB Cable

Pin 8 -- Ground <--> Black GND PIN 1
Pin 11-- Receive <--> Orange TXD PIN 3
Pin 13 -- Transmit <--> Yellow RXD PIN 15

Pin 4 -- Bootstrap <---> 12.7V PIN 14
Pin 10 - VPP <--> 12.7V I have not found this necessary to write flash as documented

@lf73
Copy link
Owner

lf73 commented Jan 26, 2025

I think the colors referenced were of the wires I found in my genuine Motorola programing cable. And the pin out on the right is the DB25 connector.

@dpvvdt-g
Copy link
Author

dpvvdt-g commented Jan 26, 2025

Thanks! I found information and build working cable.

Image

@dpvvdt-g
Copy link
Author

Right now I try write firmware image to control board. If you can get me more information - please mail to [email protected].

Thanks.
Pavel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants