Kazzo problems, vram connection is unmatched?

This is an archive of a topic from NESdev BBS, taken in mid-October 2019 before a server upgrade.
View original topic
Kazzo problems, vram connection is unmatched?
by on (#171495)
When i try to program an hack i've done about section Z on this http://www.infiniteneslives.com/nessupplies.php#UxROM i can't and on anago wx appear a message that says

''warning: vram connection is unmmacted
cartridge:V romimage:?''

What does this mean? :(
Re: Kazzo problems, vram connection is unmatched?
by on (#171840)
Also, in the nes mapper list Section-z is meant to be 128k, my rom extracted directly by the original cart and my unrom pcb says can't receive a larger file. Just 1k.

What is supposed i should do, please help a novice. :beer:
Re: Kazzo problems, vram connection is unmatched?
by on (#171902)
Can you post the script file you're using?
Re: Kazzo problems, vram connection is unmatched?
by on (#171942)
As described in the readme from the kazzo page and contained in the .zip download you'll need to use my firmware and host app to flash the board. The original kazzo firmware and anago/unagi don't support my boards primarily due to lack of documentation of how flashing is handled.

The readme should help you switch the firmware on the kazzo to my build, and explain how to erase, and program the board with my app. Feel free to message me on my support page if you need help.

EDIT: fixed link
Re: Kazzo problems, vram connection is unmatched?
by on (#171959)
Wrong link for the readme.

Instead of making another thread, I'll just put this here.

I've been having trouble trying to use anago to flash my GTROM board, it's always "compare failed at offset 0x008000". But I don't see the problem with my script.

If this could be supported in your app INL, that would be awesome. Here's the vital info:
mapper register $5000, 4 lowest bits
32kB pages at $8000-$FFFF
SST39SF040, command addresses are $AAAA and $D555
uses CHR-RAM
4-screen mirroring only
mapper #111


Code:
board <- {
   mappernum = 111, vram_mirrorfind = false, ppu_ramfind = false,
   cpu_romsize = 0x80000, cpu_banksize = 0x4000,
   cpu_rom = { size_base = 0x8000, size_max = 0x80000, banksize = 0x4000},
   ppu_rom = {   size_base = 0, size_max = 0, banksize = 0x2000}
};

function program_initalize(d, cpu_banksize, ppu_banksize)
{
   cpu_write(d, 0x5000, 0);
   cpu_command(d, 0, 0x8000, cpu_banksize);
   cpu_command(d, 0x2aaa, 0x8000, cpu_banksize);
   cpu_command(d, 0x5555, 0xC000, cpu_banksize);
}

function cpu_transfer(d, start, end, cpu_banksize)
{
   for(local i = start; i < end; i += 1){
      cpu_write(d, 0x5000, i);
      cpu_program(d, 0x8000, cpu_banksize);
      cpu_program(d, 0xC000, cpu_banksize);
   }
}

function ppu_transfer(d, start, end, ppu_banksize)
{
}
Re: Kazzo problems, vram connection is unmatched?
by on (#171972)
Ok, i'm not at home right now but i've used both the configurations (INL/ Anago)

With Anago wx i've used the bundled script ''UNROM.af'' with the enlisted chip SST etc. (enlisted is 040 if i don't wrong but my cartridge is 128k so i think should be 010)

Btw, nothing happened, appear the error vram unmatched as told before. But as INL said in this thread it should not be compatible so ok, let's go ahead.

I tried mostly with INL retroprog, i've erased the cart with the bundled rom PRG ERASER selecting the header in the scroll down, verify OK, led goes away.

Then when i restart the kazzo board, i try to write the header (also tried selecting 128k PRG in the scroll down) but firstly a question window pop-up asking me if it should continue flashing because the rom i'm trying to flash is 129k and says the eeprom is smaller.
(I've tried to check size of others rom, what is listed should be 128k is always 129k)

Btw, i got or the error -116 sometimes, but mainly it says ERROR IN PAGE:0

This is a resume of what is happening is these days, when i'll back from work i'll go experimenting again. Hope i've told about information to start getting a clue. Thank you :)
Re: Kazzo problems, vram connection is unmatched?
by on (#171986)
Quote:
Wrong link for the readme.
Ooops! fixed!

I don't suggest wasting time trying to use anago/unagi to flash any boards. It simply doesn't work in my experience, and it's not clear as how the schematic should be setup to make it work. One could get it working but you'd have to be willing to update the firmware code and make your own version of the firmware to make it work.

Quote:
If this could be supported in your app INL, that would be awesome. Here's the vital info
Sounds like BNROM type setup, try this one, it might already work as-is force 32KB banked INL firmware. The real vital info is whether there is a way to distinguish mapper writes from flash writes with your schematic. It is possible to flash 32KB banked discrete mappers without a means to segregate mapper and flash writes, but it can be problematic. The firmware I just linked makes it's best effort to do so from what I recall.

Quote:
Then when i restart the kazzo board, i try to write the header (also tried selecting 128k PRG in the scroll down) but firstly a question window pop-up asking me if it should continue flashing because the rom i'm trying to flash is 129k and says the eeprom is smaller.
(I've tried to check size of others rom, what is listed should be 128k is always 129k)
Sounds like you're not removing the ines header from the rom image. The rom image file needs to be exactly 128KB, you need to remove the 16byte header from the file. That's why things aren't working for you thus far.
Re: Kazzo problems, vram connection is unmatched?
by on (#171997)
infiniteneslives wrote:
Quote:
If this could be supported in your app INL, that would be awesome. Here's the vital info
Sounds like BNROM type setup, try this one, it might already work as-is force 32KB banked INL firmware. The real vital info is whether there is a way to distinguish mapper writes from flash writes with your schematic. It is possible to flash 32KB banked discrete mappers without a means to segregate mapper and flash writes, but it can be problematic. The firmware I just linked makes it's best effort to do so from what I recall.


With GTROM the mapper register is at $5xxx, so it is fully separate from the FlashROM.
Re: Kazzo problems, vram connection is unmatched?
by on (#172022)
Quote:
Sounds like you're not removing the ines header from the rom image. The rom image file needs to be exactly 128KB, you need to remove the 16byte header from the file. That's why things aren't working for you thus far.


Thank you. It worked perfectly. :beer:
Re: Kazzo problems, vram connection is unmatched?
by on (#172047)
Glad that got things working! :)

As for GTROM, sorry I missed that detail about the mapper reg at $5000. That makes things fairly simple I'd be willing to add support, would you be willing to send me one for testing?
Re: Kazzo problems, vram connection is unmatched?
by on (#172298)
infiniteneslives wrote:
As for GTROM, sorry I missed that detail about the mapper reg at $5000. That makes things fairly simple I'd be willing to add support, would you be willing to send me one for testing?


Glady, PM sent, and thanks.