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

Search:

Type: Posts; User: MaffooClock

Search: Search took 0.00 seconds.

  1. Replies
    112
    Views
    49,204

    Oh, yeah, that. I'd swapped the cli() and sei()...

    Oh, yeah, that. I'd swapped the cli() and sei() for those while I was sifting through the code to try to understand it. I forgot to change them back, but also wouldn't have thought it'd make a...
  2. Replies
    112
    Views
    49,204

    Actually, I am. I did start with an earlier...

    Actually, I am. I did start with an earlier version, yes, but as I kept reading this thread, I came across the updated on in #93 and switched to that (very early on in my development). Just to be...
  3. Replies
    112
    Views
    49,204

    Okay, now I have a legitimate issue. I've been...

    Okay, now I have a legitimate issue.

    I've been quite successful with downloading a hex file over HTTP and saving it to an external flash chip via LittleFS. This part of the process worked...
  4. Replies
    112
    Views
    49,204

    A follow-up for posterity... Turns out, the...

    A follow-up for posterity...

    Turns out, the root of all of my problems was having too large receive buffer on my Client, which was causing missed characters in the HttpClient response body. ...
  5. Replies
    112
    Views
    49,204

    Yep. In the loop that reads each character to...

    Yep.

    In the loop that reads each character to reassemble each hex line, I added a memset( line, '\0', sizeof line ); to ensure the line buffer is empty before starting on the next line, and that...
  6. Replies
    112
    Views
    49,204

    Thanks, jonr and ipaq3115. As a test, I...

    Thanks, jonr and ipaq3115.

    As a test, I decided to dump out every line received via HttpClient just before being fed to flash_hex_line():


    Downloading 52756 bytes...
    1: :0200000460009A
    ...
  7. Replies
    112
    Views
    49,204

    Ugh, I was wrong (actually, I was worn down and...

    Ugh, I was wrong (actually, I was worn down and should have taken a break from this a long time ago). The parse_hex_line() function is failing at the fourth check (not the third as I asserted...
  8. Replies
    112
    Views
    49,204

    On further thought... I see the parse_hex_line()...

    On further thought... I see the parse_hex_line() function has a lots of reasons to return 0. I guess I could change them all to return a unique <0 value to spot which condition is failing...

    So...
  9. Replies
    112
    Views
    49,204

    This has been fun... I managed to integrate...

    This has been fun...

    I managed to integrate this into an existing project, which uses HttpClient via cellular modem to download the HEX file before feeding it into flash_hex_line(). Everything...
  10. Teensy 4.x timer behavior during software freeze

    I've got a question about the hardware timer modules in the Teensy 4.x.

    I've learned a lot about the different timer modules from the TeensyTimerTool library, so I've got a pretty solid...
Results 1 to 10 of 11