OlegMishin / A500_8MB_ide2

8MB FastRAM and BSC-AT-Bus IDE controller for Amiga 500
GNU General Public License v3.0
19 stars 0 forks source link

Not an issue. Built one and it's working perfectly. #1

Open tkurbad opened 1 year ago

tkurbad commented 1 year ago

As stated in the subject, I built one of these, and it's working beautifully.

I flashed oktapussy before soldering the flash chip. The card booted right into WB 1.3, where I was greeted with 8 MB FastRAM.

Thanks @OlegMishin

OlegMishin commented 1 year ago

Thanks for your feedback, @tkurbad !

rmueller83 commented 1 year ago

Could you explain what Oktapussy does? Do I need additional SCSI hardware to use this?

OlegMishin commented 1 year ago

Hi @rmueller83, The "Octapussy" ROM contains an IDE driver and some libraries. It shall be flashed to the Flash ROM to allow booting from HDD. Seems the ROM has also a memory driver as the 8MB RAM detected even in WB1.3. The HDD controller is same as in this board: https://bigbookofamigahardware.com/bboah/product.aspx?id=523

It is IDE, not SCSI. You can connect IDE HDD or CF-IDE directly.

rmueller83 commented 1 year ago

Thanks for the clarification. Could you post a file name or CRC32 of the ROM file you are using? There seem to be several versions.

OlegMishin commented 1 year ago

No problem. I uploaded it into "ROM" folder.

rmueller83 commented 1 year ago

Thank you, it has the same CRC as the one which is linked on https://amiga.resource.cx/exp/alfapower

rmueller83 commented 1 year ago

@OlegMishin could you please add a flashable svf file like in the v1 project in the output_files directory?

OlegMishin commented 1 year ago

Hi @rmueller83, Done.

BR Oleg

rmueller83 commented 1 year ago

Wow, that was fast. Thank you! 👍

OlegMishin commented 1 year ago

No problem. I was at my PC that time :)

FLT-1 commented 1 year ago

Hello! I wanted to ask if the ROM programming is all done from an original Amiga with the “Octapussy” BIN or is it necessary to do some extra programming?

OlegMishin commented 1 year ago

Hi, The Flash can be programmed on a real Amiga with "flashem" tool included in "Software" folder.

CCKMik commented 10 months ago

How to program it with SVF file ? (RaspberryPI hardware)

OlegMishin commented 10 months ago

I have never used Raspberry Pi for CPLD programming. For Microchip I use OpenOCD e.g. as below command: "E:\openocd-v0.11.0\bin\openocd.exe" -f "E:\openocd-v0.11.0\scripts\interface\altera-usb-blaster.cfg" -c init -c "svf A500_8mb_ide.svf" -c "sleep 200" -c shutdown For Altera CPLD I use Quartus programmer. Both via ByteBlaster.

FLT-1 commented 10 months ago

Hello. I built the project, with the main IC: “39SF020A” ; “KM416C4100BS-6”; “EPM7128STC100-10N” and I'm getting the Amiga screen red. What could be wrong? Do you have any idea ?

OlegMishin commented 10 months ago

Hi @FLT-1, I guess you already programmed the CPLD and FLASH. If so, check soldering.

FLT-1 commented 10 months ago

I apologize in advance for the inconvenience... I've already checked all the soldering and contacts... I realized that the flash can be programmed via the Amiga, and to be able to guide myself, I question the CLPD, will it have to be programmed off the board or via JTAG?

OlegMishin commented 10 months ago

I beleve it is obvious, via JTAG. For Altera CPLD a standalone Quartus Programmer tool can be used with cheap USB blaster. No need to install complete Quartus.

CCKMik commented 9 months ago

I have never used Raspberry Pi for CPLD programming. For Microchip I use OpenOCD e.g. as below command: "E:\openocd-v0.11.0\bin\openocd.exe" -f "E:\openocd-v0.11.0\scripts\interface\altera-usb-blaster.cfg" -c init -c "svf A500_8mb_ide.svf" -c "sleep 200" -c shutdown For Altera CPLD I use Quartus programmer. Both via ByteBlaster.

hmm, why is that error?

"C:\OpenOCD\bin\openocd.exe" -f "C:\OpenOCD\share\openocd\scripts\interface\altera-usb-blaster.cfg" -c init -c "svf A500_8mb_ide.svf" -c "sleep 200" -c shutdown

Open On-Chip Debugger 0.12.0 (2023-10-02) [https://github.com/sysprogs/openocd] Licensed under GNU GPL v2 libusb1 09e75e98b4d9ea7909e8837b7a3f00dda4589dc3

For bug reports, read http://openocd.org/doc/doxygen/bugs.html

Info : only one transport option; autoselecting 'jtag' Error: No lowlevel driver available

OlegMishin commented 9 months ago

I assume, the USBblaster is functional and tested with other SW(e.g. Quartus Programmer). Maybe USB driver is not correct. Try Zadig to play with drivers: https://zadig.akeo.ie/

CCKMik commented 9 months ago

screenshot:

https://ibb.co/rZWWxM3

OlegMishin commented 9 months ago

Did you try other USB drivers? I don't remember, which one was working for me.

CCKMik commented 7 months ago

Did you try other USB drivers? I don't remember, which one was working for me. yes, nothing works :(

USBblaster gives 3.3v, but we need 5v, Should I provide 5v from an external source?

FLT-1 commented 7 months ago

Did you try other USB drivers? I don't remember, which one was working for me. yes, nothing works :(

USBblaster gives 3.3v, but we need 5v, Should I provide 5v from an external source?

You can do it two ways... either you put it on the Amiga board, turn on the power, the board (AMIGA) injects the voltages or you inject the power directly onto the board (Expansion) Pin 14 or 49 for +5v and pin 16 or 53 to GND. I've done it both ways and it worked. (I made two for my two A500s and they are working great)

OlegMishin commented 7 months ago

@FLT-1 , thanks for your comment. That is absolutely right. @CCKMik, I use another way. My USBblaster is upgraded with a switch to provide 5V from USB to target.

CCKMik commented 7 months ago

I've done it both ways and it worked. (I made two for my two A500s and they are working great)

Did you use USBblaster for programming? could you show this photo of the correct connection ?

OlegMishin commented 7 months ago

Hi @CCKMik, Yes I do use USBblaster. The connection is quite straight forward. Please refer to the discussion in the previous version of the project: https://github.com/OlegMishin/A500_8MB_ide/issues/3 The only difference is in the JTAG connector footprint. Before it was through hole, now it is SMD.

CCKMik commented 6 months ago

Please refer to the discussion in the previous version of the project: [OlegMishin/A500_8MB_ide#3]

conclude from it:

" TLDR for this thread: don't waste your time with an USB Blaster clone or a Raspberry Pi. Get a FT232H board."

CCKMik commented 6 months ago

Hi @FLT-1, I guess you already programmed the CPLD and FLASH. If so, check soldering.

what is the required minimum soldering of parts to be able to program the altera chip ?

OlegMishin commented 6 months ago

I would recommend to solder JTAG pull-ups and decoupling capacitors for the CPLD. Please refer to this thread for same discussion: https://github.com/OlegMishin/A500_8MB_ide/issues/3