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

Search:

Type: Posts; User: Sandro

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Maybe I found the answer : noway (at least with...

    Maybe I found the answer : noway (at least with my Winbond chip)...

    1) On the datasheet of the flash chip W25Q512 it is repeatedly written that Erase operation disables both read and write...
  2. SerialFlash: can erase command have lower precedence than write?

    Hi all,
    reading SerialFlash official description I undestand that I can read the flash chip while erasing a (createErasable) file without any interruption; but (anyone know if) is there any...
  3. Replies
    12
    Views
    505

    I did some tests, using the following setups: a)...

    I did some tests, using the following setups:
    a) T41@600MHz + W25Q256FVFG
    b) T41@600MHz + W25Q512JVFM

    Both setup run the same code, an audio application reading a bunch of contiguous...
  4. Replies
    12
    Views
    505

    Checking again... SerialFlashChip.cpp does not...

    Checking again... SerialFlashChip.cpp does not need any change for W25Q512.

    Just to correct the first post of this thread, using 25Q512JVFM the ID is:
    id[0]:239
    id[1]:112
    id[2]:32 (not "56"...
  5. Replies
    12
    Views
    505

    Hi mjs512, I just forked SerialFlashChip.cpp with...

    Hi mjs512, I just forked SerialFlashChip.cpp with few additional lines which allow to recognize the W25Q512 and set the correct capacity value (64MB). Next days I'll check (and share here) the...
  6. Replies
    12
    Views
    505

    Problem solved.. W25Q512 is perfectly working...

    Problem solved.. W25Q512 is perfectly working with SerialFlash without any change.. my fault, there was an error in a connection...
  7. Replies
    12
    Views
    505

    Hi mjs513, thank you for your suggestions; I...

    Hi mjs513, thank you for your suggestions; I didn't change the original Write Enable command:


    CSASSERT();
    SPIPORT.transfer(0x06);
    CSRELEASE();

    I compared the W25Q256 (which is supported by...
  8. Replies
    12
    Views
    505

    Hi, yes I know but unfortunately littleFS is not...

    Hi, yes I know but unfortunately littleFS is not fast enough for my application; so my desire is using SerialFlash and the "basic" file system.
    Basically there is a write error with this chip;...
  9. Replies
    12
    Views
    505

    In SerialFlashDirectory.h, I noticed that...

    In SerialFlashDirectory.h, I noticed that check_signature() fails when attempts to write sig[0] = 0xFA96554C; adding some Serial.print the following SerialFlash.read(0, sig, 8) says that sig[0] is...
  10. Replies
    12
    Views
    505

    Winbond W25Q512 Flash support

    Hi all,
    as long as I know the W25Q512 flash memory chip has not official support here.
    This 64MB chip responds with:
    id[0]:239
    id[1]:112
    id[2]:56

    I sarted adding few lines to capacity(...)...
  11. Replies
    3
    Views
    338

    The function examinated parses a bidimensional...

    The function examinated parses a bidimensional array:
    const char name[256][3]

    looking for one element (the last one).

    Using T4.1@600MHz and different combinations (as follows) the execution...
  12. Replies
    3
    Views
    338

    Thank you Kurt, now it's very clear. Also thank...

    Thank you Kurt, now it's very clear. Also thank you for all these suggestions; I have some large const arrays, now all in PROGMEM, and a lot of not critical functions, that I've moved to FLASHMEM....
  13. Replies
    3
    Views
    338

    Code compilation: what is "padding"?

    Hi all,
    my application's code is growing and I'm very close to run out the RAM1 memory; this is the last report:

    Memory Usage on Teensy 4.1:
    FLASH: code:295492, data:28076, headers:8204 free...
  14. Replies
    940
    Views
    85,360

    Sorry... I got confused... The issue is that a...

    Sorry... I got confused... The issue is that a single SerialFlash-file can be deleted only by deleting all the flash chip.
  15. Replies
    940
    Views
    85,360

    @Paul, @defragster: going back to the origin of...

    @Paul, @defragster: going back to the origin of my tests around LittleFS is the fact that a SerialFlash-file can be written only once, as @Paul wrote on Github:

    Several limitations apply to...
  16. Replies
    8
    Views
    967

    @defragster: sorry for this late reply: if your...

    @defragster: sorry for this late reply: if your question is (but I dubt I got the point) about the correct working in case of audio-reading applications, all the followings work fine: reading a file...
  17. Replies
    940
    Views
    85,360

    In my test, I prepared the flash chip with a deep...

    In my test, I prepared the flash chip with a deep format, than I copied from SD card just one file (41.raw, 1.18MB) ; maybe this file, even if alone, has been stored in not-adjacent blocks/sectors of...
  18. Replies
    940
    Views
    85,360

    Hi defragster, I'm using the Winbond 25Q128FVSG...

    Hi defragster, I'm using the Winbond 25Q128FVSG mounted on the Audio board.
  19. Replies
    940
    Views
    85,360

    A practical example of LitteFS on Flash chip, with performance comparision.

    Hi all,
    please let me know if I'd better start a new post instead of writing here...

    I went on with my tests, and wish to share the (even partial) result:
    - copying .raw audio files from SD to...
  20. Replies
    4
    Views
    482

    **problem solved** After an attempt (not...

    **problem solved**
    After an attempt (not resolutive) of deleting all files and registry records ("Arduino" and "Teensy" keywords), I solved the problem with a Windows 10 re-installation. Thank you...
  21. Replies
    4
    Views
    482

    Hi Paul, I tried many times installing and...

    Hi Paul, I tried many times installing and testing, always disabling Windows Defender's features; I also uninstalled my G-Data firewall-antivirus, updated Windows.. Unfortunately I didn't get any...
  22. Replies
    4
    Views
    482

    Audio applications error

    Hi all,
    I've recently installed Arduino 1.8.15 with Teensyduino 1.54; using T4.1@600MHz, when I try to compile an audio application (I also checked standard examples like WavFilePlayer,...
  23. Replies
    8
    Views
    967

    Hi defragster, thank you for this infos: I...

    Hi defragster, thank you for this infos: I haven't noticed the new examples for LittleFS, also in my application it will be usefull to use SD to save/retreive files from/to Flash memory as you...
  24. Replies
    8
    Views
    967

    Thank you mjs513, thank you defragster!; Sorry...

    Thank you mjs513, thank you defragster!; Sorry for this late feedback, I've just come back to work on my project; in the meanwhile new TD 1.55 has been published; all necessary features required by...
  25. Replies
    8
    Views
    967

    LittleFS for Winbond W25Q128 flash memory

    Hi all, I'm trying to experiment the LitteFS library's functionalities using this version:
    https://github.com/PaulStoffregen/LittleFS

    starting from the included example ListFiles. I'm using a...
  26. I would queue to this post because I would try...

    I would queue to this post because I would try audio recording into external flash memory, avoiding the flash memory complete erase for every single-file write/rewrite operation. Belive that there is...
  27. Replies
    2
    Views
    309

    Hi beermat, the problem you describe looks quite...

    Hi beermat, the problem you describe looks quite the same problem I'm facing... At runtime there are many malfunctions, but my device doesn't block: display fade-in/fade-out effect becomes...
  28. Replies
    2
    Views
    309

    Debugging problem

    Hi all,
    I recently added to my code a new simple function, apparently harmless; the code is correctly compiled with Arduino IDE using all compiler options. But, if I use "Fastest" option (and I need...
  29. Thread: [queued] Lilla

    by Sandro
    Replies
    7
    Views
    4,494

    New look, new functions

    Actually Lilla includes some synth objects (delays, VCFs, LFOs); this is how looks like:
    24752
    24753

    These synoptics show how delays, VCFs and LFOs are placed along the sound chain:
    24754...
  30. Replies
    16
    Views
    2,086

    Great! It works perfectly! Thank you vjmuzik,...

    Great! It works perfectly! Thank you vjmuzik, also for your super quick answers :)
    Sandro
  31. Replies
    16
    Views
    2,086

    Hi vjmuzik, thank you so much for your code! I...

    Hi vjmuzik, thank you so much for your code! I tried with this simplified version, for Teensy 3.6 and one 128x160 display:


    #include <Adafruit_GFX.h>
    #include <Adafruit_ST7735.h>
    #include...
  32. Replies
    16
    Views
    2,086

    Hi vjmuzik, by the way do you know if there is...

    Hi vjmuzik, by the way do you know if there is somewhere an example/application of GFXcanvas? i cannot find a good documentation, and cannot get the example inside Arduino IDE working with my...
  33. Replies
    16
    Views
    2,086

    Hi wrightflyer, in my project 33 user interfaces...

    Hi wrightflyer, in my project 33 user interfaces have to be monitored (15 encoders and 18 pushbuttons), while display must be kept updated, midi has to listen for messages and code decide what to do,...
  34. Replies
    16
    Views
    2,086

    Thank you Mark, I completely agree; maybe...

    Thank you Mark, I completely agree; maybe everything in code is alreadly correctly calculated using AUDIO_BLOCK_SAMPLES, but I should check. Very important in order to prevent bugs.
  35. Replies
    16
    Views
    2,086

    Thank you Mark, I completely agree; maybe...

    Thank you Mark, I completely agree; maybe everything in code is alreadly correctly calculated using AUDIO_BLOCK_SAMPLES, but I should check. Very important to prevent bugs.
  36. Replies
    16
    Views
    2,086

    Hi vjmuzik, great info, I didn't know about this...

    Hi vjmuzik, great info, I didn't know about this canvass... I'll try soon, thank you!!!
  37. Replies
    16
    Views
    2,086

    Hi boxxofrobots, thank you for your answer; I had...

    Hi boxxofrobots, thank you for your answer; I had a problem with display (128x160 SPI display, with Adafruit library Adafruit_ST7735.h) operations, which require long time to be executed.
    In order...
  38. Replies
    16
    Views
    2,086

    Hi Paul, thank you for your answer! I know that...

    Hi Paul, thank you for your answer! I know that AUDIO_BLOCK_SAMPLES can be changed, but I would avoid it, because than I should go hunting for constants in my code connected to 128 samples... don't...
  39. Replies
    16
    Views
    2,086

    Closer consecutive Midi in readings

    Hi all, my code for an audio sampler (complete code is here: https://github.com/SandroGrassia/Lilla-audio-sampler) reads MIDI every 2.9 ms; I use an object Trigger.h which doesn't send any sound,...
  40. Replies
    1
    Views
    596

    Ok, I got it.. I did more accurate tests.. Very...

    Ok, I got it.. I did more accurate tests.. Very simple: update() calls are very close because objects have nothing to do.
  41. Replies
    1
    Views
    596

    Audio library, update() function

    Hi all, in order to create a new audio object with timing function, I need to go a little bit deeper in undestanding update() execution.
    I did a test, putting a Serial.print "monitor" inside some...
  42. Replies
    0
    Views
    295

    Using MIDI.h in a class

    Hi all,
    I need to use MIDI.h functions inside a class; until now I've been able to use MIDI only in a single function of a class:

    Main code:


    #include <Test.h>

    Test test;
    void setup()
  43. Thread: [queued] Lilla

    by Sandro
    Replies
    7
    Views
    4,494

    Hi all, since my last post Lilla expander has...

    Hi all, since my last post Lilla expander has evolved and now is almost ready to be produced:
    20802

    Some videos:
    https://www.youtube.com/watch?v=2-acyJgDugs...
  44. Replies
    23
    Views
    3,897

    A bad mistake I did here... i had connected the...

    A bad mistake I did here... i had connected the flash chip GND pin to Analog GND... shame on me.



    Anyway, now the small PCB is done; i'm testing it, seems working fine.
    18688
  45. Replies
    23
    Views
    3,897

    Good, thank you Neurofun. I'm designing a small...

    Good, thank you Neurofun. I'm designing a small pcb for the W25Q256, with a groudplane, to be soldered toghether with the Audio shield (on top, or below) ... let's see how it will perform.
  46. Replies
    23
    Views
    3,897

    Going back to W25Q256.. I read on Audio shield...

    Going back to W25Q256..

    I read on Audio shield schematics (where an 8-pin flash memory IC is contemplated), that "RST" is indicated. While on 8pin ICs (like W25Q128) /RESET and /HOLD use the same...
  47. Replies
    23
    Views
    3,897

    I got it...Ok, thank you Frank for the explantion!

    I got it...Ok, thank you Frank for the explantion!
  48. Replies
    23
    Views
    3,897

    For completeness: after formatting, using normal...

    For completeness: after formatting, using normal speed playback, the report shows more or less same values and same behave:

    0 218
    1 7
    2 217
    3 7
    4 2143
    5 7
    6 217
    7 7
  49. Replies
    23
    Views
    3,897

    Hi Paul, thank you for your answer; I started...

    Hi Paul, thank you for your answer; I started adding some lines in order to get min, max and average times, and the result was so strange (for me!), that I decided to see each value; this is my code,...
  50. Replies
    1
    Views
    946

    SD card read time

    I'm playing with playSDraw using an SD card plugged in Teensy 3.6 built-in socket. The scope is to use the built-in SD card in place of flash memory in my midi expander, since the quad SPI could be...
Results 1 to 50 of 145
Page 1 of 3 1 2 3