when I use this function "void do_bank_swap_reboot(void)" in "nortos" its properly work butt when in "freeRtos"the following error occur.
Where can I find this function, do_bank_swap_reboot?
in data sheet or reference manual
renesas.github.io/.../group___f_l_a_s_h___h_p.html
Looks like you need to
/* Disable SysTick and clear its exception pending bit */ SysTick->CTRL = 0 ; SCB->ICSR |= SCB_ICSR_PENDSTCLR_Msk ;
Thanks the above issue is clear but at this point code is stuck
this error happen when restart function call " __NVIC_SystemReset(); " or hardware reset (press red button S3)
I dont see this issue. Can you share the project that produces this?