Hi,
I have a Teensy 4.1 that works perfectly and today I have soldered the PSRAM and the Winbond 25Q128JVSQ flash memory to it.
I've checked my PSRAM IC with this test:
https:/github.com/PaulStoffregen/teensy41_psram_memtest/blob/master/teensy41_psram_memtest.ino
everything works smoothly and after 36.66 seconds I see "All memory tests passed" but checking the flash memory is working properly has not been possible.
At first I have downloaded and installed these libraries:
https://github.com/PaulStoffregen/teensy41_extram
then tried some of the flashtests and, for example, with flashtest4.ino I got some warnings when compiling:
and the results try to erase the flash memory,
or to write something on it are not the expected ones.
it seems the erase/write processes won't ever end. I'd appreciate any hint about how to solve this mess.
Thanks in advance
I have a Teensy 4.1 that works perfectly and today I have soldered the PSRAM and the Winbond 25Q128JVSQ flash memory to it.
I've checked my PSRAM IC with this test:
https:/github.com/PaulStoffregen/teensy41_psram_memtest/blob/master/teensy41_psram_memtest.ino
everything works smoothly and after 36.66 seconds I see "All memory tests passed" but checking the flash memory is working properly has not been possible.
At first I have downloaded and installed these libraries:
https://github.com/PaulStoffregen/teensy41_extram
then tried some of the flashtests and, for example, with flashtest4.ino I got some warnings when compiling:
Code:
WARNING: Category 'Memory' in library extRAM_t4 is not valid. Setting to 'Uncategorized'
WARNING: library SPIFFS_t4 claims to run on (Teensy) architecture(s) and may be incompatible with your current board which runs on (avr) architecture(s).
flashtest4: In function 'void loopTest2()':
flashtest4:135: warning: unused variable 'szLen'
int szLen;
^
flashtest4:136: warning: unused variable 'xData2'
char xData[12048], xData1[12048], xData2[26];
^
In file included from flashtest4.ino:14:0:
extRAM_t4.h: At global scope:
extRAM_t4.h:63:14: warning: 'flashID' defined but not used [-Wunused-variable]
static char flashID[8];
^
and the results try to erase the flash memory,
Code:
Enter 'y' in 6 seconds to format FlashChip - other to skip
hardware initialized
ERAM ID: 0D 5D 5F FF FF EF B7 69
at 0x 7000000
Device found!
FLASH ID: EF 40 18 00 00 00 00 00
at 0x 1000000
Erasing... (may take some time)
..................................................................................................................................................................................................................................................................................................................................................
or to write something on it are not the expected ones.
Code:
Enter 'y' in 6 seconds to format FlashChip - other to skip
Mount SPIFFS:
hardware initialized
ERAM ID: 0D 5D 5F FF FF FF B7 69
at 0x 7000000
Device found!
FLASH ID: EF 40 18 00 00 00 00 00
at 0x 1000000
Mount ADDR 0x1000000 with res: 0
Write file:
Hello World! What a wonderful World :) Hello World! What a wonderful World :) Hello World! What a wonderful World :) Hello World! What a wonderful World :) Hello World! What a wonderful World :) Hello World! What a wonderful World :
it seems the erase/write processes won't ever end. I'd appreciate any hint about how to solve this mess.
Thanks in advance