XRDC with LinFlex0 initial fail

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

XRDC with LinFlex0 initial fail

Jump to solution
3,025 Views
LanceYu
Contributor II

Hi,

I use M7_0 XRDC example and adding a slot is "XRDC_LINFLEX0" in peripheral configure list.

If running the code, xrdc_Ip_Init() with debug probe will get "core disabled", then get stuck.

How to use LinFlex0 in XRDC? Is that can't add single in peripheral list?

Enviroment:
  HW: S32G399
  RTD: 4.0.1
  S32DS3.5

Domain master:
  M7_0 AXI / M7_0_AHB/ Debug_trace

Peripheral List:
  XRDC_SELF_TEST
  XRDC_LinFlex_0

Thanks.

#s32g

Tags (2)
0 Kudos
Reply
1 Solution
2,872 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Thanks for your patience.

We have received information which confirms our suspicions over BootROM being the problem. If you need to use LINFlex0 instance, you need to also add "HSE" into the "Master Assignment" as shown below:

DanielAguirre_0-1689282137048.png

 

After this, you should be able to continue the execution of the application. We have confirmed from our side that after stepping from Xrdc_init() we can continue debugging the application.

Please, let us know.

 

View solution in original post

7 Replies
2,919 Views
LanceYu
Contributor II

Hi,

Thanks for your introduce platform, we use RDB3 =S32G3.

Let us focus on XRDC_LINFLEX_0 issue,
we add it into XRDC peripheral configure list from RTD example "Xrdc_Ip_Example_S32G399A_M7"
Xrdc_Ip_Init() will get stuck.

If remove XRDC_LINFLEX_0 from peripheral configure list, the Xrdc_Ip_Init() would be pass.

We would like to add xrdc_LinFlex0 in peripheral configure list,
How to let xrdc_ip_init() pass?

thank you.

0 Kudos
Reply
2,912 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

We seem to be able to reproduce the behavior you are seeing. We can enable LINFlex1 no problem, but we are getting stuck once we try to use LINFlex0.

This could be linked to BootROM using LINFlex0 interface, since using it without XRDC provides some debugging issues related to a limitation on the same HW.

We will verify how the merge needs to be done, if any.

Please, let us know.

3,008 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Are you using any NXP provided platforms? Or is this a custom board?

Are you using the XRDC example provided inside the RTD?

Please, let us know.

0 Kudos
Reply
2,957 Views
LanceYu
Contributor II

1. If the platform is RDB2, RDB3 or customize, Is that effect the result different? 

2. Yes, XRDC example from RTD. but a little modify, that's the question

XRDC example:
  Peripheral configure:
    XRDC_SELF_TEST

Mine question:
  Peripheral configure:
    XRDC_SELF_TEST
    XRDC_LINFLEX_0       // add here

The others are the same as example, build pass and test by debug probe fail.

Tags (1)
0 Kudos
Reply
2,873 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Thanks for your patience.

We have received information which confirms our suspicions over BootROM being the problem. If you need to use LINFlex0 instance, you need to also add "HSE" into the "Master Assignment" as shown below:

DanielAguirre_0-1689282137048.png

 

After this, you should be able to continue the execution of the application. We have confirmed from our side that after stepping from Xrdc_init() we can continue debugging the application.

Please, let us know.

 

2,858 Views
LanceYu
Contributor II

Hi,

Thanks for your support, it is successful xrdc_init() by your suggestion.

0 Kudos
Reply
2,937 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Thanks for your feedback.

As for RDB2 and RDB3, it could be different since each platform has a different chip in them (RDB2->S32G2, RDB3->S32G3). As for the reason, to understand if we could replicate or not your setup or the limitations we could encounter.

Let us continue looking into how the modifications need to be done and if it is feasible under the current example/setup.

Please, let us know.

0 Kudos
Reply