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

Search:

Type: Posts; User: kam42

Search: Search took 0.00 seconds.

  1. Replies
    39
    Views
    32,957

    It's all there, the loop is empty since code...

    It's all there, the loop is empty since code should never get there. The definition of WRITE_RESTART is defined before setup(), #define WRITE_RESTART(val) ((*(volatile uint32_t *)RESTART_ADDR) =...
  2. Replies
    39
    Views
    32,957

    Nifty little trick I learned here on the forum to...

    Nifty little trick I learned here on the forum to easily blink a light. From my experience with it, seems it is possible to call digitalRead on an output.

    Data downloaded via software serial over...
  3. Replies
    39
    Views
    32,957

    Hi Paul, I had some time to work with your...

    Hi Paul,

    I had some time to work with your above points, and have successfully rebooted both my custom boards and normal Teensy 3.0 boards using the below code. Required writing to the...
  4. Replies
    39
    Views
    32,957

    Good point about the M0, that would be fantastic....

    Good point about the M0, that would be fantastic.

    Correct with respect to fault tolerance - these boards aren't going into anything related to functional safety. Pure data acquisition and logging...
  5. Replies
    39
    Views
    32,957

    Paul, Thanks for the reply, I'll look into the...

    Paul,

    Thanks for the reply, I'll look into the documentation you kindly provided and report back. Fortunately, I would be calling the software reset after the USB is disconnected so I don't think...
  6. Replies
    39
    Views
    32,957

    I love the watchdog timer chip - that would be...

    I love the watchdog timer chip - that would be more robust than a purely programmatic reboot request.

    I saw in the MK20 documentation that it has an internal watchdog timer, I will have to look...
  7. Replies
    39
    Views
    32,957

    Apologies, example code: Don't leave it...

    Apologies, example code:

    Don't leave it running, it results in a reprogram loop every 5 seconds.

    Replacing _reboot_Teensyduino_(); with _restart_Teensyduino_() results in an error.

    void...
  8. Replies
    39
    Views
    32,957

    _reboot_Teensyduino() vs. _restart_Teensyduino()

    Hello all!

    Question based on previous question located here: http://forum.pjrc.com/threads/23776-Teensy2-0-Software-Reset

    Does the _restart_Teensyduino_() method exist for the Teensy3? I see it...
Results 1 to 8 of 8