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

Thread: 2 questions about teensy 4.0/4.1

  1. #1
    Junior Member
    Join Date
    Jun 2020
    Posts
    5

    2 questions about teensy 4.0/4.1

    1) What are the dimensions, in particular can they be inserted in a breadboard/veroboard (is there a link to the schematics)?

    2) Can mcuXpresso be used to download code onto the devices (have been using i.MX RT EVK's, my project is written in C/assembly)?

  2. #2
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    11,961
    Dimensions of the T_4.0 should match the T_3.2 shown here : https://pjrc.com/teensy/dimensions.html
    > That page doesn't include the T_4.1 or T_3.6 which add 10 pins - so should be one inch longer and still breadboard friendly
    > all edge pins are 0.10" for common spacing: 14 pins x 7 pins or 24 pins by 7 pins for the extended boards

    All Teensy schematics are here : pjrc.com/teensy/schematic.html

    Other ref info like manuals there also.

  3. #3
    Junior Member
    Join Date
    Jun 2020
    Posts
    5
    Thanks, I'll take it that the answer to question 2 is "no, you can't download code to Teensy using MCUXpresso".

  4. #4
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    22,279
    Teensy Loader can open a .hex file and program it onto Teensy. There's a stand-alone version here:

    https://www.pjrc.com/teensy/loader.html

    So at least in theory, you could use any software capable of producing output in .hex format and open that file with Teensy Loader to program it onto Teensy 4.0.

    In practice, there are a huge number of small details to get right for the binary data within the .hex file to actually run correctly. We don't support MCUXpresso, so realistically the sort of answer you can expect here is something along the lines of "did you try it with Arduino" or "here's a .hex file which Arduino created - does it work?"

    If your goal is to use MCUXpresso, honestly you'll probably be much happier using one of NXP's eval boards.

  5. #5
    Junior Member
    Join Date
    Jun 2020
    Posts
    5
    O.K. thanks.

    BTW great work!!

  6. #6
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    11,961
    Quote Originally Posted by F-73P View Post
    Thanks, I'll take it that the answer to question 2 is "no, you can't download code to Teensy using MCUXpresso".
    Opps - after so much web clicking to check for answer to #1 seems it was forgotten as I rushed off to make a note on the web updates thread.

    - Paul gave of course a better version of the intended answer.

    ... Except the NXP Eval board wouldn't be BBoard or VeroBoard friendly

  7. #7
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    22,279
    Quote Originally Posted by defragster View Post
    ... Except the NXP Eval board wouldn't be BBoard or VeroBoard friendly
    NXP has their own customer support forum. I believe it could be called "friendly", but you won't get the same sorts of candid answers there as you can here.

  8. #8
    Junior Member
    Join Date
    Jun 2020
    Posts
    5
    Quote Originally Posted by defragster View Post
    Opps - after so much web clicking to check for answer to #1 seems it was forgotten as I rushed off to make a note on the web updates thread
    No probs, I do it all the time

    Quote Originally Posted by defragster View Post
    ... Except the NXP Eval board wouldn't be BBoard or VeroBoard friendly
    Yes that's a big downside to these boards (I've used a lot). I need assembly since I'm writing optimised arbitrary-precision rational and floating-point arithmetic routines.

  9. #9
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    11,961
    Paul - that was "breadboard/veroboard" not ref to other less than Teensy BulletinBoard forums.

    F-73P : assembler works with Teensy toolchain - though you have lots of history with prior tools - probably including debugger - would not be as productive to start. There is now a usable GDB cmdline interface ...

  10. #10
    You can use MCUXpresso to develop code for Teensy 4.x, you just have to create a hex file from the .axf file. Just right click on the .axf file and select Binary Utilities and then Create hex. The hex files are compatable with the Teensy 4.x loader. Just be aware the MCUXpresso uses entirely different startup code and linker files, and applications built with it run out of flash by default, not ram like Teensy. Many of the MCUXpresso examples for the MIMXRT1060 EVK board work with Teensy 4.x, but some require tweeking. The MIMXRT1060 EVK board uses the IMXRT1060 MCU same as Teensy 4.x, but with a different package, however as far as I can tell the pinouts are the same for both parts. The MIMXRT1060 EVK is a MUCH different board than Teensy 4.x, so for many of the MCUXpresso demos the hardware is different, so you have to adjust for Teensy using the MCUXpresso Config tools. I use the MIMXRT1060 EVK board and the MCUXpreso with its nice debugger then port the code to Teensy. It's a nice IDE but as mentioned getting help from NXP community forum is sometimes difficult and some of the NXP documentation is good but some of it isn't and a lot of it is hard to find. The PJRC forum is many times better!
    John

  11. #11
    Junior Member
    Join Date
    Jun 2020
    Posts
    5
    Thanks, that's good to know. I think I'll add a spot for the Teensy 4.1 on my board:

    Click image for larger version. 

Name:	50063029253_e4b510632a_z.jpg 
Views:	11 
Size:	101.8 KB 
ID:	20815

    I've been using the i.MX RT1010 and will probably order the 1060 soon.

Posting Permissions

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