FDD+IDE controller and Universal Flash ROM cartridge projects + future Multi-soundcard cartridge

Page 12/16
5 | 6 | 7 | 8 | 9 | 10 | 11 | | 13 | 14 | 15 | 16

By Alexey

Guardian (2294)

Alexey's picture

30-04-2017, 05:43

Thanks to Altera's flexible design and our engineer's great work, the HD3 signal has been re-arranged to a different pin and with a small thin piece of wire the fix resulted in a working IDE. Smile

By hardwaremaker

Master (218)

hardwaremaker's picture

30-04-2017, 09:27

Alexey wrote:
hardwaremaker wrote:

OK. The cartridge, works fine mounting all this optional components?

Sure. What's the point of soldering them if they are not used? Waste of parts. So don't solder them. Smile

I buyed the parts, and I don't will use this parts in another circuit. I will solder them in case they use in the future.

By Alexey

Guardian (2294)

Alexey's picture

30-04-2017, 15:37

Fixed a few minor bugs including the incorrect directory entry counter. Fixed the code to restart 64kb games with mappers and default configuration (reboot was not working before). Added RCP file for 64kb games with mappers, that need non-expanded slot and restart. Also included boot block without fade in/out effects.

By Alexey

Guardian (2294)

Alexey's picture

01-05-2017, 18:42

Photo of the "fixed" Altera. Wink

By hardwaremaker

Master (218)

hardwaremaker's picture

02-05-2017, 16:10

WOW!
Good job.

By hardwaremaker

Master (218)

hardwaremaker's picture

03-05-2017, 14:05

I mounted a Carnivore2 board. I uploaded the firmware with the Altera USB blaster, but the C2MAN utility doesn't detect the cartridge. The mapper seems ti work fine, and past the testram and testmap well.

The c2man utility says:

FlashROM chip's type is not detected!
This cartridge is not open for writing or may be defective!
Try to reboot and hold down F5 key...

I tried to boot pressing F5, in slot 1, in slot 2, with a VG-8235 with gotek disk drive emulator, and with a VG-8020 with a BEER IDE board, and always with the same results.

Any idea?

By hardwaremaker

Master (218)

hardwaremaker's picture

03-05-2017, 14:32

OK, I think what is the problem. I mounted a flash chip with "Top bootblock adresses", and you mounted fash with "bottom boot block adresses".
Is possible to modify the firmware for use my flash chips? Or I must buy the other type?

By Alexey

Guardian (2294)

Alexey's picture

03-05-2017, 18:46

The partslist.txt tells exactly what chips and other components must be used. If anything (especially chips) is replaced with a different model, we can't guarantee the correct functionality of the cartridge. What flash chip are you using? Would be nice to see a picture of the assembled cartridge from both sides.

I am not sure what you mean by "Top bootblock" and "Bottom bootblock". We are just using the 64kb blocks of the flash chip. The 0 block is used for our own Boot Block and directory, 1-2 blocks goes to IDE bios and 3 block goes to FMPAC bios.

Did you try to manually specify the slot for the cartridge? Try using "10" for first slot. Also try to run the utility again if it doesn't detect the cartridge during the first run. Use the ESC key in the Boot Block to allow easy auto-detection of the cartridge instead of selecting any configuration entries. Also check whether your flash chip is properly connected to corresponding Altera pins.

By hardwaremaker

Master (218)

hardwaremaker's picture

03-05-2017, 19:53

I see in your photos, that you are using th flash chip M29W640GB:

I'm using the chip M29W640FT. In the partslist.txt only says:

Quote:

U2 - M29W640 Flash ROM (TSOP48)

Don't says the last two letters, and in the pictures of the github don't see the code of the chip. The photo that I posted here of your board is of the page 5 of this post.
In the datasheet of the flash that you are used:
M29W640GB datasheet
In the page 70, you can see the "Bottom boot block adresses" for the M29W640GB.
The blocks 0 to 7 are 8KB blocks, and the blocks 8 to 134, are 64 KB blocks.
If you see the datasheet of M29W640FT
M29W640FT datasheet
In the page 47, you can see the "Top Boot Block addresses" for the M29W640FT.
The blocks 0 to 126 are 64KB blocks, and the blocks 127 to 134 are 8KB blocks.
This differences are not in the partslist.txt, and the entire part number of the chip is important. See the page 61 of the M29W640GB datasheet and the page 46 of the M29W640FT datasheet. The last letter, T=Top boot and B=bottom boot.

Here, the pictures of my board:

By Alexey

Guardian (2294)

Alexey's picture

03-05-2017, 20:51

Hmm, sorry, I was not aware about those differences between the flash chips. I added "GB" to the chip's name in the partslist. I am afraid it's not possible to use a different chip without rewriting the firmware and utilities...

For the AS connector it's better not to solder those 2x5 pins to the board. I usually insert them into the ByteBlaster's female connector and then insert the other side of the pins into the holes of the cartridge and slightly twist them to have better contact with the board. Then I can program the chip and remove the pins from the holes once it's done.

I also recommend to remove R54 and solder it only on one side like I did on my board. We didn't test how the board works with 12V suppled to those transistors.

Nice soldering by the way! Smile

Page 12/16
5 | 6 | 7 | 8 | 9 | 10 | 11 | | 13 | 14 | 15 | 16