Hi All,
I designed one multi-uarts bootloader project for customers, with which
the customers can improve their production efficency in factory. The attached
files is the host machine and slave machine bootloader programs and a document
for reference. Now the programs can work smoothly on K64 freedom board with
three uarts broadcust function. Anybody who has such request can refer to my
new program.
Best regards
David
Hi David,
Thanks for sharing the information. It is more helpful for the production.
Can we use it for all the kinetis K Series MCU devices.
Could you please send that boot document in English??
Regards,
Dhruv
Hi Dhruv,
I still don't have english document , but I'll translate it later. Thanks for your interest on such tool. This code can be changed for all kinetis and even other supplier's MCU,
Best regards
David
逻辑有点问题。flash编程的时间开销不是确定值,应该像擦除一样使用双向通信同步。
你好,
考虑到Flash的时钟一般为20Mhz左右, Kinetis 系列的写时间只与每次烧写的字节数有关。对于一个具体的芯片,可修改这个时间,通信与烧写时间介于PIT的间隔之内就可以了。至于回传信息,只有出现错包时,需要重新传输时才发一个重传信号。若需要每包回传,则可以把错包回传的代码片段加入一个正常烧写回传信号,但这就和原来使用PIT固定间隔传输的原理相悖了,即不需要严格固定时间间隔发送了。这可能会造成CPU工作繁忙,引起别的问题。
Best regards
david