C161 Minimon help

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User19982
Level 1
Level 1
Hello I working with C161 That has on chip memory. It is labeled 9399059. They were a custom order chip for GM.
I am able to read the on chip memory with minimon but I have not be able to write to it. The program area looks like it is 0000-7FF0 and 018000 - 02FFFF after pulling different areas.Giving it 128KB of memory. Unforantly The only datasheet I have to go off of is for the C161CS but all the off the shelf ones didn't have flash memory.
Looking at My screenshots am I missing something to write? It doesn't even try to write it just says "*ERROR: download not successful" as soon as I click it. So I think I forgot a setting?


I have attached some screenshots 4571.attach4572.attach4573.attach
0 Likes
1 Reply
User19982
Level 1
Level 1
Day 2. Still trying.

Found this in the BIN (someone else did but they showed me)
-------- EraseSector -------------

//start erase
w[2AAAA] = AA
w[25554] = 55
w[2AAAA] = 80
w[25554] = AA
w[2AAAA] = 55
w[SectorStart] = 30
w[SectorStart] = 30
//wait for completion
do {
w[2AAAA] = FA
status = w[20000]
} while (status & 1)



-------- ProgramPage -------------
// start preload
w[2AAAA] = 50
w[PageStart] = wData[0]
// preload
for(i=1; i<1F; i++) {
w[2A0F2] = wData
}
//confirm
w[2AAAA] = AA
w[25554] = 55
w[2AAAA] = A0
w[PageStart] = wData[1F]
w[PageStart] = wData[1F]
//wait for completion
do {
w[2AAAA] = FA
status = w[20000]
} while (status & 1)


So they noticed its also in the C161JI driver so I tried that. Still no success. Any ideas?
0 Likes