8-pin MCU pinout diagrams?

11 posts / 0 new
Last post
kennybobby
kennybobby's picture
Offline
Last seen: 7 hours 24 min ago
Joined: 05/10/2017 - 09:13
Posts: 945
Location: huntspatch, alabama
8-pin MCU pinout diagrams?

It seems that someone posted an image(s) with several pinout diagrams, but i can’t remember or find that thread again—does anyone recall seeing it or know which thread it was in? It would be a handy reference for trying to identify some unknown MCU.

Now i used to think that i was cool,
drivin' around on fossil fuel,
until i saw what i was doin',
was drivin' down the road to ruin. --JT

Sirius9
Sirius9's picture
Offline
Last seen: 1 week 2 days ago
Joined: 03/04/2012 - 19:23
Posts: 4648
Location: South Europe

+1 for the thread.
Here’s one I need info about (click for better view):

Well-> data sheet

I just hope I will be able to programm it just like the good old Atiny 13A.
—————————————————————————————————————————————————————————-

And here’s a pinout for Atmel Atiny 13A

 

Forsythe P. Jones
Offline
Last seen: 1 week 4 days ago
Joined: 08/15/2021 - 00:40
Posts: 413
Location: California

SN8F5701 is 8051 based and data sheets are online. At least on the software side, there are plenty of tools and stuff, and the chip’s capacity is quite a bit above the smallest AVR’s and PIC’s. That is of interest because the SN8F5701 is available in a SOT23-6 package while having 4k of flash and 256 bytes of ram. Pretty good for a package that tiny.

kennybobby
kennybobby's picture
Offline
Last seen: 7 hours 24 min ago
Joined: 05/10/2017 - 09:13
Posts: 945
Location: huntspatch, alabama

Thanks for that FPJ, i never knew. MCS51 is where i cut my teeth on reverse engineering hex code, the bosch dme of the 80s, and the tcch/elcon electric car charger over at diyelectriccar forum.

Now i used to think that i was cool,
drivin' around on fossil fuel,
until i saw what i was doin',
was drivin' down the road to ruin. --JT

Sirius9
Sirius9's picture
Offline
Last seen: 1 week 2 days ago
Joined: 03/04/2012 - 19:23
Posts: 4648
Location: South Europe

Forsythe P. Jones wrote:
SN8F5701 is 8051 based and data sheets are online. At least on the software side, there are plenty of tools and stuff, and the chip’s capacity is quite a bit above the smallest AVR’s and PIC’s. That is of interest because the SN8F5701 is available in a SOT23-6 package while having 4k of flash and 256 bytes of ram. Pretty good for a package that tiny.

Can I use same setup that I use for tiny 13A and same code to programm SN8F5701 mcu?
(not an mcu expert here but I really need to transpher the same firmware to this new mcu Flat Stare )

 

treellama
Offline
Last seen: 1 day 12 hours ago
Joined: 12/08/2018 - 21:20
Posts: 254
Location: Pittsburgh

No, the SN8F5701 uses 1-pin programming. tiny13A is 4-pin!

Sirius9
Sirius9's picture
Offline
Last seen: 1 week 2 days ago
Joined: 03/04/2012 - 19:23
Posts: 4648
Location: South Europe

treellama wrote:
No, the SN8F5701 uses 1-pin programming. tiny13A is 4-pin!

S**t Facepalm

 

Forsythe P. Jones
Offline
Last seen: 1 week 4 days ago
Joined: 08/15/2021 - 00:40
Posts: 413
Location: California
Quote:
I really need to transfer the same firmware to this new mcu

You can’t transfer the firmware directly, it’s a completely different processor with a different instruction set. If the firmware is written in C and you have the source code, you might be able to port it to the 8051 using SDCC (small device C compiler, which can compile for the 8051). You won’t be able to directly recompile and use it because there are sure to be device dependencies in it. Also, if the software you want to port is a big subset of Anduril, it might not fit in the 4k 8051.

Basically what you are hoping to do is not hopeless, but it will take some work and you’ll have to know what you are doing.

I had not heard of the SN8F5701 before, and I do think it is of interest for use in flashlights, especially for small diameter drivers (like AAA sized), because of its tiny package options.

Sirius9
Sirius9's picture
Offline
Last seen: 1 week 2 days ago
Joined: 03/04/2012 - 19:23
Posts: 4648
Location: South Europe

Thanks for your input Forsythe, I moved this issue to a new thread not to pollute kennybobbys thread further.

You are very welcome over there to help me with struggles in finding solution.

P.S. Unfortunately I do not have C file, only already compiled hex that I “burn” into mcu using avrdude, firmware is very small thou and very simple, far from Anduril.

 

kennybobby
kennybobby's picture
Offline
Last seen: 7 hours 24 min ago
Joined: 05/10/2017 - 09:13
Posts: 945
Location: huntspatch, alabama

Copied over from Sirius9’s thread, MCS 51 instructions, 8051 family

Now i used to think that i was cool,
drivin' around on fossil fuel,
until i saw what i was doin',
was drivin' down the road to ruin. --JT

kennybobby
kennybobby's picture
Offline
Last seen: 7 hours 24 min ago
Joined: 05/10/2017 - 09:13
Posts: 945
Location: huntspatch, alabama

Thanks to Salvador “Barkuti” for posting these in another thread (even though he didn’t remember),

Now i used to think that i was cool,
drivin' around on fossil fuel,
until i saw what i was doin',
was drivin' down the road to ruin. --JT