Some questions about “tower_bootloader“

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

Some questions about “tower_bootloader“

664 次查看
wangb
Contributor II

I  have  two  questions.

1.After I modified the program according to my hardware, I used JTAG to download the “tower_bootloader“ into the chip and used kinetisflashtool to connect to com port. The connection failed.What could be causing the connection to fail?

My modifications include, 1, turning uart1 uarto0.    2,  configuring Rx,Tx pins to use on my hardware.and 3, adding the configuration of RN485.

2.When I use the debug mode in Keil for debugging, the situation appears in the picture.The configuration of the JTAG is set up according to the configuration that it ran successfully before.Could there be any other reason for this?

@BC88L5{}]}AN)Z4CN)J7%9.png1%HM6@3`D1M(@SAIPP}0IA5.png

 

0 项奖励
回复
3 回复数

651 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi Wang,

1. I have a article shows how to change UART port in bootloader. Please refer to this link https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-change-UART-port-on-MCU-Bootloader2-0-0...

2. It seems debug is failed after execute SystemInit(). Please check in it, mainly focus on watchdog, clock setting.

 

Regards,

Jing

0 项奖励
回复

644 次查看
wangb
Contributor II

hi Jing,

thank you very much!

As shown in the figure, I removed the WDOG part of the configuration, but in debug mode, the error phenomenon remains the same as before.What else can I change? 

I also tried to close the" jump_to_application()", but nothing changed.Can you help me see what might be wrong with the clock set?5JD`Y3HQSUII~{UFZJ{[GV1.png

0 项奖励
回复

635 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi,

Please disable watchdog in debug mode. Watchdog is enabled after reset. If the problem is caused by SystemInit(), you can trace into this function to check where is the problem.

 

Regards,

Jing

0 项奖励
回复