Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 9 of 9

Thread: Uploading the scketch file on sdcard to Teensy3.6

  1. #1
    Junior Member
    Join Date
    Sep 2020
    Posts
    4

    Uploading the scketch file on sdcard to Teensy3.6

    Hello, there.
    I'd like to upload the scketch file on MINI SD card to teensy3.6.
    If anyone have experience in this, please help me.
    Thank you.

  2. #2
    Senior Member
    Join Date
    Nov 2015
    Location
    Cold hollow VT
    Posts
    169
    Not much info given here. You must load your sketch into the Arduino environment (with Teensy 3.6 support selected) Compile it and load it onto the target device to your Teensy 3.6

    I see you are a first timer. Please let us know if you installed the Arduino environment and the additional Teensy support files from PJRC.

  3. #3
    Junior Member
    Join Date
    Sep 2020
    Posts
    4
    Quote Originally Posted by grease_lighting View Post
    Not much info given here. You must load your sketch into the Arduino environment (with Teensy 3.6 support selected) Compile it and load it onto the target device to your Teensy 3.6

    I see you are a first timer. Please let us know if you installed the Arduino environment and the additional Teensy support files from PJRC.
    Thanks for your reply.
    I have developed a product with Teensy3.6 by using Arduino. I know about this well.
    What I want is that I will provide sdcard with new version scketch to users, so they can update the scketch of product only by using sdcard.
    I will wait your review.
    Thank you.

  4. #4
    Senior Member
    Join Date
    Nov 2015
    Location
    Cold hollow VT
    Posts
    169
    If your 'new version' is Aruino code *.ino then it must be assembled/compiled & loaded by the environment.

    If your code is a hex file then the Teensy loader can handle it. Currently there is no way possible, that I know of, to directly read a hex file into a Teensy, by a Teensy to program itself.

  5. #5
    Junior Member
    Join Date
    Sep 2020
    Posts
    4
    Yes, my new version is Arduino code *.ino file.
    I read this url : https://forum.pjrc.com/threads/29772...loader+uTasker
    Can't I develop the code like this?
    If so, please let me know in more detail.
    Thanks.

  6. #6
    Senior Member
    Join Date
    Nov 2015
    Location
    Cold hollow VT
    Posts
    169
    Maybe you can develop code to self load a Teensy. You could be a hero in this forum for doing so. I just don't have the time or need to do it. You should investigate the links in the other post to find out more.

  7. #7
    Quote Originally Posted by SenDev View Post
    Yes, my new version is Arduino code *.ino file.
    I read this url : https://forum.pjrc.com/threads/29772...loader+uTasker
    Can't I develop the code like this?
    If so, please let me know in more detail.
    Thanks.
    Hello SenDev,

    I can confirm that this is in principle possible on T3/4. It took me just a few weeks using the information in this forum to implement a Teensy 3/4 firmware upgrade possibility over CAN into my application from scratch. Search e.g. for OTA, you'll find for instance https://forum.pjrc.com/threads/29607...he-air-updates or https://forum.pjrc.com/threads/43165...sy-3-5-amp-3-6.

    Kind regards,
    Sebastian

  8. #8
    Junior Member
    Join Date
    Sep 2020
    Posts
    4
    Quote Originally Posted by wangnick View Post
    Hello SenDev,

    I can confirm that this is in principle possible on T3/4. It took me just a few weeks using the information in this forum to implement a Teensy 3/4 firmware upgrade possibility over CAN into my application from scratch. Search e.g. for OTA, you'll find for instance https://forum.pjrc.com/threads/29607...he-air-updates or https://forum.pjrc.com/threads/43165...sy-3-5-amp-3-6.

    Kind regards,
    Sebastian
    Hello, Mr.Sebastian.
    Thanks for your reply.
    So you have implemented the OTA function using CAN.
    If so, would you give any advice about this or share the code with me?

    Best regards,
    SenDev.

  9. #9
    Hello SenDev,

    did you read the forum articles on OTA already, and did you find the Flasher example code?

    Kind regards,
    Sebastian

Posting Permissions

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