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

    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!
  2. Replies
    90
    Views
    16,812

    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...
  3. Replies
    1
    Views
    10

    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.
    ...
  4. 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...
  5. Replies
    1
    Views
    68

    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...
  6. Replies
    4
    Views
    108

    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...
  7. 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...
  8. Replies
    6
    Views
    145

    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...
  9. @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!...
  10. Replies
    6
    Views
    145

    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:...
  11. 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...
  12. 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...
  13. : 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
    ...
  14. 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','...
  15. 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...
  16. 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...
  17. Replies
    6
    Views
    233

    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 ...
  18. 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...
  19. Mike, did you get the latest TyComm published...

    Mike, did you get the latest TyComm published yesterday?
  20. 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...
  21. Replies
    16
    Views
    327

    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.
  22. Replies
    23
    Views
    330

    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...
  23. 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...
  24. Replies
    16
    Views
    327

    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...
  25. 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...
  26. Replies
    16
    Views
    327

    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...
  27. Replies
    5
    Views
    150

    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...
  28. Replies
    16
    Views
    327

    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.
  29. Thread: Teensy Qt

    by defragster
    Replies
    456
    Views
    189,137

    Great work, and Thank you @koromix!

    Great work, and Thank you @koromix!
  30. Replies
    16
    Views
    327

    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...
  31. Replies
    11
    Views
    260

    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...
  32. 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....
  33. Replies
    16
    Views
    327

    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...
  34. Replies
    16
    Views
    327

    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...
  35. 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
    ...
  36. 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...
  37. 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....
  38. Replies
    3
    Views
    197

    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...
  39. 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...
  40. 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...
  41. Replies
    8
    Views
    156

    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
    ...
  42. 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....
  43. Some good questions. Could MTP.loop() have a...

    Some good questions. Could MTP.loop() have a return value indicating status? It is always called and state of it could be tracked easily.

    Would be nice to know when Serial is really .available()....
  44. Yes, byte by byte compare after the fact - with...

    Yes, byte by byte compare after the fact - with human readable index# blocks to allow one to easily see where pieces went missing or where they came from as early failures were files holding data...
  45. Indeed, for 256MB media thousands of files...

    Indeed, for 256MB media thousands of files doesn't make sense.

    Numbers in p#1011 for Flash seem reasonable for usable space and number of files if it gives more timely responsive system.

    I...
  46. With existing LFS disk params: Edited...

    With existing LFS disk params:

    Edited MakeFiles here to make files on the 2Gb flash:

    Total 127 files of Size 7766016 Bytes
    Bytes Used: 17301504, Bytes Total:265289728

    That is 6 4KB files...
  47. That is a Huuge difference ... space (50% free...

    That is a Huuge difference ... space (50% free versus over 700% short!) utilization and speed!

    BTW: I bugged koromix for 1062 uploads timing out ( long erase times or MTP online ) - he upped the...
  48. Cool ... I'm in the yard - truck loaded twice...

    Cool ... I'm in the yard - truck loaded twice more so far ... and two new computers to unbox today and update and recover old ... and seems somebody else needs a new printer
  49. Replies
    7
    Views
    157

    Thanks @joepasquariello was hoping somebody with...

    Thanks @joepasquariello was hoping somebody with a clue might see the added messages ...
  50. Replies
    7
    Views
    157

    All sources are installed by TeensyDuino...

    All sources are installed by TeensyDuino installer in the chosen Arduino install folder.

    Going to that install folder this should be the source for the 1062 AnalogWrite:...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4