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

Thread: T3.2: How do I program compiled code onto the MK20DX256VLH7 using a U-MULTILINK-FX ?

  1. #1
    Junior Member
    Join Date
    May 2021
    Posts
    9

    T3.2: How do I program compiled code onto the MK20DX256VLH7 using a U-MULTILINK-FX ?

    Hello,

    I am currently using a Teensy 3.2 board, which consists of a MK20DX256VLH7 as its main MCU. I am compiling the code for it using Arduino IDE, and uploading code to it via Arduino IDE (USB).

    Now I have made a new breakout board, whereby I have have removed the USB connector (and the accompanying USB communication chip - the MKL) and exposed the JTAG pins. Then I want to take the elf/hex files that have been compiled using the Arduino IDE, and then upload them to to the MK20DX256VLH7 using JTAG pins and the U-MULTILINK-FX programmer. So, how do I do this?

    I have tried using MCUXpresso, but I find it very difficult to work with this. I'm getting lost in the all wizards and menus and buttons and settings.

    I know this is not really a Teensy question but any help would nonetheless be much appreciated!

    Many thanks!

  2. #2
    This may do what you need but it is $199. https://www.pemicro.com/products/pro...8&productTab=1
    Only other thing I could find is this article. https://mcuoneclipse.com/2017/05/06/...bedded-target/

    Is this for a personal project? It might be worth buying a Segger J-Link EDU or BASE. I have used a J-Link to upload code and debug a modified Teensy 4.1 using Segger's tools such as J-Flash Lite. PlatformIO or VisualTeensy will allow you to use Segger's tools to upload and debug in VSCode. It may take some configuring and troubleshooting to get it going but this is the route I took.

  3. #3
    Senior Member
    Join Date
    May 2015
    Location
    USA
    Posts
    1,074
    Another option is retain full teensy system compatibility by building a small MKL02 board and temporarily connecting it to your board (using SWD).

  4. #4
    Junior Member
    Join Date
    May 2021
    Posts
    9
    Great thanks! I will give it a try and see how it goes

  5. #5
    Junior Member
    Join Date
    May 2021
    Posts
    9
    I ended up using Kinetis Design Studio succesfully. See this link for explanation. Thanks for your help

    https://community.nxp.com/t5/Kinetis...1275565#M60506

Posting Permissions

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