Wednesday, May 23rd 2018, 10:51am UTC+2

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

pbaudemont

Beginner

Date of registration: Sep 5th 2016

Posts: 2

Location: France, La Ciotat

Occupation: Embedded software engineer

1

Tuesday, September 6th 2016, 4:59pm

[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

SEGGER - Niklas

Super Moderator

Date of registration: Oct 6th 2014

Posts: 1,691

2

Thursday, September 8th 2016, 5:24pm

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: https://www.segger.com/notification/subs…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

pbaudemont

Beginner

Date of registration: Sep 5th 2016

Posts: 2

Location: France, La Ciotat

Occupation: Embedded software engineer

3

Monday, September 12th 2016, 3:47pm

Hi Niklas,

Thank you very much for your reply ! I have subscribed to the notification list, thank you for the link. I'm glad the hear the i.MX7 will be supported very soon :-)
I'm looking forward to using our J-Link devices with the i.MX7 !

Thanks and best regards,
Pierre

marian

Beginner

Date of registration: Aug 5th 2016

Posts: 1

4

Wednesday, October 5th 2016, 4:47pm

Hello,

I've tried the 6.10c version (released on 28.9.2016) and it doesn't seem to support iMX7.
Do you have any update on this topic ?

Best regards,
Marian

SEGGER - Niklas

Super Moderator

Date of registration: Oct 6th 2014

Posts: 1,691

5

Wednesday, October 5th 2016, 5:57pm

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

alsig

Beginner

Date of registration: Oct 25th 2016

Posts: 1

6

Tuesday, October 25th 2016, 12:04pm

Hi Niklas


Could you give an update on the release with iMX7 support?


Thanks,


/Jens

SEGGER - Niklas

Super Moderator

Date of registration: Oct 6th 2014

Posts: 1,691

7

Tuesday, October 25th 2016, 12:25pm

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:
https://wiki.segger.com/I.MX6_SoloX_Support

C/C++ Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/*********************************************************************
*              SEGGER MICROCONTROLLER GmbH & Co. K.G.                *
*        Solutions for real time microcontroller applications        *
**********************************************************************
*                                                                    *
*        (c) 2011-2015 SEGGER Microcontroller GmbH & Co. KG          *
*                                                                    *
* Internet: www.segger.com Support: support@segger.com               *
*                                                                    *
**********************************************************************
----------------------------------------------------------------------
Purpose : 
---------------------------END-OF-HEADER------------------------------
*/

/*********************************************************************
*
*       ResetTarget
*/
void ResetTarget(void) {
  // In case cores 1-3 are reset, we do nothing, 
  //  as we would lose connection to these cores, when resetting the device
  //  as a reset disables the clock to them.
}

/*********************************************************************
*
*       InitTarget
*/
void InitTarget(void) {
  int WordAcc;
  int v;

  Report("******************************************************");
  Report("J-Link script: iMX6 SoloX Cortex-M4 core J-Link script");
  Report("******************************************************");
  JLINK_CORESIGHT_Configure("IRPre=0;DRPre=0;IRPost=13;DRPost=3;IRLenDevice=4");
  CPU = CORTEX_M4;                                                              // Pre-select that we have a Cortex-M4 connected
  JTAG_AllowTAPReset = 1;                                                       // J-Link is allowed to use a TAP reset for JTAG-chain auto-detection
  CORESIGHT_AddAP(0, CORESIGHT_AHB_AP);
  CORESIGHT_AddAP(1, CORESIGHT_APB_AP);
  CORESIGHT_IndexAHBAPToUse = 0;
  JTAG_SetDeviceId(0, 0x4BA00477);  // 4-bits IRLen
  JTAG_SetDeviceId(1, 0x4BA00477);  // 4-bits IRLen
  JTAG_SetDeviceId(2, 0x00000001);  // 5-bits IRLen
  JTAG_SetDeviceId(3, 0x0891C01D);  // 4-bits IRLen
}


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

jhaughey

Beginner

Date of registration: Nov 28th 2016

Posts: 1

8

Thursday, December 1st 2016, 5:02pm

Update?

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

Trident

Beginner

Date of registration: Nov 9th 2016

Posts: 1

9

Wednesday, December 21st 2016, 9:56am

Update? X 2

We are also trying to use the J-Link with the iMX7 and did not find the reference to the iMX6 SoloX very helpful.

If there is an update in the work, we would like to have a date when it will be available so we can make a decision of what do.

Thanks

SEGGER - Erik

Super Moderator

Date of registration: Dec 20th 2011

Posts: 400

10

Tuesday, January 17th 2017, 11:27am

We have just created the wiki-article for the iMX7d.
It includes the J-Link script files to connect to both A7 cores as well as the script which allows to connect to the M4 core.
Further information regarding this can be found here: https://wiki.segger.com/IMX7D


Best regards
Erik

Similar threads