#1
|
||||
|
||||
Sonix SN8P2501 cpu
Does anybody know this CPU please?. The Instruction Set is similar to 8051 but the are other instructions no so familiar. I have found another manufacturer referring to it as the S8. I know it has it's roots in early tech, around 2002. Is there another cpu it could be based on that I have forgotten about?. I remember H8, SAM8, but not this one.
Main question, as ever - is there an IDA proc + cfg for it? Git |
#2
|
|||
|
|||
I downloaded a couple of datasheets for it and came across an instruction set table for it.
I don't know what it is, but it doesn't look anything like an 8051 to me. |
#3
|
||||
|
||||
I know what you mean, the commands I was looking at are in most cpu's I guess. DJNZ was there and that is a bit more limited in scope. It also has IJNZ which I can only find in the SX20/28.
Git |
#4
|
|||
|
|||
Detail is really sparse
It looks almost like some sort of hybrid. Some opcodes are 8051-ish and then there's RETLW, like a PIC. Unfortunately I didn't find anything detailing instruction encoding. |
#5
|
||||
|
||||
I will treat it as a new cpu and try to write a processor definition for IDA.
Git |
#6
|
||||
|
||||
Don't know how true it is, but I just read this :
Quote:
Git |
#7
|
|||
|
|||
Some of the mnemonics are definitely non-PIC, but that could just be their way of trying to make it look different (as happened with the Z80/8080).
Looking again at those mnemonics and (probably) more importantly the description, it does appear to be very much like a PIC. I notice the stack only supports one level of push/pop - again, PIC like. Did you find any instruction encoding? I'd say it would be sensible to feed your code image through a PIC disassembler and see what comes out. |
#8
|
||||
|
||||
The clearest instruction encoding I've seen is in the Elan datasheet for the EM78P153S. I've not seen my cpu image yet, I'm still trying to find out how to read it and hoping the security feature isn't set. The Sonix chip needs a special reader/burner. The Elan chip I'm not sure of but think it needs dedicated hardware too. Unfortunately, the PIC equivelent is the 8 pin A variety, not the 14pin SOP B variety which my sonix chip is. New cpu's are cheap - about 25 cents on Aliexpress, but the MP-III programmer is more like 200 usd. Neither of the equivelent 14 pin cpu's are in the device list for the common GQ-4X or TL866 programmers and so far I can't find the programming or read back procedure anywhere. It looks like the manufacturers keep it proprietry to sell programmers.
Git |
#9
|
|||
|
|||
Very old thread, but I came across this while searching for the SN8F2288, a disassembler for that chip is available: https://github.com/vpelletier/dissn8, here is also an interesting thread that might be useful to future readers (with links to datasheets and compilers and such): https://github.com/lentinj/tp-compact-keyboard/issues/32
|
The Following User Says Thank You to mr.exodia For This Useful Post: | ||
chants (03-27-2018) |
Thread Tools | |
Display Modes | |
|
|