Hi,
Because of reset, I want find reset point.
But I don't know how to know reset point.
In S32 Design Studio, How can I find reset point?
Best regards,
Byungju.
Hi,
which S32DS you are using? I'm not sure what do you mean by reset point, but you can add breakpoint into reset vector handler - like this one for S32K144 in startup_S32K144.S file and continue step by step through startup:
Jiri
Hi Jiri,
I use S32DS for ARM.2018.R1.
When the UART transmit data, MCU is reset.
As you mention, I add break point into reset vector handler. But Any break point does not catch.
I thinks the reason of reset is watchdog timeout by interrupt.
When the UART transmit data , MCU is often reset.
I removed watchdog function.
MCU does not reset.
Blinking LED is stop.
And A break point was caught in one of the painted parts below.
Therefore, it seems that the operation of interrupt continues to cause reset.
I don't know how to clear interrupt.
Thanks and best regards,
Byungju.
So - good starting point is an example - like lpuart_echo_s32k144 (or for different MCU - I'm not sure which one you are interested in):
You can find there how to clear IRQ flag for UART and many other related stuff.
Hope it helps.
Jiri
Hi Jiri,
I develop with S32K144.
I think LPUART_DRV_SetTxBuffer function is interrupt clear function.
But I don't use the function, Because I don't use S32K14x_RTM_SDK_V2.0.0.
How to import S32K14x_RTM_SDK_V2.0.0.?
Thanks and best regards,
Byungju.
The SDK v2.0 RTM is part of Update. You can use this HOWTO: https://community.nxp.com/docs/DOC-341068
Hope it helps.
Jiri
Dear Jiri,
I installed the SDK v2.0 RTM.
I can make sample code with SDK v2.0 RTM
But When I make new project, I can't select SDK v2.0 RTM.
There is not the SDK v2.0 RTM in menu.
What should I do?
Thanks and best regards,
Byungju.
Hi,
you need to select ARM Bare-Metal 32-bit target Binary toolchain:
Jiri
Hi Jiri,
I can use SDK RTM 2.0.
Thanks for your help.
Best regards,
Byungju.