Author Topic: [solved] Anyone know about an old Motorola SC85180G CPU?  (Read 506 times)

0 Members and 1 Guest are viewing this topic.

Offline rhodges

  • Regular Contributor
  • *
  • Posts: 195
  • Country: us
  • Available for embedded projects.
    • My public libraries, code samples, and projects for STM8.
[solved] Anyone know about an old Motorola SC85180G CPU?
« on: August 14, 2019, 07:46:57 pm »
I have many dozens of old bar code reader boards with nice aluminum (eh, "aluminium") cases. They have EPROM, RS232, beeper, and 5-pin DIN plug and socket. And a bar code wand.

And a Motorola CPU that is marked SC85180G. I can't seem to find any data on it. The boards are marked "TPS ELECTRONICS COPYRIGHT 1989" (1987 in a different spot).

It would be nice if I (or anyone else) could use these for some project. But without more information, they are just a few almost-useful parts and a lot of garbage.

Searching for SC85180G got me very few actual mentions, and no useful info. Maybe this is a special code for one of their other chips, like 6805, 6811, or 6802?

Thanks!
« Last Edit: August 16, 2019, 07:15:12 pm by rhodges »
Currently developing STM8 and STM32. Past includes 6809, Z80, 8086, PIC, MIPS, PNX1302, and some 8748 and 6805. Check out my public code on github. https://github.com/unfrozen
 

Offline legacy

  • Super Contributor
  • ***
  • !
  • Posts: 4415
  • Country: ch
Re: Anyone know about an old Motorola SC85180G CPU?
« Reply #1 on: August 14, 2019, 08:17:43 pm »
we can try to identify the architecture by the analyzing the firmware on the eprom :-//

Motorola had the bad habit of customizing chip for big customers. I have a lot of 683xx chips made for Ford-Racing, they are 683xx chips with custom firmware in a masked ROM, but they do not have the label "683xx" on the chip but rather weird letters that make no sense according to any user manual.

I know that they are 683xx chips because I dumped the firmware, and IDA v6.6 recognized it as 68k.
« Last Edit: August 14, 2019, 09:14:01 pm by legacy »
 

Offline legacy

  • Super Contributor
  • ***
  • !
  • Posts: 4415
  • Country: ch
Re: Anyone know about an old Motorola SC85180G CPU?
« Reply #2 on: August 14, 2019, 08:19:33 pm »
The same applies to some 68hc11 chips sold by Motorola to IBM for their hard drive controllers (PC-IBM, i286).
 

Offline rhodges

  • Regular Contributor
  • *
  • Posts: 195
  • Country: us
  • Available for embedded projects.
    • My public libraries, code samples, and projects for STM8.
Re: Anyone know about an old Motorola SC85180G CPU?
« Reply #3 on: August 14, 2019, 09:12:01 pm »
we can try to identify the architectured by the analyzing the firmware on the eprom  :-//
Okay, that sounds like a good idea. Maybe run the code through various disassemblers and see which output looks like real code.
Currently developing STM8 and STM32. Past includes 6809, Z80, 8086, PIC, MIPS, PNX1302, and some 8748 and 6805. Check out my public code on github. https://github.com/unfrozen
 

Offline rhodges

  • Regular Contributor
  • *
  • Posts: 195
  • Country: us
  • Available for embedded projects.
    • My public libraries, code samples, and projects for STM8.
Re: Anyone know about an old Motorola SC85180G CPU?
« Reply #4 on: August 14, 2019, 11:54:26 pm »
While I am figuring this out... If anyone else would like to look at the code, I put the binary here:
www.hodges.org/rh/barcode_eprom

Since there is no 74x138 decoder on the board, I think the 2764 EPROM may be enabled for all addresses. The top 16 bytes are programmed, and they might be the reset code.

All hints and ideas welcome!
Thanks!
Currently developing STM8 and STM32. Past includes 6809, Z80, 8086, PIC, MIPS, PNX1302, and some 8748 and 6805. Check out my public code on github. https://github.com/unfrozen
 

Offline amyk

  • Super Contributor
  • ***
  • Posts: 6848
Re: Anyone know about an old Motorola SC85180G CPU?
« Reply #5 on: August 15, 2019, 02:48:00 am »
The 8 vectors at the end hint at this being 68xx family, and disassembling it as 6811 code with the image mapped at E000 makes sense (reset vector at E359), so I'm guessing that could be it. A 6812 is too new, and trying to interpret the code as 6809 doesn't make as much sense.

Edit: I found this other interesting product that appears to have the same CPU: https://gridchoice.com/shop/apple/6769-used-mystery-circuit-board-apple-transporter-corvus-systems.html --- searching "Corvus Systems Apple Transporter" yields some more related info, including this image which contrasts with this one showing a HD6801 in place of the SC85180G...

...and more digging reveals another Motorola chip used in a Corvus product, this time an SC85337P: https://atariage.com/forums/uploads/monthly_03_2011/post-27823-0-18396400-1300871195.jpg Same package, same 10MHz oscillator, slightly different markings...
« Last Edit: August 15, 2019, 03:26:28 am by amyk »
 
The following users thanked this post: rhodges

Offline rhodges

  • Regular Contributor
  • *
  • Posts: 195
  • Country: us
  • Available for embedded projects.
    • My public libraries, code samples, and projects for STM8.
Re: Anyone know about an old Motorola SC85180G CPU?
« Reply #6 on: August 15, 2019, 12:00:27 pm »
Yes, this is looking like a 6801/6803 CPU. I am reading the datasheet, and it shows a 74LS373 to latch address lines, and yes, the board has one between the CPU and EPROM. The datasheet has a table with 3 crystal choices for the serial baud rate, one of them 4.9152 mhz. That is on the board. I used a 6801 disassembler on the binary, and so far it looks okay.

If I verify that pins P20, P21, and P22 have resistors to set "mode 2", then I will assume it is a 6801 (ROM disabled) or 6803 (no internal ROM).

Thanks!
Currently developing STM8 and STM32. Past includes 6809, Z80, 8086, PIC, MIPS, PNX1302, and some 8748 and 6805. Check out my public code on github. https://github.com/unfrozen
 

Offline amyk

  • Super Contributor
  • ***
  • Posts: 6848
Re: Anyone know about an old Motorola SC85180G CPU?
« Reply #7 on: August 16, 2019, 12:14:11 pm »
I thought it was a 6811 at first because after further comparison of the opcode maps, the 6800/1/3/11 all have a common ancestor starting with the 6800, but the 6805 and 6809 are very different from that series and each other. I looked again and 6801 does make sense.
 

Offline rhodges

  • Regular Contributor
  • *
  • Posts: 195
  • Country: us
  • Available for embedded projects.
    • My public libraries, code samples, and projects for STM8.
Re: Anyone know about an old Motorola SC85180G CPU?
« Reply #8 on: August 16, 2019, 03:00:25 pm »
I have worked (played) with the 6805, and I know it has its own program memory. I am pretty sure it is the same with the 6811. I looked at the 6804, and they all have lower pin counts (no 40 pin version). The 6802 has the xtal pins on the wrong side.

Points in favor of 6801/6803:
Vcc, Vss in right place.
Xtal pins in right place.
Serial in/out pins in right place (traced to RS232 chip).
74LS373 latch is between CPU and EPROM, just like in the datasheet.
Disassembly looks okay at first glance.
(Reset vector looks like it sets up ports.)
I will look at the serial interrupt and see if the code accesses the serial register.

Not sure:
P20 and P22 seem to be floating, needed for mode setup. P21 has pull-up.
Currently developing STM8 and STM32. Past includes 6809, Z80, 8086, PIC, MIPS, PNX1302, and some 8748 and 6805. Check out my public code on github. https://github.com/unfrozen
 

Offline rhodges

  • Regular Contributor
  • *
  • Posts: 195
  • Country: us
  • Available for embedded projects.
    • My public libraries, code samples, and projects for STM8.
Re: Anyone know about an old Motorola SC85180G CPU?
« Reply #9 on: August 16, 2019, 07:14:38 pm »
I have used some of these boards for parts, and I found a few of them. Aha! Two boards have Motorola 6803 and two have Hitachi 6803!

Mystery solved.
Currently developing STM8 and STM32. Past includes 6809, Z80, 8086, PIC, MIPS, PNX1302, and some 8748 and 6805. Check out my public code on github. https://github.com/unfrozen
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf