Forum Rule: Always post complete source code & details to reproduce any issue!
Page 2 of 2 FirstFirst 1 2
Results 26 to 29 of 29

Thread: Teensyduino 1.37 Beta #1

  1. #26
    I'm getting random freezing in my code while playing wav files from sd cards with this beta. (I did not get them with before.)
    My code is available here: https://github.com/profezzorn/TeensySaber
    I'm running on a Teensy 3.2 with a teensysaber board, but a prop shield + sd adapter will work too.

  2. #27
    I have narrowed down the freezing problem to the SPI library.
    If I replace the new SPI code with the old SPI code, the freezing problem goes away.
    Also, when the freezing occurs, the SD card is locked up (SD.begin() fails) until I cycle the power.

  3. #28
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    6,764
    Quote Originally Posted by hubbe View Post
    I have narrowed down the freezing problem to the SPI library.
    If I replace the new SPI code with the old SPI code, the freezing problem goes away.
    Also, when the freezing occurs, the SD card is locked up (SD.begin() fails) until I cycle the power.
    Did you look at Teensyduino-1-37-Beta-2-(Arduino-1-8-3-support) ?

    Some SPI changes went in - a WIP that may need attention. May be updated with Beta_3 in coming day(s) - when it does - if you can put up a demo sketch that fails it will be important to get it diagnosed.

  4. #29
    Administrator Paul's Avatar
    Join Date
    Oct 2012
    Posts
    305
    1.37-beta3 is available. Closing this thread. Please comment on 1.37-beta3.

    https://forum.pjrc.com/threads/44904...no-1-37-Beta-3

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •