S32 debugger: GTA debug server breakpoint error

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

S32 debugger: GTA debug server breakpoint error

500 Views
oliver777777
Contributor II
ccs_config_template                         
                                            
        coreh = [serverh:0;cc_index:0;chain_pos:0]                                       
                                                                                         
        config_reg = 4100                                                                
                                            
        config_data = 1                                                                  
                                            
        ccs_config_template; ccs_error = 5
                                                                                         
        Error message: Core not responding
                                         

 

I'm debugging a M33 core within the S32S250 ctx in GTA server. When I set a breakpoint on the FlexCan_Ip_Send function in nxp drivers, it responds with this and the core hard faults. From what I'm able to decipher, it seems when I do "continue" , the MPU is turned off, the instruction is restored, and then it performs these config_template writes. If I do a breakpoint on any other function it works. 

 

My main question here is where can I find what config_reg = 4100 actually corresponds to and more generally, where can I find the ccs_config_template mappings. I'm working on the smu core on the S32Z280. 

 

Thanks,

Oliver

 

 

 

0 Kudos
Reply
3 Replies

477 Views
alejandro_e
NXP TechSupport
NXP TechSupport

Hello @oliver777777,

Thanks for reaching out to us. Please share the following details to offer you better support:

  • You mentioned both the S32S and S32Z, which one are you using?
  • Which debug tool are you using? For example S32 Debug probe or lauterbach
  • Does this issue appear every time? this is, with all programs you have tried to debug, or is it just with one in particular?
  • Have you debug simple programs in the past, like a Dio blinlking example?
  • Are you using developing using a bare-metal configuration, Real time drivers (RTD) or a RTOS?
  • Please describe in detail which steps you follow yo reproduce the issue

 

Thanks in advance

0 Kudos
Reply

474 Views
oliver777777
Contributor II
1. I'm using the S32Z. But it seems like design studio 3.6 tools uses the S32S2 context. This can be seen when I do monitor core-mode and it shows the S32S250 context.
2. S32 Debug probe
3. This issue appears only when I put breakpoints on the FlexCan_IP_Send.
4. Yes, debugging other simple programs work
5. I'm using RTOS with RTD drivers
6. Set breakpoint on FlexCan_Ip_Send and continue. The 2nd break point faults on SMU core of S32Z280.

That being said, our system is quite complex so it might be difficult to reproduce. Would it be possible for you to direct me to what config_regs = 4100, ccs_error = 5, and what config_template does more generally and I should be able to debug it myself from there.

Thanks for the support,
Oliver
0 Kudos
Reply

472 Views
alejandro_e
NXP TechSupport
NXP TechSupport

Hello @oliver777777,

I was not able to find any relevant document describing the logs you shared. I was only able to find some references in the xml files in C:\NXP\S32DS.3.6.2\S32DS\tools\S32Debugger\Debugger\Server\Config\SoCs\gta\registers (the actual path may vary depending on your installation), some other documentation that you might find relevant is S32ZE_Debugger_User_Guide.pdf and S32ZE_Development_Package_User_Guide.pdf, in C:\NXP\S32DS.3.6.2\S32DS\help\pdf.

I will contact the internal team regarding this topic, they might be able to help us. Please share with me where exactly in FlexCan_Ip_Send are you placing the breakpoints? This might help the internal team to find the root cause of the problem.

Also, if possible, please test the same breakpoints in the FlexCAN_Ip_Example_S32Z2XX_SMU sample program, this is to detect if the problem is only present in your setup or if it appears also with any FlexCAN program.

 

Thanks in advance

0 Kudos
Reply