The CPLD bitstream configures SD card as unit 1, which is unusual. Typically single drive is configured as unit 0 and existing configuration breaks a few things here and there. I've traced the relevant code in the verilog source, so I think the required change may be as simple as altering one character, file divmmc_mcleod.v line #233:
--- divtiesus_maple-master/cpld/divmmc_mcleod.v 2025-09-24 23:55:13.000000000 +0100
+++ divtiesus_maple-fix/cpld/divmmc_mcleod.v 2026-01-20 19:05:12.000000000 +0000
@@ -230,7 +230,7 @@
DIVSPI = 8'hEB; // Puertos del DIVMMC
reg [1:0] sdpincs = 2'b11;
- assign sd_cs0_n = sdpincs[1];
+ assign sd_cs0_n = sdpincs[0];
//assign sd_cs1_n = sdpincs[1];
// Control del pin CS de la SD
A quick way to verify: launch `.dskprobe` under esxdos. You normally should see sda, sda1 (and other partitions, if you have them), but right now you see sdb, sdb1 and so on
Cheers
Rich
The CPLD bitstream configures SD card as unit 1, which is unusual. Typically single drive is configured as unit 0 and existing configuration breaks a few things here and there. I've traced the relevant code in the verilog source, so I think the required change may be as simple as altering one character, file
divmmc_mcleod.vline #233: