Page 1 of 2

CIC AVR KRIKZZ NO WORK

Posted: Mon Aug 01, 2022 2:31 pm
by darleiv
Hi guys. i'm having a nightmare with cic avr krizkzzz tiny13a
first . my gq4x4 does not identify its id.
second only my tlL866 writes it
can give 100 reset on nes. he didn't find the region
the question is simple. on another nes of a friend this worked. in my no. any clues as to why. because the cic is correct and it's no use resetting that won't.
avrciczz_proper.jpg
34243524324.png
46546754.png

Re: CIC AVR KRIKZZ NO WORK

Posted: Mon Aug 01, 2022 4:23 pm
by Memblers
It seems dumb, but I believe the attiny13a immediately quits using the internal clock when you program it with this configuration. Before it's done programming. So you need to give it a clock signal.

I program them in-circuit, I built a board with a 72-pin connector that has only power/gnd, the avr programming signals (to what would be NES CIC pins) and a 4mhz oscillator. later on I modified my NES to switch between live CIC and AVR programming pins, I write it in my NES (with the lockout chip clocking it so it can finish programming).

I have a totally different setup over here, but here are the commands I use.

avrdude -i 10000 -c usbtiny -p t13 -U flash:w:avrciczz.hex
avrdude -c usbtiny -p t13 -U hfuse:w:hfuse.hex
avrdude -c usbtiny -p t13 -U lfuse:w:lfuse.hex

Re: CIC AVR KRIKZZ NO WORK

Posted: Tue Aug 02, 2022 10:50 am
by darleiv
Memblers wrote: Mon Aug 01, 2022 4:23 pm It seems dumb, but I believe the attiny13a immediately quits using the internal clock when you program it with this configuration. Before it's done programming. So you need to give it a clock signal.

I program them in-circuit, I built a board with a 72-pin connector that has only power/gnd, the avr programming signals (to what would be NES CIC pins) and a 4mhz oscillator. later on I modified my NES to switch between live CIC and AVR programming pins, I write it in my NES (with the lockout chip clocking it so it can finish programming).

I have a totally different setup over here, but here are the commands I use.

avrdude -i 10000 -c usbtiny -p t13 -U flash:w:avrciczz.hex
avrdude -c usbtiny -p t13 -U hfuse:w:hfuse.hex
avrdude -c usbtiny -p t13 -U lfuse:w:lfuse.hex
do you think it's worth it for me to buy a stk500?

Re: CIC AVR KRIKZZ NO WORK

Posted: Wed Aug 03, 2022 12:57 am
by Memblers
I don't know, if it doesn't cost a lot it's probably worth it, AFAIK STK500 is the official programmer. I saw the specs saying it can clock a chip, hopefully it can do that for the attiny13a.

What I can say is there's been some weird flakiness with my setup, with avrdude and usbtiny. Like there had been times where it just randomly fail. Run avrdude a second time and it's fine. Might fail 10 times in a row one day, or might go years at a time without a problem. Ultimately I don't know what was causing that, though.

Re: CIC AVR KRIKZZ NO WORK

Posted: Thu Aug 04, 2022 5:52 am
by olddb
What region is your NES?
I recently programmed two with tlL866 and they worked (ntsc).
Wasn't aware about this issue. :shock:

Re: CIC AVR KRIKZZ NO WORK

Posted: Thu Aug 04, 2022 2:50 pm
by darleiv
my nes had the cic with the broken pin, then i got a mario3 i used her cic in my nes. does this have to do with the problem?

Re: CIC AVR KRIKZZ NO WORK

Posted: Thu Aug 04, 2022 2:51 pm
by darleiv
olddb wrote: Thu Aug 04, 2022 5:52 am What region is your NES?
I recently programmed two with attiny13a and they worked (ntsc).
Wasn't aware about this issue. :shock:
usa ntsc

Re: CIC AVR KRIKZZ NO WORK

Posted: Thu Aug 04, 2022 3:43 pm
by Memblers
darleiv wrote: Thu Aug 04, 2022 2:50 pm my nes had the cic with the broken pin, then i got a mario3 i used her cic in my nes. does this have to do with the problem?
Oh yeah, that may be the problem. The lock (3193) and key (6113) chips are different. I'm not sure if revision matters, like 3193 vs 3193A. My understanding is that the lock chip (3193) also can work as lock or key, and early NES carts have that chip inside. Later releases have the 6113, and that part works as key only.

Re: CIC AVR KRIKZZ NO WORK

Posted: Fri Aug 05, 2022 2:26 pm
by darleiv
Memblers wrote: Thu Aug 04, 2022 3:43 pm
darleiv wrote: Thu Aug 04, 2022 2:50 pm my nes had the cic with the broken pin, then i got a mario3 i used her cic in my nes. does this have to do with the problem?
Oh yeah, that may be the problem. The lock (3193) and key (6113) chips are different. I'm not sure if revision matters, like 3193 vs 3193A. My understanding is that the lock chip (3193) also can work as lock or key, and early NES carts have that chip inside. Later releases have the 6113, and that part works as key only.
even if original games are recognizing mario cic? it could still be this

I will open all the bodywork and check this

Re: CIC AVR KRIKZZ NO WORK

Posted: Fri Aug 05, 2022 2:33 pm
by lidnariq
If it is the CIC, all other pairings work except 6113 as lock and 3193 as key.

Re: CIC AVR KRIKZZ NO WORK

Posted: Fri Aug 05, 2022 3:11 pm
by darleiv
opened the junk
here is the problem?

291808492_2229314450575894_4134164147272479293_n.jpg

Re: CIC AVR KRIKZZ NO WORK

Posted: Fri Aug 05, 2022 3:18 pm
by darleiv
lidnariq wrote: Fri Aug 05, 2022 2:33 pm If it is the CIC, all other pairings work except 6113 as lock and 3193 as key.
strange that this 6113 if the game is original it acts as a lock. but when it's the AVR no

Re: CIC AVR KRIKZZ NO WORK

Posted: Fri Aug 05, 2022 3:41 pm
by darleiv
is there any avr code to create the original cic of the console? :shock:

Re: CIC AVR KRIKZZ NO WORK

Posted: Sat Aug 06, 2022 10:24 pm
by Ben Boldt
darleiv wrote: Fri Aug 05, 2022 3:41 pm is there any avr code to create the original cic of the console? :shock:
:lol: This will be necessary when we colonize Mars because we will need a new unique region lock.

Re: CIC AVR KRIKZZ NO WORK

Posted: Sun Aug 07, 2022 8:55 am
by Pokun
It's not really a lock but there's the NullCIC replacement. I'm not sure if it works with games like Nintendo World Championships though.