XRDC with LinFlex0 initial fail

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

XRDC with LinFlex0 initial fail

跳至解决方案
3,018 次查看
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

标记 (2)
0 项奖励
回复
1 解答
2,865 次查看
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.

 

在原帖中查看解决方案

7 回复数
2,912 次查看
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 项奖励
回复
2,905 次查看
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,001 次查看
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 项奖励
回复
2,950 次查看
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.

标记 (1)
0 项奖励
回复
2,866 次查看
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,851 次查看
LanceYu
Contributor II

Hi,

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

0 项奖励
回复
2,930 次查看
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 项奖励
回复