Communications Prot...
 
Notifications
Clear all

Communications Protocols ???

5 Posts
2 Users
0 Reactions
2,961 Views
IdunBenhad
Posts: 1603
Topic starter
(@idunbenhad)
Noble Member
Joined: 18 years ago
[#36070]

I have obtained two vintage (circa early 1990s) Marlboro signs that have a LED moving message on the bottom. I am trying to figure out the communications protocol from the controller/programmer to the CPU in the sign.

The CPU is a P8049. Also on board the is a 6116 2048x8 static ram and a 27c512 Eprom-65kx8 bytes. The display is 18 modules of 5x7 matrix LEDs. The controller also has a P8049, which generates the key press data.

The message that displays is: "MARLBORO...COME TO WHERE THE FLAVOR IS." followed by "MARLBORO" scrolling up from the bottom of the display. After this, it will display any message that is programmed in. It then loops around and displays the above all over again. There is no apparent way to defeat the Marlboro message, but I have found in a dump of the 27c512 Eprom the MARLBORO, which is in a graphics form and COME TO WHERE THE FLAVOR IS. in straight ASCII, as well as some of the commands that are displayed when a message is programmed in. I have been able to reprogram the Eprom, changing MARLBORO to either blank or WELCOME, etc. and the "COME TO WHERE THE FLAVOR IS." is easily reprogrammable using straight ASCII.

The code is repeated 8 times, each block being 8K long, in the Eprom, but apparently only the code beginning at 0xE000 is used. STRANGE!

The programmer plugs into the sign with a DB9 connector, leading one to believe it is a straight keyboard input, but it is not. There are two data lines, one line having a clock signal and the other the data. The clock line is always high while the data line is low until a key is pressed. The clock signal then starts and then the data for the key pressed.

When a key is pressed, there are two complete bytes sent. Look at the table below: This is for the letter A. Notice there are 9 bits, so the leftmost or high bit is probably a start bit.

A:
101000100==44(hex)
101000101==45(hex)

Notice that the second byte increases the hex by 1. The second byte is apparently sent after the key is released. This is consistent for all letters, commands, etc. The last bit of the second byte is always high, indicating Parity???

It is not known which of the bytes the signs uses for its commands or display. There appears to be no handshaking between the sign and the controller.

If anyone is familiar with this communications protocol, please let me know. I want to try to use these signs in the Christmas display to show the song being played, etc, but I would like to be able to program them in real time from a computer. It may very well be proprietary and unless I can figure out how to dump the ROM in the CPU (it's soldered in, the Eprom is not) it may never be known!

Thanks, guys. I hope some of you communications GURUs can help me out.


4 Replies
jchuchla
Posts: 8698
(@jchuchla)
Illustrious Member
Joined: 15 years ago

Any useful identifying markings on the control boards? or the programmer? There's not all that many of these designs out there. Marlboro certainly didn't have this custom made. I'm sure it's using one of the "standard" designs out there and we can likely find some docs.


Reply
IdunBenhad
Posts: 1603
Topic starter
(@idunbenhad)
Noble Member
Joined: 18 years ago

Hi:
No, I don't think Marlboro had it custom made because the EPROM is socketed, suggesting it can be changed and I have done it. There is no manufacturers name on either of the signs, but on the P8049 CPU in the controller is the name HONOTRON. This is a Taiwan company, listed in the Taiwan business directory, but no E:mail or Website. They do have a telephone number, but this would probably be an expensive call and I don't speak Chinese!

I have a friend at Intel who is looking up the part numbers on the P8049 in the sign itself. Intel may have manufactured the chip for them and this may give me a lead. Hopefully, if I can contact them, they might release the code, but I'm not holding by breath!!

I do have the programming manual, but there is no way into the CPU code that I can find.


Reply
jchuchla
Posts: 8698
IdunBenhad
Posts: 1603
Topic starter
(@idunbenhad)
Noble Member
Joined: 18 years ago

Hi:
Thanks for the info. Looks like the google reference is the best, I'm printing it now.

Turns out this is Synchronous-Serial. The data is clocked in. I'm getting ready to go out to Command Central now and hook up a keyboard and see what it looks like!!

Thanks again for your help.


Reply
Share: