setting baudrate in KBOOT blhost

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

setting baudrate in KBOOT blhost

654 Views
roymessinger
Contributor V

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...

0 Kudos
1 Reply

436 Views
gerardo_rodriguez
NXP Employee
NXP Employee

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

0 Kudos