setting baudrate in KBOOT blhost

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

setting baudrate in KBOOT blhost

1,187 次查看
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 项奖励
回复
1 回复

969 次查看
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 项奖励
回复