mjs513
Senior Member+
@defragster
A little confused on your testing configuration for T4.0. Is this what you are using:
T4.0 does not have a builtin SD so probably should fail I would thing.
Have to check on using PROGMEM - maybe I copied something over wrong?
Where is #define ZERO? Don;t see it in the either Kurt's or my sketch?
UPDATE:
I changed to using MTP_SERIAL and changed the setup to:
With SD =1 and PROGM = 1 seems to work fine for me. I can see PROGM as a disk in windows explorer.
I get same results with just using MTP_DISK with either of the while's in setup.
A little confused on your testing configuration for T4.0. Is this what you are using:
Code:
USE_SD
USE_PROG
T4.0 does not have a builtin SD so probably should fail I would thing.
Have to check on using PROGMEM - maybe I copied something over wrong?
Where is #define ZERO? Don;t see it in the either Kurt's or my sketch?
UPDATE:
I changed to using MTP_SERIAL and changed the setup to:
Code:
#if defined(USB_MTPDISK_SERIAL)
while(!Serial); // comment if you do not want to wait for terminal
#else
//while(!Serial.available()); // comment if you do not want to wait for terminal (otherwise press any key to continue)
while(!Serial.available() && millis() < 5000); // or third option to wait up to 5 seconds and then continue
#endif
With SD =1 and PROGM = 1 seems to work fine for me. I can see PROGM as a disk in windows explorer.
I get same results with just using MTP_DISK with either of the while's in setup.
Code:
MTP_test
SDIO Storage 0 254 sdio failed or missing
sd_addFilesystem: 0 20002bd4 PROGM 0
Program Storage 0 PROGM 983040 8192
**** dir of sd[0] ****
Setup done
CMD: 1002(OPEN_SESSION)l: 16 T:0 : 1
RESP:2001(RSP:OK)l: 16 T:0 : 1
Last edited: