The load command does NOT write to the flash at all - I believe it just loads debug symbols etc into memory to allow debugging.I'm not sure if 'load' from gdbserver is actually programming the device (it appears to be...)
Like so...Why not do an SD card raid array.. since you have so many extra pins?
This should make zero difference, except of course needing a recompile within PSoC Creator. The only difference between the two chips is unused resources.JFYI, your parts.ods file lists the processor as CY8C5268AXI-LP047, and the PSoC creator file has the processor as CY8C5267AXI-LP051
diff --git a/software/SCSI2SD/SCSI2SD.cydsn/mode.c b/software/SCSI2SD/SCSI2SD.cydsn/mode.c
index 6549f16..ad063a1 100755
--- a/software/SCSI2SD/SCSI2SD.cydsn/mode.c
+++ b/software/SCSI2SD/SCSI2SD.cydsn/mode.c
@@ -327,6 +328,18 @@ int scsiModeCommand()
scsiDev.cdb[8];
doModeSense(0, dbd, pc, pageCode, allocLength);
}
+ else if (command == 0x15)
+ {
+ // MODE SELECT(6)
+ int len = scsiDev.cdb[4];
+ if (len == 0) len = 256;
+ scsiDev.dataLen = len;
+ scsiDev.phase = DATA_OUT;
+ }
+ else if (command == 0x55)
+ {
+ // MODE SELECT(10)
+ }
else
{
commandHandled = 0;