BlueSCSI / BlueSCSI-v2

Open source, open hardware, SCSI emulator using the Pi Pico PR2040
https://bluescsi.com
GNU General Public License v3.0
237 stars 25 forks source link

HD1.rom overwrites firmware? #98

Open reukiodo opened 10 months ago

reukiodo commented 10 months ago

At least as of 20231012, the ROM drive function seems to overwrite at least part of the firmware, causing the BlueSCSI to become non-functional until firmware is re-flashed through USB.

  1. flash firmware to Pico over USB
  2. use known-working HD1.hda as test (ensure booting is successful)
  3. rename working HD1.hda to HD1.rom
  4. power up Pico and wait for writing
  5. ... no more function

It may be coincidence (or not) but it seems that the Pico goes into an extremely high-pitched whine during HD1.rom writing, and this high-pitched whine continues after any successive reboots.

fdanapfel commented 10 months ago

@reukiodo How big is the HD1.hda that you are trying to use as the ROM drive? Because as mentioned at https://github.com/BlueSCSI/BlueSCSI-v2/wiki/ROM-Drive the ROM drive can have a maximum size of 1692kb.

Does it also break if you try to use the ROM drive image from the wiki page?

reukiodo commented 10 months ago

This was starting from ROM_Macintosh_System7_Formatted.rom from https://mega.nz/folder/A6JgxSgC#TtGXqkmvvGmXP-AYqNYUnA which I added a small System to. ROM_MacOS_7.zip

But the same is with any HD1.rom (of the correct size). It happens when starting with the blank, with the 6, and with custom made.

reukiodo commented 10 months ago

ROM_MacOS_8.zip

Another for comparison.