bigtreetech / SKR-2

192 stars 179 forks source link

MULTI_VOLUME support ? #36

Open Guilouz opened 3 years ago

Guilouz commented 3 years ago

Is it possible to use MULTI_VOLUME feature from Marlin with SKR 2 to use onboard SD card or USB at the same time ?

I have tried many things but not working. Jumpers are placed at the down (without RRF wifi function).

Only SD Card working with this settings (logic) :

define SERIAL_PORT 1

define SERIAL_PORT_2 -1

define SDSUPPORT

//#define USB_FLASH_DRIVE_SUPPORT //#define USE_OTG_USB_HOST

define SDCARD_CONNECTION ONBOARD

//#define MULTI_VOLUME

if ENABLED(MULTI_VOLUME)

#define VOLUME_SD_ONBOARD
#define VOLUME_USB_FLASH_DRIVE
#define DEFAULT_VOLUME SV_SD_ONBOARD
#define DEFAULT_SHARED_VOLUME SV_USB_FLASH_DRIVE

endif

USB working, SD Card not working with this settings :

define SERIAL_PORT 1

define SERIAL_PORT_2 -1

define SDSUPPORT

define USB_FLASH_DRIVE_SUPPORT

define USE_OTG_USB_HOST

define SDCARD_CONNECTION ONBOARD

define MULTI_VOLUME

if ENABLED(MULTI_VOLUME)

#define VOLUME_SD_ONBOARD
#define VOLUME_USB_FLASH_DRIVE
#define DEFAULT_VOLUME SV_SD_ONBOARD
#define DEFAULT_SHARED_VOLUME SV_USB_FLASH_DRIVE

endif

USB working, SD Card not working with this settings :

define SERIAL_PORT 1

define SERIAL_PORT_2 -1

define SDSUPPORT

define USB_FLASH_DRIVE_SUPPORT

define USE_OTG_USB_HOST

//#define SDCARD_CONNECTION ONBOARD

define MULTI_VOLUME

if ENABLED(MULTI_VOLUME)

#define VOLUME_SD_ONBOARD
#define VOLUME_USB_FLASH_DRIVE
#define DEFAULT_VOLUME SV_SD_ONBOARD
#define DEFAULT_SHARED_VOLUME SV_USB_FLASH_DRIVE

endif

Guilouz commented 3 years ago

@bigtreetech Any help ?

Teakzieas commented 3 years ago

When u mean USB working do you mean using a USB flash drive to print G-code?

Guilouz commented 3 years ago

When u mean USB working do you mean using a USB flash drive to print G-code?

Yes working for printing.

Teakzieas commented 3 years ago

I just tested on mine skr2 rev b..MULTI_VOLUME works. What version of marlin are you running?

Guilouz commented 3 years ago

Latest bugfix. Yes after testing it’s working in Marlin mode with BTT TFT screen but not in touch mode.

Teakzieas commented 3 years ago

I am getting my BT TFT by this week will try and let you know.

Guilouz commented 3 years ago

In Touch mode when multi volume is enabled we can only access to usb, we can’t choose sd card or usb drive like in marlin mode.

Wakanapi commented 2 years ago

I just tested on mine skr2 rev b..MULTI_VOLUME works. What version of marlin are you running?

Can you post the marlin code for this?

benek1 commented 1 year ago

//#define SDCARD_CONNECTION ONBOARD

define SDCARD_CONNECTION LCD