How to use on board USB instead of using Jlink debugger

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

How to use on board USB instead of using Jlink debugger

1,032 Views
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

Labels (1)
Tags (3)
0 Kudos
Reply
4 Replies

716 Views
DavidS
NXP Employee
NXP Employee

Hi Yaran,

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

Kinetis Bootloader|Freescale

Regards,

David

0 Kudos
Reply

716 Views
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 Kudos
Reply

716 Views
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 Kudos
Reply

716 Views
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 Kudos
Reply