Hello Pedro,
As we are using processor expert, the generated code is
void PE_low_level_init(void)
{
#ifdef PEX_RTOS_INIT
PEX_RTOS_INIT(); /* Initialization of the selected RTOS. Macro is defined by the RTOS component. */
#endif
/* Initialization of the SIM module */
/* Initialization of the FTMRx_FlashConfig module */
/* Initialization of the PMC module */
/* PMC_SPMSC1: LVWACK=1,LVDE=0,??=0 */
PMC_SPMSC1 = (uint8_t)((PMC_SPMSC1 & (uint8_t)~(uint8_t)(
PMC_SPMSC1_LVDE_MASK |
0x02U
)) | (uint8_t)(
PMC_SPMSC1_LVWACK_MASK
));
/* Common initialization of the CPU registers */
/* SIM_SOPT: CLKOE=0,RSTPE=0,NMIE=1 */
SIM_SOPT = (uint32_t)((SIM_SOPT & (uint32_t)~(uint32_t)(
SIM_SOPT_CLKOE_MASK |
SIM_SOPT_RSTPE_MASK
)) | (uint32_t)(
SIM_SOPT_NMIE_MASK
));
Our actual schematic is :

RESET net goes to debug port.
To debug, we removed LM809 and 100K (pull-down resistor). Reset pin is tied to +5V through 4.7K resistor.