SDCard access on VGABOARD with Arduino IDE

21:34:13.890 → Starting SD Card ListFiles on PIMORONI_PGA2040

21:34:13.890 → RP2040_SD v1.0.1

21:34:13.890 → Initializing SD card with SS = 22

21:34:13.890 → SCK = 5

21:34:13.890 → MOSI = 18

21:34:13.890 → MISO = 19

21:34:15.991 → Initialization failed!

21:35:03.718 → Starting SD Card ListFiles on RASPBERRY_PI_PICO

21:35:03.718 → RP2040_SD v1.0.1

21:35:03.718 → Initializing SD card with SS = 22

21:35:03.718 → SCK = 5

21:35:03.718 → MOSI = 18

21:35:03.718 → MISO = 19

21:35:05.821 → Initialization failed!

I am trying for days now to use sdcard with vga board but all efforts are failing

With C code it is working as previously demonstrated( pico-sdk ), but using the arduino IDE I cant getting it to work

Please assist

Ajaco