Cart New Account Login

HomeAbout usProductsSupportForumsBlogCustomer Service

search inside this forum
search inside all forums
Issue facing between MK20DX128VLL7 and PE micro Multilink Universal in Kinetis Microcontrollers
Bhavin M. Jul 18, 2016 at 10:47 AM (10:47 hours)
Staff: Takao Y.

  • Hello,
    We are working on custom board having MK20DX128VLL7 controller and PE micro Multilink Universal to download the program and IAR Embedded work bench software for programming.Here we have used SWD protocol for download firmware. i can't download program in MK20DX128VLL7 and IAREW shows me the error.

    Please check below pin connection between MK20DX128VLL7 controller and PE micro Multilink Universal

    MK20DX128VLL7 controller Pin Name PE micro Multilink Universal pin name(port B)

       SWD_DIO    is connected to         SWD_DIO(pin 7)
       SWD_CLK      is connected to         SWD_CLK(pin 9)
       RESET_B      is connected to         RESET_B(pin 15)

    Note:1. we have checked SWD_DIO pin with and without pullup resistor 10K.
    2. Giving external 3.3V power supply to MK20DX128VLL7 controller
    3. We have checked EZP_CS_b with pull up and pull down resistor for normal and EZport mode
    please see the detailed screenshot of error and i also send the IAREW's setting's screenshot.
    Here target detection yellow LED did not turn ON.
    Please help us for above query.

    In IAREW(IAR Embedded Workbench) it shows error which i mentioned below
    1) "Unable to initialize PEDebug"

    2) "Fatal error:Failed to initialize PEMicro interface DLL.Session aborted!"

    Any help in this case, it will be appreciated.

    Thank You


  • Greetings,

    Do you have VDD and GND connected? You must have these connected even if you have external power as these are used for reference voltages for the CLK, IO, and RESET signals. This is why the yellow LED is not lit and most definitely why you cannot communicate to the chip.

    Takao Yamada

    • Hi Takao,

      Thanks for quick response.

      As per your suggestion,we have connected the VDD and GND pin of the PEmicro with the micro controller. So,We are currently getting the yellow LED blink.

      Thanks for kind support.

      But still we are getting same errors while load the programm.

      We are get the below errors while load programm.

      1) "Unable to initialize PEDebug"

      2) "Fatal error:Failed to initialize PEMicro interface DLL.
      Session aborted!"
      3) "Loaded macro file: C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.2\arm\config\flashloader\Freescale\FlashK60Xxxx32K.mac"

      4) "Can not enter background mode."

      Please let us know if you need more information from our side.


    • Hi Takao Y,
      Thank you for your kind support it was a issue of MK20DX128VLL7 controller's VDD and GND that we are not connected to PE micro multilink now works perfectly.

      sorry for late reply.

  • Greetings,

    Is this your first time using the multilink universal? Do you know if the P&E interface is in good condition, before we move on? Do you have other Kinetis boards that does work with this multilink?

    Do you have any kind of watchdog on your board? That may be causing the multiple failures you are seeing.

    Download, install, and run the firmware updater utility and make sure you are using the latest Kinetis drivers for the multilink:

    Takao Yamada

  • Greetings,

    Any update on this? Were you able to resolve this issue?

    Takao Yamada

Add comment

   Want to comment? Please login or create a new PEmicro account.

© 2019 P&E Microcomputer Systems Inc.
Website Terms of Use and Sales Agreement