I'm looking for the correct place to change/set the baudrate. I'm using BLHOST. When debuggin, I've seen the frequency is 9600. I couldn't find where can I change it.
Googling around I've found that in blfwk under serial.c there's something, but honestly I don't know what this file is concerned with and I think this file is not something I'm using. It is not in the KBOOT project tree in KDS, so I'm a bit lost here...
Hello,
The blhost baudrate can be changed with the -p/--port<name>[<speed>] option. For example, >blhost.exe -p COM1,57600 -- get-property 1.
If you are referring to the baud rate of your MCU running the bootloader, for the UART peripheral, the baudrate is automatically determined with the first ping command received from the blhost.
For more information on the blhost tool, please refer to the "C:\NXP\NXP_Kinetis_Bootloader_2_0_0\doc\Kinetis blhost User's Guide.pdf" document included in the KBOOT package.
Regards,
Gerardo