How to use on board USB instead of using Jlink debugger

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

How to use on board USB instead of using Jlink debugger

1,078 次查看
yarannan
Contributor III

Hi,

I have customized board with MK20DX256VLL10. I was using JLink debugger all the time. Now the board is ready to put into box, i think

it would be user friendly that i use USB all the time for flashing code on the board. Is there any documentation/ code samples/ detail about

how to implement it and use it? Thanks in advance.

 

Regards,

 

Yaran

标签 (1)
标记 (3)
0 项奖励
回复
4 回复数

762 次查看
DavidS
NXP Employee
NXP Employee

Hi Yaran,

Please review the KBOOT bootloader to see if might be helpful.

Kinetis Bootloader|Freescale

Regards,

David

0 项奖励
回复

762 次查看
yarannan
Contributor III

Hi David,

I looked at supported devices. It doesn't include k20 _100...

Is there any other solution other than this or making own boot-loader?

It seems it need to take a while.

Thanks,

Yaran

0 项奖励
回复

762 次查看
DavidS
NXP Employee
NXP Employee

Hi Yaran,

My apologizes....I forgot the KBOOT currently only supports the newest Kinetis devices.

If you are thinking of using USB Host have a look at this post: Kinetis K70: Bootloader with USB?

If you search under the K60 Product Page, click on the Documents tab and then use broswer to search "bootloader" there are several listed.

MSD Bootloader

Secure Bootloader

Hope this helps.

Regards,

David

0 项奖励
回复

762 次查看
yarannan
Contributor III

Hi David,

Thanks for replying. I have following questions:

1. I am not sure about MAX_FLASH_ADDRESS on MK20DX256VLL10 and where do i find it

2. Is the only setting i need to modify is max_flash_address on main.c?

3. I am building and running my user application on KDS. Does it work as well?

4. I was browsing some USB application notes. Current design I have is conncet USB to MK20, is

that fine without some sort of transceiver?

Thank you!

Yaran

0 项奖励
回复