How it is detecting as "BOOTLOADER" and "MBED" drive on FRDMK64F board ?

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

How it is detecting as "BOOTLOADER" and "MBED" drive on FRDMK64F board ?

777 Views
titusstalin
Contributor V

Dear All, Just I want to know about, how FRDMK64F board is getting detected as "BOOTLOADER" and if we flashed "mbed binary" then it is detecting as "MBED" drive to flash the application.

What I have to do if I want to build my own development board like FRDMK64F ? Is there any firmware for "OpenSDA" IC and freescale controller which is present on FRDMK64F board ?

Could you please anyone explain and provide any links to understand better about this concept.

Thanks in advance.

Regards,

Titus S.

Labels (1)
0 Kudos
4 Replies

420 Views
isaacavila
NXP Employee
NXP Employee

Hello Titus,

Basically, OpenSDA is a serial and debug adapter that provides a bridge between your computer (or other USB host) and the embedded target processor, which can be used for debugging, flash programming, and serial communication, all over a simple USB cable.

So, when you connect a Freedom board that has OpenSDAv2 (such as the FRDM-K64F) to your computer with a USB cable, it will begin running the default CMSIS_DAP/mbed application which has three main features.

  • Debugging via the CMSIS-DAP interface
  • Drag-and-drop flash programming
  • Virtual Serial Port providing USB-to-Serial convertor

But when K20 (MCU where bootloader resides) does not have CMSIS_DAP firmware downloaded, it just appears as BOOTLOADER drive.

You can find more information on next links:

https://community.freescale.com/docs/DOC-100720

http://cache.freescale.com/files/32bit/doc/user_guide/OPENSDAUG.pdf

0 Kudos

420 Views
titusstalin
Contributor V

Thanks for your response. Its very useful.

If I want to develop like FRDM board, which controller needs to be flashed to detect as "bootloader" ? either openSDA controller or freescale controller ?

Anything we need to flash on freescale uc? And what are sw needs to be flashed on free scale uc and openSDA controller?

Thanks in advance.

0 Kudos

420 Views
isaacavila
NXP Employee
NXP Employee

Effectively, OpenSDA controller needs to be flashed as "bootloader". There is no need to flash your freescale's MCU target with a specific program.

You can check this useful links:

http://mcuoneclipse.com/2015/04/21/proof-of-concept-open-source-arm-swd-debug-and-general-purpose-bo...

http://mcuoneclipse.com/2012/09/20/opensda-on-the-freedom-kl25z-board/

http://architects.dzone.com/articles/using-freedom-board-jtag

Best Regards,

Isaac

0 Kudos

420 Views
derek_lau
Contributor III

Q. If I want to develop like FRDM board, which controller needs to be flashed to detect as "bootloader" ? either openSDA controller or freescale controller ?

It is the K20DX128 kinetis MCU. Please refer to the link OpenSDAv2 .

0 Kudos