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.08 seconds.

  1. Good! - Nope. Yep :) ... Can't print before fresh...

    Good! - Nope. Yep :) ... Can't print before fresh start.

    After Crash the system stability is in question and USB print is intermittent at best. I found that trying debug handler back in T_3.6...
  2. Not sure I follow? Here when a fault happens -...

    Not sure I follow?

    Here when a fault happens - "It's your fault!" followed by 8 sec pause - then auto restart and the report shows on setup().

    When the key entered doesn't trigger a crash the...
  3. Also use of delay(100) is suspect ?:...

    Also use of delay(100) is suspect ?: while(tempmonGetTemp() > 80) { delay(100); } // 5degs below High temp alarm.
    > without interrupts the delay() func won't function. Perhaps smaller steps of...
  4. github just updated for AutoClear on Print. ...

    github just updated for AutoClear on Print.

    @Paul: Perhaps add an optional param to : Serial.print(CrashReport);
    > If passed with NO_CLEAR value it could allow Fault data to persist for second...
  5. Post #58 code works with latest pulled CORES to...

    Post #58 code works with latest pulled CORES to show this.
    Fault is cleared after display on a clean reset/restart.
    Is it really running at that temp - haven't been watching that lately:

    ...
  6. About time date stamp that could be fun - though...

    About time date stamp that could be fun - though it may just be 9 seconds before the setup print is shown on restart.

    What might be useful for some debugging purposes is recording millis (micros)...
  7. That is how I actually did it at first last...

    That is how I actually did it at first last night.

    But not seeing a way to let sketch know of fault, that seemed wrong.

    With the added BOOL test - having the :


    if ( CrashReport ) {
    ...
  8. Here is the test sketch updated to current...

    Here is the test sketch updated to current PJRC/CORES - setup() tests and prints and clears fault.

    Have other task to complete today ...

    With options to trigger multiple faults:


    // Found...
  9. Simpler .clear() is good - as noted - just needed...

    Simpler .clear() is good - as noted - just needed a way to have the sketch know fault - like Kurt said.
  10. 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...
  11. @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...
  12. @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 :...
  13. Cool - I see your git work. Will give it a...

    Cool - I see your git work.

    Will give it a look ...
  14. 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?

    ...
  15. 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...
  16. 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 ...
  17. Doing that ... and github ... not finding update...

    Doing that ... and github ... not finding update for CrashReport.clear()
  18. 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...
  19. Replies
    900
    Views
    43,215

    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...
  20. Replies
    900
    Views
    43,215

    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...
  21. Replies
    900
    Views
    43,215

    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...
  22. Replies
    900
    Views
    43,215

    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...
  23. Replies
    900
    Views
    43,215

    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...
  24. Replies
    18
    Views
    282

    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....
  25. Replies
    900
    Views
    43,215

    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...
  26. Replies
    900
    Views
    43,215

    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...
  27. Replies
    18
    Views
    282

    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...
  28. Replies
    18
    Views
    282

    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'
  29. Replies
    900
    Views
    43,215

    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...
  30. Replies
    900
    Views
    43,215

    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 -...
  31. Replies
    900
    Views
    43,215

    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.
  32. Replies
    900
    Views
    43,215

    @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...
  33. Replies
    900
    Views
    43,215

    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...
  34. Replies
    900
    Views
    43,215

    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:

    ...
  35. Replies
    6
    Views
    522

    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...
  36. Replies
    900
    Views
    43,215

    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...
  37. Replies
    900
    Views
    43,215

    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...
  38. Replies
    6
    Views
    133

    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...
  39. Replies
    900
    Views
    43,215

    @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...
  40. Replies
    900
    Views
    43,215

    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...
  41. Replies
    900
    Views
    43,215

    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 ????
    ...
  42. Replies
    900
    Views
    43,215

    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...
  43. Replies
    6
    Views
    522

    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...
  44. Replies
    14
    Views
    252

    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...
  45. Replies
    900
    Views
    43,215

    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...
  46. Replies
    14
    Views
    252

    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...
  47. Replies
    14
    Views
    252

    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:...
  48. Replies
    900
    Views
    43,215

    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...
  49. @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...
  50. Replies
    900
    Views
    43,215

    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 ...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4