Dear all,
in the function Sbc_fs26_ExitDebugMode(), defined in the file .\RTD\src\CDD_Sbc_fs26.c (S32K3XX FS26 AUTOSAR R21-11 Version 3.0.0), the function Sbc_fs26_ReleaseSequence() is called even if the device is not in Debug Mode. Since the call to the function Sbc_fs26_ExitDebugMode() cannot be excluded from execution, I get the FS0B pin released at the end of start-up.
Thank you for your support.
已解决! 转到解答。
Hi @guoweisun,
I would like to not release the FS0B pin at start-up (NORMAL mode), but using the RTD drivers I always get FS0B released. This is due to the Sbc_fs26_ExitDebugMode() function which cannot be excluded from execution in the function Sbc_fs26_NormalFSSequence().
Thanks for your support.
I would like to not enter automatically in NORMAL MODE at start-up. I need to enter in NORMAL mode when I receive i CAN message, using the function Sbc_fs26_ReleaseSequence() to release both pins.
Dear @guoweisun,
my request is:
I would like to switch manually from "Safety Outputs asserted" state to "Fail-Safe normal state" state using the function Sbc_fs26_ReleaseSequence().
In the actual RTD driver, the switch from "Safety Outputs asserted" state to "Fail-Safe normal state" state is automatic at the end of start-up.
Functions call sequence:
Sbc_fs26_InitDevice() -> Sbc_fs26_NormalFSSequence() -> Sbc_fs26_ExitDebugMode() -> Sbc_fs26_ReleaseSequence()
Unfortunately I can't code to you about manual step to release FSXB then enter into normal mode,what I can do for you is provide the flow chart ,you have to do it by yourself,if don't fully understand the steps please let me know.
Hi
If I understand your questions correctly, you don't need enter into debug mode and exist into debug mode.
You can see below flow chart of SBC,if you don't use emulation mode,you can skip this and after release RSTB directly enter into INIT mode.