[SOLVED] Support of NXP's i.MX7

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] Support of NXP's i.MX7

    Hello,

    I am an embedded software engineer working at Alcineo. We are happy users of several J-Link products (J-Link and J-Link LITE).

    We are working on a project based on NXP's i.MX7 (MCIMX7D). Our code targets the Cortex-M4 core within it.
    We would like to debug our code with our J-Link devices, since they integrate very well with the Eclipse IDE and GDB. However the i.MX7 does not seem to be supported yet. We are using the latest J-Link software release (version 6.0.7).

    Could you tell us if the i.MX7 will be supported ? If yes, do you know when it is planned ?

    Thanks and best regards,
    Pierre
  • Hi Pierre,


    A new version of the J-Link software & documentation pack that comes with support for i.MX7 series devices is planned for release until the end of this month.

    Would you like to be added to the J-Link software update notification list, so you get informed automatically when the new version becomes available?
    In case you want to subscribe to it yourself: segger.com/notification/subscribe.php?prodid=7,94

    Best regards,
    Niklas
    Would you like to be added to the J-Link software update notification list, so you get informed automatically when a new version becomes available?
    Just write me a PM or in case you want to subscribe to it yourself, please use this link: Link
    Notification for J-Link, J-Link Debugger, SystemView & J-Scope: Link
    Notification for Embedded Studio: Link
  • Hi Marian,

    Unfortunately, there has been some delay, and the responsible engineer is currently out of the office for a week.
    Currently scheduled date for release is in two weeks.

    Best regards,
    Niklas
    Would you like to be added to the J-Link software update notification list, so you get informed automatically when a new version becomes available?
    Just write me a PM or in case you want to subscribe to it yourself, please use this link: Link
    Notification for J-Link, J-Link Debugger, SystemView & J-Scope: Link
    Notification for Embedded Studio: Link
  • Hi Jens,


    basic support for the i.MX7 is already available within the J-Link software.
    Connection to a core can be achieved by selecting the respective core architecture ("Cortex-A7" / "Cortex-M7") and passing a J-Link script file in order to specify JTAG-chain position and AHB to use.
    The i.MX6 SABRE script file can be used as a template:
    wiki.segger.com/I.MX6_SoloX_Support

    C Source Code

    1. /*********************************************************************
    2. * SEGGER MICROCONTROLLER GmbH & Co. K.G. *
    3. * Solutions for real time microcontroller applications *
    4. **********************************************************************
    5. * *
    6. * (c) 2011-2015 SEGGER Microcontroller GmbH & Co. KG *
    7. * *
    8. * Internet: www.segger.com Support: support@segger.com *
    9. * *
    10. **********************************************************************
    11. ----------------------------------------------------------------------
    12. Purpose :
    13. ---------------------------END-OF-HEADER------------------------------
    14. */
    15. /*********************************************************************
    16. *
    17. * ResetTarget
    18. */
    19. void ResetTarget(void) {
    20. // In case cores 1-3 are reset, we do nothing,
    21. // as we would lose connection to these cores, when resetting the device
    22. // as a reset disables the clock to them.
    23. }
    24. /*********************************************************************
    25. *
    26. * InitTarget
    27. */
    28. void InitTarget(void) {
    29. int WordAcc;
    30. int v;
    31. Report("******************************************************");
    32. Report("J-Link script: iMX6 SoloX Cortex-M4 core J-Link script");
    33. Report("******************************************************");
    34. JLINK_CORESIGHT_Configure("IRPre=0;DRPre=0;IRPost=13;DRPost=3;IRLenDevice=4");
    35. CPU = CORTEX_M4; // Pre-select that we have a Cortex-M4 connected
    36. JTAG_AllowTAPReset = 1; // J-Link is allowed to use a TAP reset for JTAG-chain auto-detection
    37. CORESIGHT_AddAP(0, CORESIGHT_AHB_AP);
    38. CORESIGHT_AddAP(1, CORESIGHT_APB_AP);
    39. CORESIGHT_IndexAHBAPToUse = 0;
    40. JTAG_SetDeviceId(0, 0x4BA00477); // 4-bits IRLen
    41. JTAG_SetDeviceId(1, 0x4BA00477); // 4-bits IRLen
    42. JTAG_SetDeviceId(2, 0x00000001); // 5-bits IRLen
    43. JTAG_SetDeviceId(3, 0x0891C01D); // 4-bits IRLen
    44. }
    Display All


    Full support for the i.MX7 is already on our ToDo, but will not be released before the end of November, as it will include a rework on how the J-Link software handles multi-core targets.

    Best regards,
    Niklas
    Would you like to be added to the J-Link software update notification list, so you get informed automatically when a new version becomes available?
    Just write me a PM or in case you want to subscribe to it yourself, please use this link: Link
    Notification for J-Link, J-Link Debugger, SystemView & J-Scope: Link
    Notification for Embedded Studio: Link
  • I have been following the forum thread on the using J-Link to to connect to the M4 in this dual chip package.
    As of yet I have been unsuccessful in using J-Link to connect to this MPU, (we are using the IMX7 Sabre board).

    In this thread you indicated that there would be an update at the end of November to support this hardware.
    Its the end of November, can I get an update on this update?

    Thanks