VR5510 Watchdog Example

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

VR5510 Watchdog Example

837 Views
honeybee1881
Contributor II


Dear team,

I am currently new to the watchdog functionality and am working on running the examples from the S32G3 AUTOSAR 4.4 RTD 5.0.0 D2410 Example Projects. Specifically, I am trying out the example named Wdg_VR5510_HLD_Example_S32G399A_M7.

While I am able to successfully build the project, I encounter issues during debugging. Occasionally, the board disconnects automatically from the debugger, which disrupts the debugging process.

honeybee1881_0-1761643861529.png

Setup Details:

  • Hardware: RDB3 with S32 Debug Probe
  • IDE: NXP S32 Design Studio 3.5
  • Board Configurations:
    1. Set SW10 switches to OFF positions: 1-OFF, 2-OFF
    2. J184 1-2 Open: This configures the VR5510 to enter normal mode after power on, thereby enabling the VR5510 watchdog.

Could you please assist me in understanding the watchdog functionality better and guide me through running the examples effectively? Any insights on resolving the debugging disconnection issue would be highly appreciated.

Thank you in advance for your support.

S32G-VNP-RDB3 S32DS-S32PLATFORM VR5510 

 



Tags (1)
0 Kudos
Reply
4 Replies

820 Views
honeybee1881
Contributor II

Edit to original post - During flashing Set SW10 switches to OFF positions: 1-ON, 2-OFF

Sometimes I am able to flash and debug.

Then I switched 

Set SW10 switches to OFF positions: 1-OFF, 2-OFF

During this phase RDB3 is rebooting after some time

0 Kudos
Reply

793 Views
Joey_z
NXP Employee
NXP Employee

hi,honeybee1881

Thank you for contacting us.

Refer to the VR5510 demo description in RTD, you need to set SW10 on the board to OFF: 1-OFF,2-OFF.

Joey_z_0-1761730814728.png

Then, I can debug the demo normally.

Joey_z_1-1761730871101.png

Hope this can help you.

BR

Joey

0 Kudos
Reply

777 Views
honeybee1881
Contributor II

Yes, thats right
I made the SW10 to OFF as suggested.

When I start debugging, I didn't see any change in the RDB3 board.

But after restarting the board I observe the board reboots every 5 seconds.

Is this what intended?

Also, I changed the trigger condition

/* Set the Wdg_VR5510 trigger condition */
Wdg_43_VR5510_SetTriggerCondition(8000);

I expect to reboot every 8 seconds, but the board reboot every 5 secs not 8.

0 Kudos
Reply

741 Views
Joey_z
NXP Employee
NXP Employee

hi,honeybee1881

Thank you for your reply.

I will help you to check it.

BR

Joey

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2194187%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EVR5510%20Watchdog%20Example%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2194187%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CBR%20%2F%3E%3CSPAN%3EDear%20team%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EI%20am%20currently%20new%20to%20the%20watchdog%20functionality%20and%20am%20working%20on%20running%20the%20examples%20from%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CEM%3ES32G3%20AUTOSAR%204.4%20RTD%205.0.0%20D2410%20Example%20Projects%3C%2FEM%3E.%20Specifically%2C%20I%20am%20trying%20out%20the%20example%20named%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EWdg_VR5510_HLD_Example_S32G399A_M7%3C%2FSTRONG%3E.%3C%2FP%3E%3CP%3EWhile%20I%20am%20able%20to%20successfully%20build%20the%20project%2C%20I%20encounter%20issues%20during%20debugging.%20Occasionally%2C%20the%20board%20disconnects%20automatically%20from%20the%20debugger%2C%20which%20disrupts%20the%20debugging%20process.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22honeybee1881_0-1761643861529.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22honeybee1881_0-1761643861529.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F362859iC0C8BC1EEAABEAE0%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22honeybee1881_0-1761643861529.png%22%20alt%3D%22honeybee1881_0-1761643861529.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3ESetup%20Details%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSTRONG%3EHardware%3A%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3ERDB3%20with%20S32%20Debug%20Probe%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EIDE%3A%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3ENXP%20S32%20Design%20Studio%203.5%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EBoard%20Configurations%3A%3C%2FSTRONG%3E%3COL%3E%3CLI%3ESet%20SW10%20switches%20to%20OFF%20positions%3A%201-OFF%2C%202-OFF%3C%2FLI%3E%3CLI%3EJ184%201-2%20Open%3A%20This%20configures%20the%20VR5510%20to%20enter%20normal%20mode%20after%20power%20on%2C%20thereby%20enabling%20the%20VR5510%20watchdog.%3C%2FLI%3E%3C%2FOL%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3ECould%20you%20please%20assist%20me%20in%20understanding%20the%20watchdog%20functionality%20better%20and%20guide%20me%20through%20running%20the%20examples%20effectively%3F%20Any%20insights%20on%20resolving%20the%20debugging%20disconnection%20issue%20would%20be%20highly%20appreciated.%3C%2FP%3E%3CP%3EThank%20you%20in%20advance%20for%20your%20support.%3C%2FP%3E%3CP%3E%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%2FS32DS-S32PLATFORM%2Fpd-p%2FS32DS-S32PLATFORM%22%20class%3D%22lia-product-mention%22%20data-product%3D%223479-1%22%20target%3D%22_blank%22%3ES32DS-S32PLATFORM%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%3CBR%20%2F%3E%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2195772%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20VR5510%20Watchdog%20Example%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2195772%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Ehi%2C%3CSPAN%3Ehoneybee1881%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EThank%20you%20for%20your%20reply.%3C%2FP%3E%0A%3CP%3EI%20will%20help%20you%20to%20check%20it.%3C%2FP%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3EJoey%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2195086%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20VR5510%20Watchdog%20Example%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2195086%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EYes%2C%20thats%20right%3CBR%20%2F%3EI%20made%20the%20SW10%20to%20OFF%20as%20suggested.%3CBR%20%2F%3E%3CBR%20%2F%3EWhen%20I%20start%20debugging%2C%20I%20didn't%20see%20any%20change%20in%20the%20RDB3%20board.%3CBR%20%2F%3E%3CBR%20%2F%3EBut%20after%20restarting%20the%20board%20I%20observe%20the%20board%20reboots%20every%205%20seconds.%3C%2FP%3E%3CP%3EIs%20this%20what%20intended%3F%3C%2FP%3E%3CP%3EAlso%2C%20I%20changed%20the%20trigger%20condition%3C%2FP%3E%3CP%3E%2F*%20Set%20the%20Wdg_VR5510%20trigger%20condition%20*%2F%3CBR%20%2F%3EWdg_43_VR5510_SetTriggerCondition(8000)%3B%3CBR%20%2F%3E%3CBR%20%2F%3EI%20expect%20to%20reboot%20every%208%20seconds%2C%20but%20the%20board%20reboot%20every%205%20secs%20not%208.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2195025%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20VR5510%20Watchdog%20Example%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2195025%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Ehi%2C%3CSPAN%3Ehoneybee1881%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EThank%20you%20for%20contacting%20us.%3C%2FP%3E%0A%3CP%3ERefer%20to%20the%20VR5510%20demo%20description%20in%20RTD%2C%20you%20need%20to%20set%20SW10%20on%20the%20board%20to%20OFF%3A%201-OFF%2C2-OFF.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Joey_z_0-1761730814728.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Joey_z_0-1761730814728.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F363071iCD90E3970672106E%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Joey_z_0-1761730814728.png%22%20alt%3D%22Joey_z_0-1761730814728.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EThen%2C%20I%20can%20debug%20the%20demo%20normally.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Joey_z_1-1761730871101.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Joey_z_1-1761730871101.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F363072iE9DC021447E62457%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Joey_z_1-1761730871101.png%22%20alt%3D%22Joey_z_1-1761730871101.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EHope%20this%20can%20help%20you.%3C%2FP%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3EJoey%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2194229%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20VR5510%20Watchdog%20Example%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2194229%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EEdit%20to%20original%20post%20-%20During%20flashing%20Set%20SW10%20switches%20to%20OFF%20positions%3A%201-ON%2C%202-OFF%3C%2FSPAN%3E%3C%2FP%3E%3CP%3ESometimes%20I%20am%20able%20to%20flash%20and%20debug.%3C%2FP%3E%3CP%3EThen%20I%20switched%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3ESet%20SW10%20switches%20to%20OFF%20positions%3A%201-OFF%2C%202-OFF%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EDuring%20this%20phase%20RDB3%20is%20rebooting%20after%20some%20time%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E