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

Search:

Type: Posts; User: defragster

Page 1 of 10 1 2 3 4

Search: Search took 0.07 seconds.

  1. Updated to test another couple of faults - linked...

    Updated to test another couple of faults - linked page has other notes on debugging.

    Frank had to enable and handle the divide by zero case? So #4 is ignored.



    // Found a couple of Faults...
  2. @Paul ... Made three PR's: ...

    @Paul ... Made three PR's:


    https://github.com/PaulStoffregen/cores/pull/569
    https://github.com/PaulStoffregen/cores/pull/568
    https://github.com/PaulStoffregen/cores/pull/567

    > one is...
  3. @mjs513 - the end of .clear() needs to commit the...

    @mjs513 - the end of .clear() needs to commit the cache to RAM from cache ... below.

    It would be nice to have the sketch know when a fault happened? - see below ...

    Tested at the end of :...
  4. Cool - I see your git work. Will give it a...

    Cool - I see your git work.

    Will give it a look ...
  5. Okay - added more informative code that is...

    Okay - added more informative code that is working as expected . Still unlcear why there was a fault reported after 15 sec Restore - except perhaps wihtout CRC check it sees a fault everywhere?

    ...
  6. Prior almost 30 mins back I got - latest was just...

    Prior almost 30 mins back I got - latest was just simple stuff - got that too and same result on a T_4.1 after 15 sec Restore:



    T:\tCode\FAULT_HANDLER\CrashReport\CrashReport.ino Jun 20 2021...
  7. Misread that as ADDED ... but I never crashed and...

    Misread that as ADDED ... but I never crashed and it is picking up as already crashed and won't clear to run my code - and it isn't blinking - just stalled - does take Auto Upload so not hung ...
  8. Doing that ... and github ... not finding update...

    Doing that ... and github ... not finding update for CrashReport.clear()
  9. Odd - got cores from github with latest updates....

    Odd - got cores from github with latest updates.

    Compiled for T_4.1 - Code below - and I see this when the code starts? NO LED BLINKING.


    T:\tCode\FAULT_HANDLER\CrashReport\CrashReport.ino...
  10. Replies
    900
    Views
    43,111

    Quick update QSPI NAND passes restart Integrity...

    Quick update QSPI NAND passes restart Integrity tests. Good like PSRAM, and no signs of corruption like on the DMAMEM Ramdisk.

    Slower than (PS)RAM and larger media size a double whammy for test...
  11. Replies
    900
    Views
    43,111

    PSRAM seems safe for use with Software Restart -...

    PSRAM seems safe for use with Software Restart - between operations all is properly stored.

    Did 20 or 30 or more Restarts with "same" operations as RAM2 showed corruption with and it worked...
  12. Replies
    900
    Views
    43,111

    RE post #891 and corruption on DMAMEM RAM DRIVE....

    RE post #891 and corruption on DMAMEM RAM DRIVE.

    Just move to PSRAM and the same behavior does NOT repeat?

    Did similar allocations and 'R'estart cycles and all is well?

    Just enabled 12...
  13. Replies
    900
    Views
    43,111

    Notes above showed PSRAM separate from RAM1 or...

    Notes above showed PSRAM separate from RAM1 or RAM2 Example usage, and indeed for general consumption the RAM1 / RAM2 variant would need a clear way to differentiate.
    Because, while 'we' know PSRAM...
  14. Replies
    900
    Views
    43,111

    Makes sense, Thanks. Opps, Hadn't thought the...

    Makes sense, Thanks.

    Opps, Hadn't thought the process through: QSPI Flash writes can not be queued in cache and handled later (as DMAMEM and PSRAM can do), because in the case of the QSPI Flash...
  15. Replies
    18
    Views
    252

    If and how well any 'non sanctioned' JTAG/DEBUG...

    If and how well any 'non sanctioned' JTAG/DEBUG hack works is based on what a search shows. It has apparently worked for some Teensy models - but PJRC nor anyone seen around here much uses it AFAIK....
  16. Replies
    900
    Views
    43,111

    Given post #890 a test was added when DIR is...

    Given post #890 a test was added when DIR is shown - and a DIR is shown on start in setup().

    It is consistent as noted above after the 3rd 'R'estart process from a fresh format the following...
  17. Replies
    900
    Views
    43,111

    Added "D" to Integrity, it walks the dir reading...

    Added "D" to Integrity, it walks the dir reading every file up to the returned file.size(). Reports Error if it doesn't get that many and also stops reads with error when it exceeds the reported...
  18. Replies
    18
    Views
    252

    Best to start with and be able to use the Arduino...

    Best to start with and be able to use the Arduino IDE as it is supported directly - and is the common denominator for all posts and sketches when questions arise. It is also straightforward to...
  19. Replies
    18
    Views
    252

    Those pins were placed for potential support. ...

    Those pins were placed for potential support. PJRC has not yet exposed a means for that.

    Perhaps WWW search will find some creative solution offered by 'others'
  20. Replies
    900
    Views
    43,111

    Cool ... Occurred to me as way to make it more...

    Cool ... Occurred to me as way to make it more understandable and usable for test and ref. ... one FS Media at a time.

    There are other examples where a CORE bus/concept is presented with sub...
  21. Replies
    900
    Views
    43,111

    RESTART testing was never part of my process here...

    RESTART testing was never part of my process here until seeing when RAM disk could warm restart.

    With that finding - all the dCache devices (QSPI FLASH) need the static_sync add of dcache_flush -...
  22. Replies
    900
    Views
    43,111

    Worried ... Me too. But was end of day ... and it...

    Worried ... Me too. But was end of day ... and it was easier to sleep throwing the issue out to @all 'test' ... assuming PJRC changes to .LD files or startup.c that had just shown need for change.
  23. Replies
    900
    Views
    43,111

    @Paul/@all RE: LFSIntegrity As noted it was a...

    @Paul/@all RE: LFSIntegrity
    As noted it was a Swiss Army knife morphing as Media were added and test avenues crept in - and still are ...

    For more useful User Examples - something that made no...
  24. Replies
    900
    Views
    43,111

    RE: 2nd Header :: IIRC @mjs513 was pushing the...

    RE: 2nd Header :: IIRC @mjs513 was pushing the envelope for NAND and wasn't sure it would get done for TD 1.54 - so kept was separate.
    > at this point it managed to mature and work, so suspect it...
  25. Replies
    900
    Views
    43,111

    Trying to debug this and recalling that SIZE's...

    Trying to debug this and recalling that SIZE's are returned as 64 bit.
    Learned this before - and seeing some print anomalies trying to debug ... doing cleanup ...

    These common methods:

    ...
  26. Replies
    6
    Views
    442

    UPDATE LittleFS working properly :: Did wipe of...

    UPDATE LittleFS working properly :: Did wipe of IDE 1.8.15 folder and fresh unZIP and TD 1.54b10 install and LittleFS is fine DMAMEM/RAM2 for RAM_DISK

    Not sure what caused the build error - but...
  27. Replies
    900
    Views
    43,111

    Clean Install and all is well. Did 15 sec...

    Clean Install and all is well. Did 15 sec Restore of both T_4.0 and 4.1

    Win 10 : IDE 1.8.15 unzip : TD 1.54 B 10 install

    Using IDE and TeensyLoader and IDE SerMon.

    Various : 'B' and...
  28. Replies
    900
    Views
    43,111

    Okay - I need to clean something. Something...

    Okay - I need to clean something.

    Something not right in that it worked okay at first - until restart - then it started going wholly bad

    On the RAMDISK - does the restart noted here from the...
  29. Replies
    6
    Views
    128

    Temp is a spot temp internal to the MCU...

    Temp is a spot temp internal to the MCU somewhere, not what is apparent on the casing.

    50C doesn't sound awful - depending on the workload - and not running OC above 600 MHz. I haven't watched...
  30. Replies
    900
    Views
    43,111

    @TeensyDigital - TD 1.54 Beta 10 was released...

    @TeensyDigital - TD 1.54 Beta 10 was released with a change in startup that Paul saw cause troubles.

    Though something new and bad affecting the LittleFS sketch in use with Beta 10.

    @Paul /@all...
  31. Replies
    900
    Views
    43,111

    Switched to PSRAM ramdrive - 'B'igfile won't...

    Switched to PSRAM ramdrive - 'B'igfile won't complete there either? It hangs after some portion of the write.

    Button and TyComm/Reset has it start and dies early in setup() - next line would be...
  32. Replies
    900
    Views
    43,111

    Took out .flush that was not there before - can't...

    Took out .flush that was not there before - can't even write the Bigfile just now?

    It hangs and keeps hanging on restart until power off ... like DMAMEM adjustment changed how it works ????
    ...
  33. Replies
    900
    Views
    43,111

    Installed 1.54b10 and it works initially on T_4.0...

    Installed 1.54b10 and it works initially on T_4.0

    Seeing odd DMAMEM char buf[490000]; behavior - doing 'R'estart to test static RAM and hanging on restart?
    Saw it on beta 10 announce post ... but...
  34. Replies
    6
    Views
    442

    Installed td 1.54 b10 on Win 10 over IDE 1.8.15 -...

    Installed td 1.54 b10 on Win 10 over IDE 1.8.15 - Install good and no problems w/LittleFS LFSIntegrity onto T_4.0.

    Ramdisk note - Primary RAM / RAM1 is always zeroed on any restart to won't...
  35. Replies
    14
    Views
    247

    Post #10 showed PROGMEM for the constant image...

    Post #10 showed PROGMEM for the constant image that stays in FLASH.

    The code shown isn't a complete program - so I can't play with it directly and compile ...

    But it shows something that...
  36. Replies
    900
    Views
    43,111

    Not sure any use with threading was tested. SD...

    Not sure any use with threading was tested. SD card I/o uses interrupts or DMA perhaps and can complete its process without being on an active thread.

    LittleFS code is all direct action where it...
  37. Replies
    14
    Views
    247

    Are you sure? The T_4.1 has an 8MB Flash so a...

    Are you sure? The T_4.1 has an 8MB Flash so a decent amount of MB free after code. That could be pulled into PSRAM - the copy doesn't take any memory - just FLASH storage. If the data doesn't need...
  38. Replies
    14
    Views
    247

    Yes, something must be done ... See this link in...

    Yes, something must be done ...
    See this link in post #2 : pjrc.com/store/teensy41.html#memory

    As noted in that post #2 EXTMEM :: Usage of a 'variable' there will not be initialized { that is:...
  39. Replies
    900
    Views
    43,111

    Typed the text below before I checked that I am...

    Typed the text below before I checked that I am running 1.54b9 with *.LD's from 1.54b8!
    >> I had that thought and copied from the IDE 1.5.13 reinstall ... but apparently left before I built from...
  40. @pedvide provides the ADC library as a personal...

    @pedvide provides the ADC library as a personal external library included with teensyduino: github.com/pedvide/ADC/

    And issues could be made against that github for attention resolution in some...
  41. Replies
    900
    Views
    43,111

    post #853 - lfsintegrity using RAM1 or RAM2 -...

    post #853 - lfsintegrity using RAM1 or RAM2 - DMAMEM ( dammed :) ) - or EEPROM Program memory : didn't see it work ...
  42. Replies
    900
    Views
    43,111

    Installed TD Beta 8 over Beta 9 on IDE 1.8.13 and...

    Installed TD Beta 8 over Beta 9 on IDE 1.8.13 and LFSIntegrity.ino works on T_4.0:


    17:54:31.698 (loader): redraw, image 9
    17:54:40.819 (serialmon 6): Begin, version=1.54-beta8, high-res time...
  43. Replies
    900
    Views
    43,111

    TD 1.54 Beta 9 installed over IDE 1.8.13 beta 7...

    TD 1.54 Beta 9 installed over IDE 1.8.13 beta 7 {working in poist #852}:

    Same sketch EPROM DISK of 1MB :: #define TEST_PROG with if (!myfs.begin(1024 * 1024 * 1)) {

    FAILS to start the T_4.0...
  44. Replies
    900
    Views
    43,111

    Opened IDE 1.8.13 with TD 1.54 b7 and it builds...

    Opened IDE 1.8.13 with TD 1.54 b7 and it builds and runs with 1MB :: LittleFS_Program myfs;

    I'll install 1.54 b9 over that IDE 1.8.13 and see ...
  45. Replies
    900
    Views
    43,111

    I have an ADC sketch running on a T_4.0 and I...

    I have an ADC sketch running on a T_4.0 and I rebuilt that to work.

    Tested the ASCIITable to build and run on T_4

    The LittleFS_Program sketch certainly should not use any of the _RAM code...
  46. Replies
    900
    Views
    43,111

    Won't work here either with RAM that fits or...

    Won't work here either with RAM that fits or DMAMEM???

    Not sure when a T_4.0 may have been tested last?

    With 1.9MB free on FLASH it won't run with a 1MB LittleFS_Program either?
  47. Replies
    900
    Views
    43,111

    PR made for LittleFS to reMount RAM disks that survive a Warm Restart

    From thread : pjrc.com/threads/67500-Another-PSRAM-option-Lyontek

    This :: github.com/PaulStoffregen/LittleFS/pull/12
    >> Note PR was merged as this post was saved - so look for this in TD 1.54...
  48. Done - will move to LittleFS thread with...

    Done - will move to LittleFS thread with github.com/PaulStoffregen/LittleFS/pull/12

    And put notes there ...
  49. Not looking to change the .ld - just checking if...

    Not looking to change the .ld - just checking if it had a named element that was usable - and not seeing it.

    Github is a royal PIA - takes about as long to manipulate it for a PR as to make the...
  50. Left me confused ... too long since touching...

    Left me confused ... too long since touching LittleFS - I did a sync from github and I have this :: bool lowLevelFormat(char progressChar=0, Print* pr=&Serial);
    Seemed to match with td1.54 b9 as I...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4