Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: Frank B

Page 1 of 10 1 2 3 4

Search: Search took 0.06 seconds.

  1. The problems are more the issues I mentioned.......

    The problems are more the issues I mentioned.... it crashed in open() for me, it will crash for others, too.. :) even if the open() is way faster with NOR - the underlying problem remains.
  2. You can also use a HEX editor and compare the...

    You can also use a HEX editor and compare the file you've recorded with an other file.
  3. Please upload a wave file. (or try this:...

    Please upload a wave file.
    (or try this: https://github.com/FrankBoesing/Teensy-WavePlayer - despite of the name, it can record, too)
  4. Replies
    15
    Views
    185

    I'd also use the real switches like Arduino does:...

    I'd also use the real switches like Arduino does:

    -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -O3

    especially you need -mthumb -mcpu=cortex-m7 to generate the same code. the other...
  5. Replies
    20
    Views
    309

    Quite possible that the pins of the port are not...

    Quite possible that the pins of the port are not long enough. Or, as Paul said, wrong pins used.
    Or the breadboard is defective.

    Chris, please try the LED test I described above.
  6. Just in the hope that it will help others...

    Just in the hope that it will help others troubleshoot I opened issues



    https://github.com/PaulStoffregen/LittleFS/issues/33

    https://github.com/PaulStoffregen/LittleFS/issues/34
  7. Replies
    20
    Views
    309

    Use the blink-example, make it a bit slower (2...

    Use the blink-example, make it a bit slower (2 seconds) and make it flash the tx pin instead pin 13. Then you can measure with your DMM (switch it to voltage mode, "DC" - never ever resistance (for...
  8. Replies
    1
    Views
    53

    No Idea. I only know that 4.0 and 4.1 use the...

    No Idea.
    I only know that 4.0 and 4.1 use the same code for audio. And the hardware is (almost) identical.
    So I would focus on the few differences.
  9. Replies
    15
    Views
    185

    Almost. They are executed as NOP -means, they...

    Almost. They are executed as NOP -means, they need one cycle (however, don't know how this behaves on CM7 re: dual issue)
  10. Thread: WaveplayerEx

    by Frank B
    Replies
    104
    Views
    4,869

    I think it works now. Wasn't that easy :) ...

    I think it works now. Wasn't that easy :)

    Please report any remaining bugs as issue @ github. Thank you!
  11. No, the FBi will find you. Be warned :) For an...

    No, the FBi will find you. Be warned :)

    For an experiment only, the easiest and fastest is to just edit this line:...
  12. 200/200 or 300/300 (div1 ) could be interesting -...

    200/200 or 300/300 (div1 ) could be interesting - with disabled RAM2 cache, which is not needed, then.
  13. No hurry. It's not your job :)

    No hurry.
    It's not your job :)
  14. You can also just decrease the divisor to two....

    You can also just decrease the divisor to two. The lets you use CPU 600MHz / BUS 300MHz, so you overclock the bus only. No overheating.
    But even that is sometimes unstable. I tried that in the T4...
  15. And sorry, the problem ist not fixed. LittleFS...

    And sorry, the problem ist not fixed.
    LittleFS is still too slow with NAND and still not threadsafe.
  16. No problem :) In addition FS.h makes no sense...

    No problem :)

    In addition FS.h makes no sense at all, too.
    You can ONLY use in a sketch, and ONLY if you don't need extended features of the underlying FS.

    You just can't use it in a library,...
  17. No, makes no sense. It's an old copy of the...

    No, makes no sense. It's an old copy of the original. This old copy has not all features and is not thread-safe. Where is the sense?
    Is it somehow better to uses outdated copys?
  18. Resoldered the faulty board with NOR flash. My...

    Resoldered the faulty board with NOR flash.

    My theory is that when I took it out of the cold cellar, it warmed up and the chip lost contact.
    I have re-soldered - works now.
  19. Ok, resoldered my faulty board with NOR flash....

    Ok, resoldered my faulty board with NOR flash.
    These times look way better:



    546 us
    418 us
    593 us
  20. Well... tested it with non existing files The...

    Well... tested it with non existing files
    The times match the times which Defragster and MJS posted, then.
    Not that surprising.

    Are you both sure you have used existing files? :)


    Then, I...
  21. Well, the original is here, I think:...

    Well, the original is here, I think:
    https://github.com/littlefs-project/littlefs/

    It shows version number:
    #define LFS_VERSION 0x00020004 and is >9 month old

    and has:
  22. Replies
    4
    Views
    181

    Serial.println(Q_1_rec.available()); ...

    Serial.println(Q_1_rec.available()); //print number of blocks in queue to serial monitor. should be 2
    ptr_in1 = Q_1_rec.readBuffer(); //copy addresses of 128...
  23. If the file open takes 10ms it gets interrupted 3...

    If the file open takes 10ms it gets interrupted 3 times by the audio library. This goes wrong, obviously. I added some testcode, and some of the hangs/crashes occur in open().
    In your special case...
  24. Looks like there is no way to use several files...

    Looks like there is no way to use several files with Littlfs.
    It's just too slow.



    #include <LittleFS.h>

    //LittleFS_QSPIFlash myfs;
    LittleFS_QPINAND myfs;
  25. Indeed, playing multiple files seems not to work...

    Indeed, playing multiple files seems not to work with LittlFS.
    I'll have a look.
  26. No. Do you have some code?

    No.
    Do you have some code?
  27. Yes, you need 1.56 - or use an older version of...

    Yes, you need 1.56 - or use an older version of Paul`s LittlFS wrapper.
  28. Thread: Reading List

    by Frank B
    Replies
    4
    Views
    244

    Yes, that's right. But it has nice examples :)

    Yes, that's right. But it has nice examples :)
  29. Thread: Reading List

    by Frank B
    Replies
    4
    Views
    244

    That's a predecessor of this book as PDF:...

    That's a predecessor of this book as PDF: https://www.bell-labs.com/usr/dmr/www/ctut.pdf
    Still, it's not for the ANSI version of C - that came later. But still interesting :-)



    I.e. it still...
  30. Great :) Btw, MJS...

    Great :)

    Btw, MJS wrote it.
  31. Replies
    269
    Views
    7,235

    https://github.com/PaulStoffregen/cores/blob/maste...

    https://github.com/PaulStoffregen/cores/blob/master/teensy4/usb_serial.c#L349

    (Isn't sent = 0, then?)
    Well, usb_serial2 &3 definitely have a problem. That's out of question. They don't turn off...
  32. Replies
    269
    Views
    7,235

    In case of a timout it should return zero with...

    In case of a timout it should return zero with the next print, if I read it correctly.
    Windows drops packets, or the teensy. Or both.

    bool packetdrop = (windows || teensy) || (windows);
    ...
  33. Replies
    269
    Views
    7,235

    Hm in this case I read the code wrong, and...

    Hm in this case I read the code wrong, and whether it is compatible with the Arduino documentation is at least questionable.

    ...
  34. Replies
    269
    Views
    7,235

    Yes, both speed tests, mine and Paul's, have the...

    Yes, both speed tests, mine and Paul's, have the problem that they do not check if the data was sent at all.

    print() returns the number of bytes sent. This should be inserted in both tests.
    ...
  35. Thread: Reading List

    by Frank B
    Replies
    4
    Views
    244

    Pretty outdated (first printed 1978) , but I love...

    Pretty outdated (first printed 1978) , but I love "Kernighan & Ritchie, The C Programming Language" Ritchie was the developer of "C", and this is the first book about it.
    Still today, its respected...
  36. That's how it is. I think I read that some time...

    That's how it is. I think I read that some time ago on the NXP forum. If I remember correctly it's not only this pin (if not all). I think they recommended pulldowns to fix possible issues.
    Sorry,...
  37. Because there is no software that would drive the...

    Because there is no software that would drive the 1st as host. No it's not the bootloader - it's just the existing core software.
    Yes, you can rewrite the existing code.

    Not sure if it's worth it...
  38. Have updated the example.. indeed it was...

    Have updated the example.. indeed it was outdated. Sorry for that.
    Just tested it - it's working.

    It runs onPT8211 by default, and NAND flash - You have to edit these things.
  39. Ok.. new board, new chip, new fun. Works. ...

    Ok.. new board, new chip, new fun. Works.

    (Will take a close look to the other board tomorrow - maybe it's just a problem with soldering)
  40. Tim, ok. Looks like the flash died a few minutes...

    Tim, ok. Looks like the flash died a few minutes ago.. the first time i'm seeing this.
    @Michael: Ok... thanks..
  41. I have 1.56beta2 - and your hex did not work ,...

    I have 1.56beta2 - and your hex did not work , too...
    Ok, I think I have to solder an other board.
    But perhaps someone should test if PSRAM and QSPIFlash work together (with Littlfs) - At the...
  42. W25Q512JV*IM is a NOR according to the table you...

    W25Q512JV*IM is a NOR according to the table you linked in the readme.
    Hey, if its silly to just run example code you're right :)
  43. Thx, MJS, your hex does not workk, too :-( ...

    Thx, MJS, your hex does not workk, too :-(

    Just the normal thing.. every time i just want to test something or need it i run into errors :-(

    is it just me??

    Michael, I just wanted to test...
  44. Flash ID: FF FF FF Error starting QSPI FLASH ...

    Flash ID: FF FF FF
    Error starting QSPI FLASH



    There is something wrong...
    ID FF FF FF
    The board has PSRAM, too. (The PSRAM works) Could this be the problem? Don't they work together?
  45. Thx. Mjs: Could you send me your hex file?

    Thx. Mjs: Could you send me your hex file?
  46. Sorry for hijacking this thread.. feel free to ...

    Sorry for hijacking this thread.. feel free to move my question elsewhere.

    To be sure to have the official 1.53b I installed everything to a ramdisk on A:
    No other update, and good old GCC5:

    ...
  47. Yup, LittleFS_QSPIFlash myfs Hm. The board...

    Yup,
    LittleFS_QSPIFlash myfs

    Hm. The board worked 15 minutes ago with the Paul's pre-flashed test. So it can't be a hardware problem.
  48. Yes, it was a mtp question .. but then i thought...

    Yes, it was a mtp question .. but then i thought i just try the the logger example :)

    So, it's not surprising that your code (Thank you!) does not work too.

    Prints:


    No QSPI Flash found
  49. Datalogger does not work. Do I have to update...

    Datalogger does not work. Do I have to update something?
    C:\temp\arduino_modified_sketch_480790\LittleFS_QSPI_Simple_Datalogger.ino Oct 14 2021 20:35:37
    Initializing LittleFS ...Error starting QSPI...
  50. Is there a simple example which I can just start...

    Is there a simple example which I can just start to copy some files to a littlfs QSPI Flash?

    Thx :)
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4