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

Search:

Type: Posts; User: mjs513

Page 1 of 10 1 2 3 4

Search: Search took 0.04 seconds.

  1. Ok here we go - not having much luck with using...

    Ok here we go - not having much luck with using Panic Temperature at this point. Let me explain why.

    1. the panic_isr in tempmon.c is set up to shutdown power:

    void Panic_Temp_isr(void) {
    ...
  2. Decided to take the simplest route for delaying...

    Decided to take the simplest route for delaying reboot:

    while (1) {
    if (PIT_TFLG0) {
    //GPIO7_DR_TOGGLE = (1 << 3); // blink LED
    PIT_TFLG0 = 1;
    if (tempmonGetTemp() < 85) {
    if...
  3. I am seeing the same thing - thought the crash...

    I am seeing the same thing - thought the crash report should be printed before the reboot. Probably wrong.
  4. @PaulStoffregen @defragster I change to using...

    @PaulStoffregen @defragster

    I change to using the test sketch posted by @defragster and noticed a few things if I do a '0' for instance I will receive the following message in the sermon

    ...
  5. Will down the latest changes and take a look. ...

    Will down the latest changes and take a look. Also want to take a look at the whole I did it. When I did a test the T4 just went into inifinite restart. Would like to avoid the whole issue with...
  6. Just did a PR...

    Just did a PR (https://github.com/PaulStoffregen/cores/pull/571) for the changes I made. Don't think the fault handler is going to capture the temp fault on the first go around until it cools off...
  7. All I just added some code for panic temp...

    All
    I just added some code for panic temp resets. Need a sanity check.

    In crashreport.cpp:

    if (SRSR & SRC_SRSR_TEMPSENSE_RST_B) {
    p.println("Reboot was caused by temperature sensor");...
  8. Wish list features added to my fork...

    Wish list features added to my fork (https://github.com/mjs513/cores) for testing:
    Added current temperature
    Added RTC time

    Temperature: panic ISR is already set so that should trip the reboot...
  9. Got it - was begining to take a look at it but...

    Got it - was begining to take a look at it but guess you are back into the thick of it agaim
  10. @PaulStoffregen Was looking SRC_SRSR, but will...

    @PaulStoffregen

    Was looking SRC_SRSR, but will the resets even trigger the fault handler? or will a reset handler be required?
  11. Just submitted a PR changing to the simplified...

    Just submitted a PR changing to the simplified clear and putting the print. Gives another approach I guess - works both ways. As I mentioned - can't figure out why on first fault not dumping the...
  12. Don't think it does. This works just as well...

    Don't think it does. This works just as well with @defragsters fix:

    void CrashReportClass::clear()
    {
    struct arm_fault_info_struct *info = (struct arm_fault_info_struct *)0x2027FF80;

    ...
  13. @defragster Good catch on the missing info->crc...

    @defragster
    Good catch on the missing info->crc in startup.c. Completely missed it - should have caught it. Now for the fun part. I copied and pasted your changes in my copy of CrashReport.cpp and...
  14. @PaulStoffregen - @defragster. I made some...

    @PaulStoffregen - @defragster.

    I made some changes to the CrashReport to add clear and to print if crash report is not available but don't like what I did for clear. Really should clear the fault...
  15. Not added added yet. Not that fast in adding...

    Not added added yet. Not that fast in adding stuff.
  16. @defragster - check your email :) Work still in...

    @defragster - check your email :) Work still in progress.
  17. Finally found the thread that you posted to. ...

    Finally found the thread that you posted to. Sorry. Anyway with the incorporation of the latest PR, addition details is printed:

    CrashReport ... Hello World
    length: 9
    IPSR: 3
    CFSR: 82...
  18. Replies
    900
    Views
    43,328

    Personally -yes i do - makes a good example for...

    Personally -yes i do - makes a good example for all the storage and a good reference.
  19. Replies
    900
    Views
    43,328

    @degragster - @PaulStoffregen - @KurtE Just...

    @degragster - @PaulStoffregen - @KurtE

    Just pushed changes to a my fork of the LittleFS reposititory: https://github.com/mjs513/LittleFS . Tested SPI-NAND with the memory board as well SPI Flash...
  20. Replies
    900
    Views
    43,328

    Glad you got it working :). Was getting me...

    Glad you got it working :). Was getting me worried.
  21. Replies
    900
    Views
    43,328

    Think I was keeping it separate for devel and not...

    Think I was keeping it separate for devel and not corrupt the LittleFS header. To be honest probably should have merged the too. Would keep the .cpp's separate though as you said.

    Ok - on my to...
  22. Replies
    7
    Views
    649

    Ok - installed 1.54b10 over 154b9 on Win10 home...

    Ok - installed 1.54b10 over 154b9 on Win10 home x64 with no issues. This time I didn;t even get the windows block install screen :)



    Tried to duplicate on a T4.0 and can't seem to duplicate...
  23. Replies
    900
    Views
    43,328

    @defragster - @Paul - @all Downloaded the...

    @defragster - @Paul - @all

    Downloaded the beta10 and installed over 1.54beta9. Loaded up the LFSIntegrity sketch in previous post and ran it on both a T4.1 and Teensy MicroMod. Then for using:
    ...
  24. Replies
    900
    Views
    43,328

    As @defragster mentioned - LittleFS wasn't tested...

    As @defragster mentioned - LittleFS wasn't tested with Teensythreads. The SD card operates differently than a flash chip.

    Can you post the code so we can either test or see if there is anything...
  25. Replies
    900
    Views
    43,328

    Good morning all Just gave the fix a quick try...

    Good morning all

    Just gave the fix a quick try on the MM and the 4.0. The worked like a charm.

    No hangs my little test sketch from post...
  26. Replies
    900
    Views
    43,328

    Rabbit holes …. Late for me to start playing...

    Rabbit holes ….

    Late for me to start playing but want to hook up a spi flash and see if there is a further problem or just the use of dmamem. Tim forgot if you tested with program mem. Eyes are...
  27. Replies
    900
    Views
    43,328

    @PaulStoffregen - @defragster - @KurtE Not...

    @PaulStoffregen - @defragster - @KurtE

    Not sure you reverted the 1k boundaries completely from the core for the 1062. This is still in imxrt1052.ld

    .text.csf : {
    FILL(0xFF)
    . =...
  28. Replies
    900
    Views
    43,328

    @PaulStoffregen - @defragster Don't think its...

    @PaulStoffregen - @defragster

    Don't think its an issue with LittleFS believe its something that changed in the core between 1.54beta8 and beta9. Why do I say this - I went back to previous...
  29. Replies
    900
    Views
    43,328

    Just tried Teensy Micromod with my test sketch:...

    Just tried Teensy Micromod with my test sketch:
    1. Hangs with 1.54bet9 on 1.8.15
    but
    2. Works with 1.54beta8 with IDE1.8.14
    3. T4.0 works as well with beta8
  30. Replies
    900
    Views
    43,328

    @PaulStoffregen - @defragster Ran it on a...

    @PaulStoffregen - @defragster

    Ran it on a T3.5 with

    DMAMEM char buf[49000];; // USE DMAMEM for more memory than ITCM allows - or remove


    and my last posted test program and it seems to...
  31. Replies
    900
    Views
    43,328

    Yep it sure is crashing on T4.0. Even if I...

    Yep it sure is crashing on T4.0. Even if I revert the changes that @defragster just made it crashes.. Testing with DMAMEM for a quick and dirty test.
  32. Replies
    28
    Views
    274

    Sounds like a plan!

    Sounds like a plan!
  33. Replies
    28
    Views
    274

    Agreed go for it - Also ordered myself some of...

    Agreed go for it - Also ordered myself some of those chips to test as well. Don't think you are going to be able to change the .ld.
  34. Replies
    28
    Views
    274

    Well, looks like the option to pass in *Serial...

    Well, looks like the option to pass in *Serial has been incorporated:

    bool lowLevelFormat(char progressChar=0, Print* pr=&Serial); This is what is up at:...
  35. Replies
    28
    Views
    274

    @defragster. First your modified LittleFS.h is...

    @defragster.

    First your modified LittleFS.h is throwing errors on lowlevelFormat. So I used codecompare and updated the one the is bundled with Teensyduino1.54b9. See attached.

    I took a...
  36. Replies
    28
    Views
    274

    Usually not bored, only sometimes. ...

    Usually not bored, only sometimes.

    Definitely think its worth trying and adding if it works. I will download and give the new LittleFS.h a try that you posted in #16
  37. Replies
    28
    Views
    274

    Thanks for the clarification will have pick up a...

    Thanks for the clarification will have pick up a few :)
  38. Replies
    28
    Views
    274

    @defragster Will take a look at that. Didnít do...

    @defragster
    Will take a look at that. Didnít do much with the psram. That chuck was Paul. Canít remember about spiffs Ö was way too long ago now.
  39. Replies
    28
    Views
    274

    the one difference I see in the from looking at...

    the one difference I see in the from looking at the datasheets is the max clock speed. It looks like for the Lyontek LY68L6400S the clock is maxed at 100Mhz while for the ESP its at 133 Mhz. This...
  40. Reading the issue on github that you referenced...

    Reading the issue on github that you referenced it doesn't appear to be a I2C problem but a library issue. Since they are using the lib for the two different sensors. ladyada came back and said:
    ...
  41. Replies
    2
    Views
    114

    Morning @Sandro First you don't need to copy...

    Morning @Sandro
    First you don't need to copy LittleFS or copy the .h file to the cores. I would revert what you did. If you installed Teendsyduino 1.54beta9 or even 1.54beta8 LittleFS is...
  42. Replies
    71
    Views
    5,255

    As @defragster mentioned the SPIFFS_T4 library is...

    As @defragster mentioned the SPIFFS_T4 library is no longer supported and unfortunately I don't remember enough off the top of my head to provide any advice. Would have to go back and look at the...
  43. Replies
    948
    Views
    58,514

    Not that I am aware. At the moment BT 5.0...

    Not that I am aware. At the moment BT 5.0 dongles are not supported.
  44. Replies
    928
    Views
    85,902

    @Fluxanode Did you remember to change the USB...

    @Fluxanode
    Did you remember to change the USB Type to MTP Disk (Experimental) from the Tools -> USB Type dropdown when did compile and upload?
  45. Replies
    948
    Views
    58,514

    Not a problem - wanted to get what I was seeing...

    Not a problem - wanted to get what I was seeing while it was still fresh in my head as well.

    As you said back to other diversions.
  46. Replies
    948
    Views
    58,514

    Good Morning @KurtE Decided to start going...

    Good Morning @KurtE
    Decided to start going through PS3 dumps again and bounce it against the SSP web site. And from what I see it hanging while the ps3 is waiting for a IO capability response...
  47. Replies
    24
    Views
    725

    @tonton81 did a lot of explaining about mutex and...

    @tonton81 did a lot of explaining about mutex and scope locks in the primary thread on TeensyThreads. YOu can start here...
  48. Replies
    24
    Views
    725

    actually suspend does work but not with the way...

    actually suspend does work but not with the way you are using it.
    1. create a global variable: int PZEM;
    2. in setup do:
    PZEM = threads.addThread(ReadPZEM);
    3. Then you can use suspend like this...
  49. Replies
    948
    Views
    58,514

    @KurtE Been going through the PS4 wireshark dump...

    @KurtE
    Been going through the PS4 wireshark dump from my Linux laptop and comparing to what I am seeing from trying to pair the PS4 "Blue" controller with USBHost so here goes
    1.

    <<(01):2F FF 01...
  50. Replies
    19
    Views
    880

    That is correct. The problem was an issue with...

    That is correct. The problem was an issue with the breakout board I was using so I switch to this board":https://www.pjrc.com/breakout-board-for-teensy-4-0/ and it worked both at 600Mhz and 150Mhz. ...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4