hello there,
At the moment I'm having some issues using the new SPI flash library.
I don't know if it's a bug, as Paul still works on the library.
A few files get flashed, but not all of them.
Can someone help me out?
My hardware setup is:
Teensy 3.1 + audio board soldered together.
A Winbond 25Q128FVSG flash chip soldered on the audio board.
A 4GB Transcend MicroSD card, containing a few raw audio files.
What I tried in the following order:
eraseEverything example
copyfromSD example.
ListFiles example.
This is where it goes wrong, given the output:
to make it even funnier:
the listFiles example lists these two files,
but also the files that couldn't be created
After some debugging with serial prints,
everything points to line 170 of SerialFlashDirectory.cpp.
Thanks in advance
At the moment I'm having some issues using the new SPI flash library.
I don't know if it's a bug, as Paul still works on the library.
A few files get flashed, but not all of them.
Can someone help me out?
My hardware setup is:
Teensy 3.1 + audio board soldered together.
A Winbond 25Q128FVSG flash chip soldered on the audio board.
A 4GB Transcend MicroSD card, containing a few raw audio files.
What I tried in the following order:
eraseEverything example
copyfromSD example.
ListFiles example.
This is where it goes wrong, given the output:
Code:
Copy all files from SD Card to SPI Flash
CR3.TRW 147716
copying..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
HH1CLO~1.TRW 7684
copying...............................
HH1CLO~2.TRW 9092
error opening freshly created file!
HH1HAL~1.TRW 20228
error opening freshly created file!
HH1OPEN.TRW 61316
error opening freshly created file!
K1.TRW 29700
error opening freshly created file!
K2.TRW 8836
error opening freshly created file!
SHAKE1.TRW 4484
error opening freshly created file!
R1.TRW 159748
error opening freshly created file!
R2.TRW 116996
error opening freshly created file!
RIM1.TRW 15108
error opening freshly created file!
S1.TRW 16260
error opening freshly created file!
to make it even funnier:
the listFiles example lists these two files,
but also the files that couldn't be created
Code:
All Files on SPI Flash chip:
CR3.TRW 147716 bytes
HH1CLO~1.TRW 7684 bytes
9092 bytes
20228 bytes
61316 bytes
29700 bytes
8836 bytes
4484 bytes
159748 bytes
116996 bytes
15108 bytes
16260 bytes
After some debugging with serial prints,
everything points to line 170 of SerialFlashDirectory.cpp.
Code:
else if (hashtable[i] == 0xFFFF) {
return file;
}
Thanks in advance