I download the Kinetis Bootloader 2.0.0 and try with the default pins and configuration (UART0) and it works. Now I want to modify to UART2 but have some troubles with it. Once I download my code to the board, I can´t connect with the board with the Kinetis Flash Tool.
I already change some variables of the code to use UART2 but still not working.
When initializing the default UART0 theres a line as follow:
SIM->SOPT2 = SIM_SOPT2_PLLFLLSEL_MASK // set PLLFLLSEL to select the PLL for this clock source
| SIM_SOPT2_UART0SRC(1); // select the PLLFLLCLK as UART0 clock source
But theres not SRC for UART2, does this affect? I initialize my UART2 clock as following SIM->SCGC4 |= SIM_SCGC4_UART2_MASK;
The question is: Is it posible to use bootloader with UART2? in case of yes, any idea of what can I be missing?