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. 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:...
  2. 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.
  3. No hurry. It's not your job :)

    No hurry.
    It's not your job :)
  4. 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...
  5. 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.
  6. 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,...
  7. 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?
  8. 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.
  9. 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
  10. 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...
  11. 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:
  12. Replies
    4
    Views
    140

    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...
  13. 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...
  14. 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;
  15. Indeed, playing multiple files seems not to work...

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

    No.
    Do you have some code?
  17. 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.
  18. Thread: Reading List

    by Frank B
    Replies
    4
    Views
    223

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

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

    by Frank B
    Replies
    4
    Views
    223

    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...
  20. Great :) Btw, MJS...

    Great :)

    Btw, MJS wrote it.
  21. Replies
    269
    Views
    7,156

    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...
  22. Replies
    269
    Views
    7,156

    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);
    ...
  23. Replies
    269
    Views
    7,156

    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.

    ...
  24. Replies
    269
    Views
    7,156

    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.
    ...
  25. Thread: Reading List

    by Frank B
    Replies
    4
    Views
    223

    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...
  26. 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,...
  27. 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...
  28. 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.
  29. 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)
  30. 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..
  31. 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...
  32. 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 :)
  33. 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...
  34. 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?
  35. Thx. Mjs: Could you send me your hex file?

    Thx. Mjs: Could you send me your hex file?
  36. 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:

    ...
  37. 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.
  38. 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
  39. 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...
  40. 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 :)
  41. Replies
    6
    Views
    671

    Use bitbang! No need to use the inbuilt SPI.

    Use bitbang! No need to use the inbuilt SPI.
  42. Does it work if you use AudioPlayWav instead...

    Does it work if you use
    AudioPlayWav instead AudioPlaySdWav?
  43. Let me also mention that there are also very...

    Let me also mention that there are also very capable programmers everywhere in the world.
    If the product is interesting enough, and promises enough erning$ , there will be a clone.
    They will...
  44. Replies
    11
    Views
    234

    I've never had a Teensy (and i have many) that...

    I've never had a Teensy (and i have many) that died just by powering it.

    Replace that step-down supply, and use a linear vr.
  45. Not sure if this form is the right forum to ask...

    Not sure if this form is the right forum to ask if you don't want to use a teensy..?
    Tried to ask Apple about Andriod? :-)
  46. Replies
    11
    Views
    234

    Ok, then, I think skpang is right. How do you...

    Ok, then, I think skpang is right.
    How do you translate the levels in c64?
  47. Replies
    27
    Views
    599

    If your really want to use a pointer (which is...

    If your really want to use a pointer (which is better but more difficult)



    typedef uint8_t arr7[7] ;

    arr7 white = {0, 128, 128, 128, 0, 0, 0};
    arr7 green = {255, 0, 255, 0, 0, 0, 0};
    ...
  48. Replies
    11
    Views
    234

    I guess the PWM signals are 5v? Also, c64 uses...

    I guess the PWM signals are 5v? Also, c64 uses 5V.
    T4.x are not 5V tollerant. 5V on any of the digital or analog pins kills it.
    That's printed on the card you got with the teensies.

    T3.2 and...
  49. Replies
    27
    Views
    599

    One way is: const uint8_t xyz[7] = {0, 128,...

    One way is:


    const uint8_t xyz[7] = {0, 128, 128, 128, 0, 0, 0};
    memcpy(data, xyz, sizeof(data));


    Or, you can make data a pointer to an array and let it point to the new array (is faster,...
  50. Replies
    27
    Views
    599

    You're trying to assign all the values to one...

    You're trying to assign all the values to one single element data[7]
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4