defragster
Senior Member+
Post #766 file works on BUILTIN_SDCARD, FAILS the SAME on RAM1 at 3.81MB.
SDIO - Success:
RAM1 Fail - drag and drop and Teensy Copy starts and immediately exits/disconnects/restarts bypassing Fault Handler code:
This is a T_4.1 with TWIN 8MB PSRAMS.
I have the current FrankB HardFault code integrated into CORES - and testedto work enabling and causing a DIV by ZERO error, this code 'bug' bypasses it as it exists but SELF RESETS
Made a copy of the above file and truncated to 25 bytes reported with name : "esp-psram64_esp-psram64h_datasheet_en - Copy.txt":
> same behavior removing space from the name: "esp-psram64_esp-psram64h_datasheet_en_-_Copy.txt"
So the HINT may be handling around :: "OPERATION_NOT_SUPPORTED"
SDIO - Success:
Code:
CMD: 100b(DELETE_OBJECT)l: 20 T:4e : 8 0
RESP:2001(RSP:OK)l: 20 T:4e : 8 0
CMD: 1005(GET_STORAGE_INFO)l: 16 T:4f : 1
RESP:2001(RSP:OK)l: 16 T:4f : 1
CMD: 100c(SEND_OBJECT_INFO)l: 20 T:50 : 1 ffffffff
DATA:100c(SEND_OBJECT_INFO)l: 224 T:50 : 0 3000 f000 3000 0
SendObjectInfo: 1 4294967295 20202040: 0 3000 0 f000 3000 0 0 0 0 0 0 0 0 0 0 : esp-psram64_esp-psram64h_datasheet_en.txt
sd_getReadOnYieldWrites store:0 count:3 0
RESP:2001(RSP:OK)l: 24 T:50 : 1 ffffffff a
CMD: 100d(SEND_OBJECT)l: 12 T:51
MTPD::SendObject: len:0 Use Yield:0
>>>Total Time: 11898
RESP:2001(RSP:OK)l: 12 T:51
CMD: 9803(GET_OBJECT_PROP_VALUE)l: 20 T:52 : a dc02 (FORMAT)
RESP:2001(RSP:OK)l: 20 T:52 : a dc02
CMD: 9803(GET_OBJECT_PROP_VALUE)l: 20 T:53 : a dc01 (STORAGE_ID)
RESP:2001(RSP:OK)l: 20 T:53 : a dc01
CMD: 9803(GET_OBJECT_PROP_VALUE)l: 20 T:54 : a dc07 (OBJECT NAME)
RESP:2001(RSP:OK)l: 20 T:54 : a dc07
CMD: 9802(GET_OBJECT_PROP_DESC)l: 20 T:55 : dc0b 3000 (PARENT)
RESP:2001(RSP:OK)l: 20 T:55 : dc0b 3000
CMD: 9803(GET_OBJECT_PROP_VALUE)l: 20 T:56 : a dc0b (PARENT)
RESP:2001(RSP:OK)l: 20 T:56 : a dc0b
CMD: 9803(GET_OBJECT_PROP_VALUE)l: 20 T:57 : a dc41 (PERSISTENT_UID)
RESP:2001(RSP:OK)l: 20 T:57 : a dc41
CMD: 9803(GET_OBJECT_PROP_VALUE)l: 20 T:58 : a dc44 (NAME)
RESP:2001(RSP:OK)l: 20 T:58 : a dc44
CMD: 9803(GET_OBJECT_PROP_VALUE)l: 20 T:59 : a dc03 (PROTECTION)
RESP:2001(RSP:OK)l: 20 T:59 : a dc03
CMD: 9803(GET_OBJECT_PROP_VALUE)l: 20 T:5a : a dc04 (SIZE)
RESP:2001(RSP:OK)l: 20 T:5a : a dc04
CMD: 1008(GET_OBJECT_INFO)l: 16 T:5b : a
RESP:2001(RSP:OK)l: 16 T:5b : a
CMD: 1005(GET_STORAGE_INFO)l: 16 T:5c : 1
RESP:2001(RSP:OK)l: 16 T:5c : 1
RAM1 Fail - drag and drop and Teensy Copy starts and immediately exits/disconnects/restarts bypassing Fault Handler code:
Code:
CMD: 100c(SEND_OBJECT_INFO)l: 20 T:5e : 3 ffffffff
DATA:100c(SEND_OBJECT_INFO)l: 224 T:5e : 0 3000 f000 3000 0
SendObjectInfo: 3 4294967295 20202040: 0 3000 0 f000 3000 0 0 0 0 0 0 0 0 0 0 : esp-psram64_esp-psram64h_datasheet_en.txt
sd_getReadOnYieldWrites store:2 count:3 0
RESP:2001(RSP:OK)l: 24 T:5e : 3 ffffffff b
CMD: 100d(SEND_OBJECT)l: 12 T:5f
MTPD::SendObject: len:0 Use Yield:0
[B][COLOR="#FF0000"]MTP_test[/COLOR][/B] [U]// Re-enter setup[/U]
sd_addFilesystem: 0 20002b00 sdio 0
SDIO Storage 0 254 sdio 15923150848 15400960
sd_addFilesystem: 1 20002fbc RAM0 0
Storage 0 RAM0 1998848 4096
sd_addFilesystem: 2 20003084 RAM1 0
Storage 1 RAM1 3999744 4096
**** dir of sd[0] ****
mtpindex.dat
test1.txt
examples/
esp-psram64_esp-psram64h_datasheet_en.txt
Setup done
CMD: 1002(OPEN_SESSION)l: 16 T:0 : 1
RESP:2001(RSP:OK)l: 16 T:0 : 1
CMD: 1001(GET_DEVICE_INFO)l: 12 T:1
RESP:2001(RSP:OK)l: 12 T:1
CMD: 1014(GET_DEVICE_PROP_DESC)l: 16 T:2 : d402
RESP:2001(RSP:OK)l: 16 T:2 : d402
This is a T_4.1 with TWIN 8MB PSRAMS.
I have the current FrankB HardFault code integrated into CORES - and testedto work enabling and causing a DIV by ZERO error, this code 'bug' bypasses it as it exists but SELF RESETS
Made a copy of the above file and truncated to 25 bytes reported with name : "esp-psram64_esp-psram64h_datasheet_en - Copy.txt":
Code:
CMD: 100c(SEND_OBJECT_INFO)l: 20 T:10 : 3 ffffffff
DATA:100c(SEND_OBJECT_INFO)l: 238 T:10 : 0 3000 19 3000 0
SendObjectInfo: 3 4294967295 20202040: 0 3000 0 19 3000 0 0 0 0 0 0 0 0 0 0 : esp-psram64_esp-psram64h_datasheet_en - Copy.txt
sd_getReadOnYieldWrites store:2 count:3 0
RESP:2001(RSP:OK)l: 24 T:10 : 3 ffffffff 5
CMD: 100d(SEND_OBJECT)l: 12 T:11
MTPD::SendObject: len:0 Use Yield:0
RESP:2005(RSP:OPERATION_NOT_SUPPORTED)l: 12 T:11
CMD: 1005(GET_STORAGE_INFO)l: 16 T:12 : 3
RESP:2001(RSP:OK)l: 16 T:12 : 3
So the HINT may be handling around :: "OPERATION_NOT_SUPPORTED"