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

  1. Replies
    14
    Views
    1,213

    I uploaded to a Teensy MicroMod yesterday and...

    I uploaded to a Teensy MicroMod yesterday and ended up with:

    23:07:18.303 (loader): HAB open mode, bootcfg=80018
    23:07:18.306 (loader): Opps, NXP ROM in open mode, but we do not yet have code for...
  2. That seems to answer that - except in the EARLY...

    That seems to answer that - except in the EARLY hook I'm not sure the 'c' calls for pins work yet -

    Also meant to ask if you had the Loader app 'help / Verbose ' open to see any feedback it...
  3. Good luck. Very odd that running code can get to...

    Good luck.
    Very odd that running code can get to a bootloader Blink situation.

    Unless the sketch is starting (maybe in an odd MCU state) and wigging out the processor causing a restart where the...
  4. Given the repro is intermittent - the prior saved...

    Given the repro is intermittent - the prior saved state may have seemed to work then.

    Except during Programming the bootloader chip is idle, After Startup!

    During startup the bootloader is an...
  5. Not knowing Python, does this line actually limit...

    Not knowing Python, does this line actually limit the speed of the transfer data arriving?


    ser = serial.Serial('COM4', 2000000, timeout=0.01)

    That is only 2 MBaud and T_4.x USB runs at...
  6. Argh - failed build of 2nd defunct carrier - lost...

    Argh - failed build of 2nd defunct carrier - lost T_MM ... emailed ... not fun.

    UPDATED: Defragster/T4LockBeta/tree/main/MakeFiles

    Extended Menu:

    Menu Options:
    t - Test Files write 2204...
  7. Very cool! I'll have to hook up a display and...

    Very cool! I'll have to hook up a display and try it out.

    Did you guys see koromix re-Updated TyCOmmander to 0.9.7? Indeed there was a bug in prior release that failed uploads.

    Paul sent his...
  8. Did a search for Teensy bootloader and this came...

    Did a search for Teensy bootloader and this came up - it is the notes on the stand alone bootloader chip PJRC sells for DIY boards:

    pjrc.com/store/ic_mkl02_t4.html

    Yes, try the 15 sec Restore...
  9. What version of the IDE and TeensyDuino? Windows...

    What version of the IDE and TeensyDuino? Windows or other OS?

    TeensyDuino 1.56 should have stabilized any issues with RED LED blink - only the bootloader chip can do that.

    Looking at the T_4.1...
  10. CrossPost :) Hopefully that post gives useful...

    CrossPost :)

    Hopefully that post gives useful info to follow up.

    Off here for other chores as well ... In fact other chores just interrupted ... another new computer coming to replace yet...
  11. Minor update to...

    Minor update to Defragster/T4LockBeta/tree/main/MakeFiles
    > output is readably clean and seems to check all files in any folder ... if the name is 'coded' as SIZE???.???
    > Files not in a dir...
  12. 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...
  13. 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...
  14. 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.
  15. 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...
  16. 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.
  17. 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...
  18. 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
    ...
  19. Replies
    1,009
    Views
    82,487

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

    IIRC @KurtE uses KiCad ...

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

    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!
  21. Replies
    92
    Views
    17,060

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

    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.
    ...
  23. 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...
  24. Replies
    2
    Views
    110

    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...
  25. Replies
    4
    Views
    155

    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...
  26. 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...
  27. Replies
    6
    Views
    200

    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...
  28. @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!...
  29. Replies
    6
    Views
    200

    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:...
  30. 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...
  31. 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...
  32. : 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
    ...
  33. 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','...
  34. 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...
  35. 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...
  36. Replies
    6
    Views
    264

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

    Mike, did you get the latest TyComm published yesterday?
  39. 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...
  40. Replies
    16
    Views
    364

    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.
  41. Replies
    23
    Views
    393

    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...
  42. 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...
  43. Replies
    16
    Views
    364

    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...
  44. 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...
  45. Replies
    16
    Views
    364

    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...
  46. Replies
    5
    Views
    173

    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...
  47. Replies
    16
    Views
    364

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

    by defragster
    Replies
    457
    Views
    189,715

    Great work, and Thank you @koromix!

    Great work, and Thank you @koromix!
  49. Replies
    16
    Views
    364

    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...
  50. Replies
    11
    Views
    287

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