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. Please provide a complete/short example showing...

    Please provide a complete/short example showing incorrect function.

    If usage was in error forum may help clarify, if the code really is in Error then it needs to be corrected.
  2. Setting this seems essential: InChar = 0; ...

    Setting this seems essential: InChar = 0; // Added to fix crash after updating to IDE 1.8.19

    When called without any Serial.available() if the prior exit was with:: if (InChar == 10)
    ...
  3. Opps - I hesitated asking the obvious ... are...

    Opps - I hesitated asking the obvious ... are there any interrupt functions involved that should not be in FLASHMEM.

    The Teensy's 1062 has 32KB code cache - so maybe it can get away with it for...
  4. Replies
    2
    Views
    160

    Sparkfun posts their Teensy MicroMod Eagle files...

    Sparkfun posts their Teensy MicroMod Eagle files - not sure if that includes part numbers for the crystals?
  5. WORKING - back on Windows 11! Now Com18...

    WORKING - back on Windows 11!

    Now Com18 instead of COM6.

    Found a BLUETOOTH ??? device also on COM6

    Device Mgr remove of the Com6 devices didn't do it.

    Used RegEdit to search "COM6"...
  6. Looking at TeensyThreads.cpp, no malloc - just :...

    Looking at TeensyThreads.cpp, no malloc - just :
    threadp[i] = new ThreadInfo();
    stack = new uint8_t[stack_size];

    Added threads get default 1K or specified Stack and Thread0 main...
  7. Malloc seems to have the idea there is one HEAP -...

    Malloc seems to have the idea there is one HEAP - but each Thread seems to have some reserved space from RAM - how that is allocated would be shown in TeensyThreads? Does it do malloc() for the...
  8. Opps - too long since then. Thanks for detail...

    Opps - too long since then. Thanks for detail reminder

    Suppose 15s Wipe was working - but prior times Loader was open with code to reinstall

    Still have to go back to Win 11 and see if it can...
  9. Fun Update - On the porch with Win 10 Laptop that...

    Fun Update - On the porch with Win 10 Laptop that probably hasn't seen the old T_3.5

    OLD_T_3.5 seems to work NORMALLY here

    Tried three 15s Restores - finally wiped the code - but not running...
  10. I saw similar funny # for Remains This...

    I saw similar funny # for Remains



    This MIGHT be a work around - but it might just give way to another issue later on.

    The malloc code uses those fixed points for REF and it isn't clear they...
  11. BTW: In testing I made a LARGE Flash code test...

    BTW: In testing I made a LARGE Flash code test and that worked. So, it has to be some specific problem code that runs from Flash when it conflicts

    That code...
  12. Also - OLD_T_3.5 is ignoring the 15 second...

    Also - OLD_T_3.5 is ignoring the 15 second Restore as that was timed and tried about 6 times. with timer at 14,15,16 seconds.

    It seems 'something failed' on OLD_T_3.5 - except it worked when I...
  13. Teensy 3.5 - Button Program only and NO Serial out until DUAL then SerialUSB1 OK

    Pulled out a T_3.5 - used quite a bit in past for past testing - not used in Months++
    - Once cut VIN<>VUSB - now soldered again
    - Top side Female headers in place
    - No problems when last used
    ...
  14. Thought that might be the case - and if it isn't...

    Thought that might be the case - and if it isn't auto restarting then CrashReport code may not get called in this case.
    And if the Button won't go into Program mode it seems the MCU is 'offline'?...
  15. I didn't post the code - but the p#9 alloc_func()...

    I didn't post the code - but the p#9 alloc_func() was just called from setup() in the existing code - then it no longer acted the same when called from the Thread.

    The malloc code has some...
  16. Indeed, the malloc() code does do something on...

    Indeed, the malloc() code does do something on first call with regard to finding and using a HEAP to build on?

    Adding this to setup before starting the thread - whatever is allocated here is then...
  17. Replies
    36
    Views
    1,392

    Sticky: Good to know it is TSET and not just this system....

    Good to know it is TSET and not just this system.

    It is probably path inclusions of: "%LOCALAPPDATA%\Arduino15\..."
    > in : ...\TSet\TSet.cmd2
    > the same one that BREAKS when that folder fails...
  18. Have not seen that reported before. Does the...

    Have not seen that reported before.

    Does the Teensy do a Restart after the 'freeze'? If there is some 8 seconds delay and a restart it may be from a usable gathering of Crash Data.

    Try using...
  19. @KurtE - my computer didn't stop my getting to...

    @KurtE - my computer didn't stop my getting to the post #20 'downloader' (and didn't see an obvious attack) it displayed an HTML that won't attach as a file. Here is a TEXT copy of the content.

    ...
  20. Replies
    36
    Views
    1,392

    Sticky: @KurtE / @mjs513 : using TSET CMDLINE build is...

    @KurtE / @mjs513 : using TSET CMDLINE build is this seen?



    The UnZip install of TD 1.57 was done - and The IDE 2.0 is installed - but cannot run to update?

    Not sure of the relationship of TD...
  21. Replies
    5
    Views
    177

    Thanks @Neal for the DOC link - that is the one...

    Thanks @Neal for the DOC link - that is the one searching on 'AN12253' found on this prior Jan 2021 thread: pjrc.com/threads/65768-Teensy-4-1-CPU-Heat-Limits
  22. With the SAVED HEX file safe in a known location...

    With the SAVED HEX file safe in a known location the Teensy Loader can 'File / Open HEX File' - that was the context of Post #25

    Sorry, did not document the IDE : 'Sketch / Export compiled Binary'...
  23. Replies
    9
    Views
    147

    Thanks for the nice review! Yes, all pin ports...

    Thanks for the nice review! Yes, all pin ports 6,7,8,9 - when 1062 Teensy in FastIO mode - are mapped to one _isr vector.

    Code as posted with CHANGE on PWM was running at freq=100K {200K...
  24. With a saved .HEX file - restart the system. ...

    With a saved .HEX file - restart the system.

    Open Teensy.exe the loader, and use the menu to open the hex file.

    Plug in the Teensy and push the Button.

    Perhaps open Help / Verbose info to...
  25. Using pinMode (or as analog) on pin 7 AFTER...

    Using pinMode (or as analog) on pin 7 AFTER Serial2.begin with repurpose/reconfigure that pin.
  26. Replies
    9
    Views
    147

    No scope here, though tried to get interrupt...

    No scope here, though tried to get interrupt response time, in CPU cycles counts, for fun and show some of the code.
    > like NVIC_SET_PRIORITY(IRQ_GPIO6789, 30);

    Here PWM triggers p#34 wired...
  27. You must be bdlabitt@github ... I posted there...

    You must be bdlabitt@github ... I posted there with reinstall as an option.

    ... bummer the linux version in use upgrade breaking TyCommander ... it will be missed ...
  28. Great that it is running. @Paul's p#5 gave...

    Great that it is running.

    @Paul's p#5 gave some indication about loss of USB. If the code goes awry and trashes memory the USB Stack can get disabled.

    If the code was writing to that array...
  29. Replies
    33
    Views
    758

    There is another older thread where some fewer...

    There is another older thread where some fewer intermittent issues were noted. I got out a new one or two {from early production} and had some odd pins - but they went away swapping across boards so...
  30. Replies
    5
    Views
    102

    Does the computer have Teensy Loader open with a...

    Does the computer have Teensy Loader open with a Teensy LC compatible program built and ready to upload?

    The Button on a Teensy is not Reset or 'boot' - but puts the Teensy into Program mode.
    ...
  31. Replies
    36
    Views
    1,392

    Sticky: Aug 3, 22 : MalwareBytes Support got the...

    Aug 3, 22 : MalwareBytes Support got the teensy_secure.exe program removed from unsafe list.
  32. Odd. If it were a typical crash that CrashReport...

    Odd. If it were a typical crash that CrashReport would handle, the device would go offline 8 seconds and restart.

    Wondering if the WDT was interfering with CrashReport - it does not seem to. With...
  33. @was-ja : sorry just seeing you replied to this....

    @was-ja : sorry just seeing you replied to this.

    Attempting to pinpoint which instruction was causing the fault it was modified as below.
    NOTE: The code below initially tested on a T_4.1 with...
  34. Replies
    5
    Views
    177

    There is a: Serial.printf( "\tdeg C=%u\n" ,...

    There is a: Serial.printf( "\tdeg C=%u\n" , (uint32_t)tempmonGetTemp() );

    That will report the temp measured in the processor, if USB Serial montior is available.

    145F is 63C and that is where...
  35. Will depend on if storage is in RAM1 or RAM2. See...

    Will depend on if storage is in RAM1 or RAM2. See T_4.1 product page if details needed.
    Both at 512KB - But RAM1 is filled with CODE and default program Data - and runs at Processor speed. RAM2...
  36. I started with ZIP install and saw the Auto...

    I started with ZIP install and saw the Auto Update work as well - very cool, except for Update it then runs the MSI Installer leaving the ZIP install orphaned and now running form the Arduino install...
  37. Doesn't look like my desktop will run it yet....

    Doesn't look like my desktop will run it yet. Only activity on issue is: arduino-ide/issues/1236
  38. Replies
    227
    Views
    42,545

    pjrc.com says: "Update, July 30, 2022: We expect...

    pjrc.com says: "Update, July 30, 2022: We expect to have Teensy 4.0 in stock by August 8."

    and: "Update: August 1, 2022: We have only Teensy 4.1 without ethernet right now. Many Teensy 4.1 with...
  39. @PaulStoffregen might make something useful of...

    @PaulStoffregen might make something useful of the Verbose output

    It shows linux in use. Wonder if some OS update recently is breaking Teensy connection?

    Do you have access to another computer?
  40. That looks like a nice program and assembly with...

    That looks like a nice program and assembly with the display!

    Safe to assume since it was soldered to that PCB as pictured it has been programmed some number of times after that?

    When USB is...
  41. Replies
    36
    Views
    1,392

    Sticky: RE #1: Would also be helpful perhaps to show the...

    RE #1: Would also be helpful perhaps to show the link to the active Forum DEV thread for MTP {54 pages!}:
    > pjrc.com/threads/68139-Teensyduino-File-System-Integration-including-MTP-and-MSC

    RE...
  42. Pushing the button would have a different RED LED...

    Pushing the button would have a different RED LED response.

    The 2 Blink suggests it restarted (after power loss?) - and the (external?) power was not suitable in current supply and rise time.
    ...
  43. Note: The T_4.0 does not have a RESET button. ...

    Note: The T_4.0 does not have a RESET button.

    The Button on the T_4.0 puts the Teensy into Program mode.
  44. The diagnostic RED LED flashes are noted on this...

    The diagnostic RED LED flashes are noted on this page: 2 Blinks = NXP JTAG Not Responding

    The note for that is:


    How is the Teensy being powered? Standard USB or external supply?

    Had it...
  45. Bummer - no time to lose chips. Some number...

    Bummer - no time to lose chips.

    Some number have been produced before with PJRC bootloader and they worked?

    Now altered layout and first one assembled not acting right?

    Not a wide audience...
  46. Replies
    6
    Views
    175

    @Paul should give a look then. Indeed, the...

    @Paul should give a look then.

    Indeed, the CARD image shows a wire trace going directly towards VIN - so functionally it replicates the VUSB pad - but would seem to bypass the fuse if installed...
  47. Indeed, you did - and the somewhere in above...

    Indeed, you did - and the somewhere in above "examples" demonstrates setting the RTC ... perhaps not as desired with the one indicated that does refer to DS1307RTC ...

    Indicated forum search - or...
  48. Replies
    6
    Views
    175

    Yeah - PTC ... wasn't sure that was the proper...

    Yeah - PTC ... wasn't sure that was the proper TLA ... so 'soft' fuse ... i.e. not a fuse that 'blows' as noted.

    Correct - looking now - there is a second VUSB 'pad' that replicates the connector...
  49. This example seems to replicate the above code -...

    This example seems to replicate the above code - maybe adding the offset from UTC?
    >> {local install}\hardware\teensy\avr\libraries\Time\examples\TimeGPS\TimeGPS.ino

    But that doesn't appear to...
  50. Replies
    6
    Views
    175

    Not a schematic reader ... but there are two VUSB...

    Not a schematic reader ... but there are two VUSB tags showing. The tag labelled near 'WRONG'/'CORRECT' has no connection except to the Device connector - appears to be labelling the line for...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4