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

  1. Was this generated from an unaltered 'Secure...

    Was this generated from an unaltered 'Secure Teensy' section provided sketch.INO?

    Paul will have any real answer - but just notes on what the text says as read ...

    Not sure what 'Writing public...
  2. Minor update to...

    Minor update to Defragster/T4LockBeta/tree/main/MakeFiles

    Cleaned the SD drive and put into T_4.1 and ran that Makefiles.ino menu / 't'
    Did a 'v'erfiy and all was well.

    On PC pulled off the...
  3. Yes, for a simple fast loop as posted that is a...

    Yes, for a simple fast loop as posted that is a good solution - as long as all the vars can be the same type. Perhaps a second array and loop if int and uint are both needed.
  4. The code is making assumptions about storage...

    The code is making assumptions about storage order - and also the syntax in the printf isn't telling the compiler to do what is hoped for.

    Run this and notice the added print of the %p pointer...
  5. Or maybe a servo or two - again with a proper...

    Or maybe a servo or two - again with a proper weight spring inline. It would not tend to deaden it. One could go left or right - A pair could pull one left the other right.
  6. Progress is slow - distractions are MANY ... half...

    Progress is slow - distractions are MANY ... half a pickup of stone to unload before dark and juggling computers again for completion to return ...

    Will start with testing smaller file set and...
  7. Well intermittent fun here has a nearly working...

    Well intermittent fun here has a nearly working Verify in makefiles and just added a Menu.

    Menu Options:
    t - Test Files Small
    v - Verify Files
    l - List files on disk

    R - Restart Teensy
    ...
  8. Replies
    1,009
    Views
    82,013

    IIRC @KurtE uses KiCad ... Kurt - any sign of...

    IIRC @KurtE uses KiCad ...

    Kurt - any sign of your p#998 PCBWay board?
  9. Replies
    6
    Views
    182

    Good note. It was the massive 200K that...

    Good note. It was the massive 200K that suggested there was more at hand - that '#include <sstream>' must drag in a lot of baggage.

    Stack issue should be resolved now :) - room to grow!
  10. Replies
    92
    Views
    16,967

    Wondering what this useful JQ tool was, this came...

    Wondering what this useful JQ tool was, this came up:

    stedolan.github.io/jq/

    Windows and other OS versions at the ready. Shows here on WIN11 as:


    jq - commandline JSON processor [version...
  11. Replies
    7
    Views
    139

    AFAIK - The bootloader is just onboard processor...

    AFAIK - The bootloader is just onboard processor with stored code to control and get the T_3.2 MCU programmed - and that is done through that main MCU under direction of that bootloader processor.
    ...
  12. Nice to see there is fun to be had - and that...

    Nice to see there is fun to be had - and that Kurt and Mike are enjoying it. Will be a more real-world use case, or at least fun for running continuous tests.

    Verify for Makefiles.ino got a...
  13. Replies
    2
    Views
    109

    Post edit time is limited to 2 hours for...

    Post edit time is limited to 2 hours for non-admin users. This was done partially for spammers saying one thing in a thread and returning later to edit the content with true spam when it won't show...
  14. Replies
    4
    Views
    127

    Tha page ... This needs some word edit? ... ...

    Tha page ... This needs some word edit?

    ...
    transmit, it actual transmission occurs when the host controller allows.

    And - worthy of note on T_4.x with 480 Mbps the ideal/possible xfer is 512...
  15. Awesome you are productively amused - and finding...

    Awesome you are productively amused - and finding good functionality to use and work with!

    I can say the times I've gotten to build after clearing up my #ifdef - the edited CORES with...
  16. Replies
    6
    Views
    182

    That is a big change! : free for local...

    That is a big change! : free for local variables:229052 - even FLASH code is smaller.

    Assuming that is not compiled '-0s' ?

    Feel free to leave more details on what was changed where to address...
  17. @wwatson - sorry to hear about the loss. Good...

    @wwatson - sorry to hear about the loss. Good luck finding a worthy distraction.

    ... as far as Post #1084 ... writing this and seeing the code something really obvious came to mind!

    AHA! DOH!...
  18. Replies
    6
    Views
    182

    KurtE's "c)" brings attention to first thought...

    KurtE's "c)" brings attention to first thought here on reading. In the first case:


    teensy_size*: FLASH: code:443968, data:41008, headers:9060 free for files:7632428
    teensy_size*: RAM1:...
  19. Great. MakeFiles_v2204 coming along with Verify -...

    Great. MakeFiles_v2204 coming along with Verify - cleaning up the verbose DIR output not needed. Just stuck on verify of LAST "block" set that is indeterminate length with padding bytes to meet spec...
  20. Kurt - will give that a look. Made good headway...

    Kurt - will give that a look. Made good headway on fileVerify() in MakeFiles - after distractions and that bad (?) SD card causing hangs

    Something odd with USB here ... indeed it builds MTP EXP...
  21. : Seems the SD card is no longer reliable....

    <EDIT>: Seems the SD card is no longer reliable. Alternating that one and another, this one kept hanging on Read for Verify - or other?
    >> Switch back to PLAIN SERIAL - not trying MTP ... Zzzzz's
    ...
  22. RE p#1084 > Build in IDE and use T_SerMon -...

    RE p#1084

    > Build in IDE and use T_SerMon - Port shows as "//fake an include everything device" - I see why so the USB_Desc is getting used: {'T','e','e','n','s','y',' ','M','T','P','...
  23. Not sure what I missed? Running on T_4.1: >...

    Not sure what I missed? Running on T_4.1:

    > boards.local.txt - lost again on dumping folder :( - Teensyduino-File-System-Integration-including-MTP-and-MSC
    --> Cool same as prior string in TSET...
  24. As long as you save a copy of the original source...

    As long as you save a copy of the original source file the change can always be restored - or a reinstall with TeensyInstaller.

    It won't cause any harm - it will just NEVER reboot for upload...
  25. Replies
    6
    Views
    252

    Does post #2 show post#1 issue resolved? Was...

    Does post #2 show post#1 issue resolved?

    Was going to suggest an example after p#1 - then p#2 that worked ...
  26. Okay, that answers that quite well. Must have...

    Okay, that answers that quite well. Must have just been my machine in odd state? Was afraid something might have gone odd in TyComm with recent updates ... the added 'magic IDE SerMon' message or...
  27. Mike, did you get the latest TyComm published...

    Mike, did you get the latest TyComm published yesterday?
  28. It was getting late here ... machine was calling...

    It was getting late here ... machine was calling for update restart ... the WIP MakeFiles was printing double/Quad chars it didn't need too ...

    So machine state may have been an issue. But...
  29. Replies
    16
    Views
    349

    What Teensy is in use? This library is included...

    What Teensy is in use? This library is included in TeensyDuino: github.com/nox771/i2c_t3

    But it has not been updated for T_4's. One it's features is an async i2c interface.
  30. Replies
    23
    Views
    346

    As far as the schematic it shows on one side the...

    As far as the schematic it shows on one side the Teensy pin number and on the other on the MCU end shows the port and 'bit' number within the port.

    Running this sketch...
  31. I have not updated CORES for normal Serial. As...

    I have not updated CORES for normal Serial.

    As noted MakeFiles.INO was running as Serial and added #ifdef to ideally allow selective use of MTP.
    > the MTP.H, and All MTP code is under: #ifdef...
  32. Replies
    16
    Views
    349

    You can post issues on the github to the author...

    You can post issues on the github to the author is something could be clarified.

    As noted, the posting was two hours delayed - walked away with it written on an 'interrupting task' :)

    As noted...
  33. Wire.h is the base i2c supplied and supported by...

    Wire.h is the base i2c supplied and supported by PJRC. It covers all WIRE#'s on various Teensy models: See {local install}\hardware\teensy\avr\libraries\Wire\WireKinetis.h

    i2c_t3.h is an...
  34. Replies
    16
    Views
    349

    Once Threads are enabled - everything is 'a...

    Once Threads are enabled - everything is 'a thread' - including loop, as only one thing can run at a time on the single CPU core.

    AFAIK by default all threads are given the same value for...
  35. Replies
    5
    Views
    160

    Allow source or stand alone executable is...

    Allow source or stand alone executable is available for : Teensy-Qt

    It has a GUI - always in use here - (except Iploader for use on the LOCKABLE variants of the T_4.x 1062's) - as SerMon and...
  36. Replies
    16
    Views
    349

    If both "A" and "loop" have 10ms timeslices - as...

    If both "A" and "loop" have 10ms timeslices - as noted in p#4 - it will return in 10ms.

    So every 20ms both threads will run once. And in 1 sec, 1000 ms, both will execute 50 times.
  37. Thread: Teensy Qt

    by defragster
    Replies
    457
    Views
    189,478

    Great work, and Thank you @koromix!

    Great work, and Thank you @koromix!
  38. Replies
    16
    Views
    349

    The ReadMe does - the sentence after the...

    The ReadMe does - the sentence after the indicated text above:


    Notes on implementation
    Threads take turns on the CPU and are switched by the context_switch() function, written in assembly. This...
  39. Replies
    11
    Views
    279

    SDIO not working? Seems like the SDIO adapter may...

    SDIO not working? Seems like the SDIO adapter may have wiring issue.

    See this post and following to confirm proper wiring: T4-SDIO-SD-Card-quot-initialization-failed

    Paul made a simple sketch...
  40. No MakeFiles.ino Update, except a few minutes...

    No MakeFiles.ino Update, except a few minutes progress getting bearings in the file. A few minutes to complete left for after next daylight fades.



    FILE .++zDDd....
  41. Replies
    16
    Views
    349

    The readme might have some answers:...

    The readme might have some answers: github.com/ftrias/TeensyThreads



    Notes on implementation
    Threads take turns on the CPU and are switched by the context_switch() function, written in...
  42. Replies
    16
    Views
    349

    More info on the Threading tool in use would...

    More info on the Threading tool in use would help. TeensyThreads or other?

    With a one second test in loop() the differ in the thread Counter++ could be measured.

    But with delay(1000) in both...
  43. Did a double byte clone of MakeNames() in...

    Did a double byte clone of MakeNames() in MakeFiles.ino:


    dbMakeN File:россиянин/��.txt=32
    dbMakeN File:россиянин/��.txt=32
    dbMakeN File:россиянин/α.txt=32
    dbMakeN File:россиянин/β.txt=32
    ...
  44. Here with current MakeFiles.ino indeed, Serial...

    Here with current MakeFiles.ino indeed, Serial connect to SerMon with SereMu at : Serial online : 5010

    As Kurt notes - faster normal Serial would be better.

    If yield() / eventResponder code...
  45. In MakeFiles is an ASCII test MakeNames() -...

    In MakeFiles is an ASCII test MakeNames() - perhaps that could easily be edited/cloned to make UTF8 names in some fashion. That was done when wwatson found some naming issue before it was understood....
  46. Replies
    3
    Views
    214

    Paul can answer the BUS question ... RAM2 diff...

    Paul can answer the BUS question ... RAM2 diff somewhat from RAM1 that is why it is good for DMA
    Quick other notes AFAIK:
    - RAM1 runs at CPU speed
    - RAM2 is clocked at CPU/4 as noted
    - there is...
  47. Updated MakeFiles...

    Updated MakeFiles

    It now scans ALL DIRS! And checks any file with fileSize as start of name to match reported length.

    Byte check of file blocks not started.

    Other tidbits added - KB/sec on...
  48. Quick search shows it isn't used often "lfs.h" -...

    Quick search shows it isn't used often "lfs.h" - just one copy in "info struct" for each file:


    // Maximum name size in bytes, may be redefined to reduce the size of the
    // info struct. Limited...
  49. Replies
    8
    Views
    159

    Respect is always appreciated. When not enough...

    Respect is always appreciated. When not enough info is given to see a path to the answer seeing the code can be essential.

    Never used but this shows up: github.com/PaulStoffregen/X-Plane_Plugin
    ...
  50. Thanks for the RAM Stream code link - saw it in...

    Thanks for the RAM Stream code link - saw it in passing ... and a lot has been passing by.

    Yes, if ( !MTP.loop() ), or anything like that bool or other 'status' value as helpful could be useful....
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4