Integrate IPCF and VR5510 Watchdog functionality

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

Integrate IPCF and VR5510 Watchdog functionality

509 Views
honeybee1881
Contributor II

Hi Team,

I am currently working with the RDB3 board and utilizing the example projects provided in S32 Design Studio.

My goal is to integrate IPCF functionality along with the external watchdog feature—specifically, to send a reset signal from the A core to the M core using IPCF as the communication medium. As I am relatively new to this topic, I started by integrating the IPCF_Example_S32G399A_M7_0 project into the Wdg_VR5510_HLD_Example_S32G399A_M7. I have adapted the source code and configurations accordingly to successfully build the project.

I generated the .bin file for the M core and compiled the IPCF source code from the ipc-shm examples for the A core.

For executing the examples, I am using the S32G boot image from NXP with BSP version 40. The M core .bin file is being transferred via U-Boot as described in the IPCF_Example_S32G399A_M7_0 instructions.

Issue: Upon booting the OS, the boot process appears to get stuck after displaying the following log:

 

a core log stopping at 
  0.632631] 401cc000.serial: ttyLF1 at MMIO 0x401cc000 (irq = 47, base_baud = 7812500) is a FSL_LINFLEX
[    0.642399] 402bc000.serial: ttyLF2 at MMIO 0x402bc000 (irq = 68, base_baud = 7812500) is a FSL_LINFLEX
[    0.653367] s32cc_fccu 4030c000.fccu: FCCU status is 0 (normal)
[    0.661337] sja1110-sw@1 enforce active low on chipselect handle

 

Could help me to check where its going wrong?

S32G3 S32G-VNP-RDB3 IPCF VR5510 

0 Kudos
Reply
1 Reply

459 Views
chenyin_h
NXP Employee
NXP Employee

Hello, @honeybee1881 

Thanks for your post.

For such kind of issues, it is highly related with the resource conflict issues between M and A part, like memory address, clock, pin, etc.

I suggest firstly checking the resources used on M core side first and then to check if they are also used/initialized on A core part.

 

BR

Chenyin

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2250946%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EIntegrate%20IPCF%20and%20VR5510%20Watchdog%20functionality%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2250946%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Team%2C%3C%2FP%3E%3CP%3EI%20am%20currently%20working%20with%20the%20RDB3%20board%20and%20utilizing%20the%20example%20projects%20provided%20in%20S32%20Design%20Studio.%3C%2FP%3E%3CP%3EMy%20goal%20is%20to%20integrate%20IPCF%20functionality%20along%20with%20the%20external%20watchdog%20feature%E2%80%94specifically%2C%20to%20send%20a%20reset%20signal%20from%20the%20A%20core%20to%20the%20M%20core%20using%20IPCF%20as%20the%20communication%20medium.%20As%20I%20am%20relatively%20new%20to%20this%20topic%2C%20I%20started%20by%20integrating%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3EIPCF_Example_S32G399A_M7_0%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eproject%20into%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3EWdg_VR5510_HLD_Example_S32G399A_M7.%20I%20have%20adapted%20the%20source%20code%20and%20configurations%20accordingly%20to%20successfully%20build%20the%20project.%3C%2FP%3E%3CP%3EI%20generated%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E.bin%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Efile%20for%20the%20M%20core%20and%20compiled%20the%20IPCF%20source%20code%20from%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eipc-shm%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eexamples%20for%20the%20A%20core.%3C%2FP%3E%3CP%3EFor%20executing%20the%20examples%2C%20I%20am%20using%20the%20S32G%20boot%20image%20from%20NXP%20with%20BSP%20version%2040.%20The%20M%20core%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E.bin%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Efile%20is%20being%20transferred%20via%20U-Boot%20as%20described%20in%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3EIPCF_Example_S32G399A_M7_0%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Einstructions.%3C%2FP%3E%3CP%3E%3CSTRONG%3EIssue%3A%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3EUpon%20booting%20the%20OS%2C%20the%20boot%20process%20appears%20to%20get%20stuck%20after%20displaying%20the%20following%20log%3A%3C%2FP%3E%3CBR%20%2F%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3Ea%20core%20log%20stopping%20at%20%0A%20%200.632631%5D%20401cc000.serial%3A%20ttyLF1%20at%20MMIO%200x401cc000%20(irq%20%3D%2047%2C%20base_baud%20%3D%207812500)%20is%20a%20FSL_LINFLEX%0A%5B%20%20%20%200.642399%5D%20402bc000.serial%3A%20ttyLF2%20at%20MMIO%200x402bc000%20(irq%20%3D%2068%2C%20base_baud%20%3D%207812500)%20is%20a%20FSL_LINFLEX%0A%5B%20%20%20%200.653367%5D%20s32cc_fccu%204030c000.fccu%3A%20FCCU%20status%20is%200%20(normal)%0A%5B%20%20%20%200.661337%5D%20sja1110-sw%401%20enforce%20active%20low%20on%20chipselect%20handle%3C%2FCODE%3E%3C%2FPRE%3E%3CBR%20%2F%3E%3CP%3ECould%20help%20me%20to%20check%20where%20its%20going%20wrong%3F%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fc-pwmxy87654%2FS32G3%2Fpd-p%2FS32G3%22%20class%3D%22lia-product-mention%22%20data-product%3D%221686-1%22%20target%3D%22_blank%22%3ES32G3%3C%2FA%3E%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fc-pwmxy87654%2FS32G-VNP-RDB3%2Fpd-p%2FS32G-VNP-RDB3%22%20class%3D%22lia-product-mention%22%20data-product%3D%222478-1%22%20target%3D%22_blank%22%3ES32G-VNP-RDB3%3C%2FA%3E%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fc-pwmxy87654%2FIPCF%2Fpd-p%2FIPCF%22%20class%3D%22lia-product-mention%22%20data-product%3D%222265-1%22%20target%3D%22_blank%22%3EIPCF%3C%2FA%3E%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fc-pwmxy87654%2FVR5510%2Fpd-p%2FVR5510%22%20class%3D%22lia-product-mention%22%20data-product%3D%221946-1%22%20target%3D%22_blank%22%3EVR5510%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2251629%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Integrate%20IPCF%20and%20VR5510%20Watchdog%20functionality%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2251629%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F253785%22%20target%3D%22_blank%22%3E%40honeybee1881%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%20for%20your%20post.%3C%2FP%3E%0A%3CP%3EFor%20such%20kind%20of%20issues%2C%20it%20is%20highly%20related%20with%20the%20resource%20conflict%20issues%20between%20M%20and%20A%20part%2C%20like%20memory%20address%2C%20clock%2C%20pin%2C%20etc.%3C%2FP%3E%0A%3CP%3EI%20suggest%20firstly%20checking%20the%20resources%20used%20on%20M%20core%20side%20first%20and%20then%20to%20check%20if%20they%20are%20also%20used%2Finitialized%20on%20A%20core%20part.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3EChenyin%3C%2FP%3E%3C%2FLINGO-BODY%3E