BlueSCSI / BlueSCSI-v2

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

Low capacity SD cards not detected #31

Closed z80micro-mc closed 1 year ago

z80micro-mc commented 1 year ago

Unlike v1, a 2Gb micro SD card is nolonger detected as valid - 5 flashes. I have treied half a dozen different low capacity devices including: SanDisk 2 Gb, unmarked 2Gb, unmarked 1 Gb. It also fails to recognise a FujiFilm 128 Mb SD card.

The micro SD cards are detected as valid in V1 board.

I have tried 2 x 16 Gbmicro SD,: Kingston 16 Gb, and Sandisk 16 Gb both seem to work.

Peter

erichelgeson commented 1 year ago

Strange! I do happen to have a 2gb sandisk and can confirm the same behavior, even after a full overwrite and CHS adjustment in SD Card formatter - logs

[10ms] Platform: BlueSCSI Pico
[10ms] FW Version: 2023.04.10-dev Apr 22 2023 15:56:08
Flash chip size: 2048 kB
SdioCard::readSector(0x00000001) failed: 5
SdioCard::readSector(0x00000089) failed: 5
SdioCard::readSector(0x00000001) failed: 5
SdioCard::readSector(0x00000089) failed: 5
SD card init failed, sdErrorCode: 5 sdErrorData: 0
SdioCard::readSector(0x00000001) failed: 5
SdioCard::readSector(0x00000089) failed: 5
SDIO SD card error on line 413, error code 2
SDIO SD card error on line 413, error code 2
SdioCard::readSector(0x00000001) failed: 5
SdioCard::readSector(0x00000089) failed: 5
SdioCard::readSector(0x00000001) failed: 5
SdioCard::readSector(0x00000089) failed: 5
SdioCard::readSector(0x00000001) failed: 5
SdioCard::readSector(0x00000089) failed: 5
SdioCard::readSector(0x00000001) failed: 5
z80micro-mc commented 1 year ago

Kingston 4Gb class(4) micro SD works out of the packaging. (It comes as FAT32 formatted)

z80micro-mc commented 1 year ago

Eric,

How did you enable the sdio debug o/p when V2 won't recognise the sd card so cannot read the Bluescsi.ini file?

Thanks

Peter

------ Original Message ------ From: "Eric Helgeson" @.> To: "BlueSCSI/BlueSCSI-v2" @.> Cc: "z80micro-mc" @.>; "Author" @.> Sent: Tuesday, 2 May, 23 At 14:27 Subject: Re: [BlueSCSI/BlueSCSI-v2] Low capacity SD cards not detected (Issue #31)

Strange! I do happen to have a 2gb sandisk and can confirm the same behavior, even after a full overwrite and CHS adjustment in SD Card formatter - logs [10ms] Platform: BlueSCSI Pico[10ms] FW Version: 2023.04.10-dev Apr 22 2023 15:56:08Flash chip size: 2048 kBSdioCard::readSector(0x00000001) failed: 5SdioCard::readSector(0x00000089) failed: 5SdioCard::readSector(0x00000001) failed: 5SdioCard::readSector(0x00000089) failed: 5SD card init failed, sdErrorCode: 5 sdErrorData: 0SdioCard::readSector(0x00000001) failed: 5SdioCard::readSector(0x00000089) failed: 5SDIO SD card error on line 413, error code 2SDIO SD card error on line 413, error code 2SdioCard::readSector(0x00000001) failed: 5SdioCard::readSector(0x00000089) failed: 5SdioCard::readSector(0x00000001) failed: 5SdioCard::readSector(0x00000089) failed: 5SdioCard::readSector(0x00000001) failed: 5SdioCard::readSector(0x00000089) failed: 5SdioCard::readSector(0x00000001) failed: 5``` — Reply to this email directly, view it on GitHub https://github.com/BlueSCSI/BlueSCSI-v2/issues/31#issuecomment-1531475863 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ATCK64BU6JKS67OMPEQNC7DXEEDUJANCNFSM6AAAAAAXSZQEKA . You are receiving this because you authored the thread.Message ID: @.***>

erichelgeson commented 1 year ago

https://github.com/BlueSCSI/BlueSCSI-v2/wiki/Developers-(Advanced)#usb-serial-debug

erichelgeson commented 1 year ago

This is resolved in 66c1e47d298c273faec8458317ec60f7f0bb889c and will be in the next release (or you can grab the nightly build of main to test