TWR-K21 kboot

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

TWR-K21 kboot

719 次查看
gionny
Contributor II

Hi.

I'have a TWR-K21F120MA tower board and I need to build a bootloader for it.

I have made this operation for other boards (k64 tower e freedom) but I can't find a target for K21 in this directory "C:\Freescale\FSL_Kinetis_Bootloader_1_2_0\targets".

How can I do?

Thanks

Gionatha

0 项奖励
3 回复数

510 次查看
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Ferrari Gionatha:

Unfortunately the TWR-K21F120MA is not supported in KBOOT package. You may follow Mark's suggestion or depending on the bootloader interface you need there are some bootloader packages which can be migrated to your device. For example:

AN2295 (UART Bootloader):

http://cache.freescale.com/files/microcontrollers/doc/app_note/AN2295.pdf

http://cache.nxp.com/files/microcontrollers/doc/app_note/AN2295SW.zip

USB MSD Host (based on AN4368):

TWR-K70 MSD HOST Bootloader based on AN4368 source code

Regards!

Jorge Gonzalez

0 项奖励

510 次查看
mjbcswitzerland
Specialist V

Hi Jorge and Gionatha

Please note that if KBOOT is not absolutely necessary, the uTasker serial loader also supports the other loaders for these boards (for most IDEs without any porting requirements) including AN2295 (developer's serial boot loader), AN4368 (MSD host loader "memory stick"), SD card loader, USB-MSD loader as well as SREC and iHex (on UART or USB-CDC).

Each can be built from the same code by modifying a few defines, or multiple such loaders can be enabled at the same time (eg. KBOOT and USB-MSD composite on USB, AN2296 on UART and SD card - even USB-MSD host and USB-MSD device can operate at the same time since it will automatically detect whether a memory stick is inserted or if it is connected to a PC host).

As I noted, this is not an "example" of one loading type built with one IDE but works with all IDEs, (virtually) all Kinetis parts, can be combined in almost every way and is an industrial solution tested and proven in many real Kinetis (KE, KL, KV, K, KW) products.

There is really no need for the thousands of hours of unnecessary porting efforts that are seen by Kinets users since it really all exists for virtually all boards and parts - also the code is smaller and more efficient than the various examples and all operation can be tested in a simulator for further configuring, customising and project reviews/code coverge analysis etc.

Full documention at http://www.utasker.com/docs/uTasker/uTaskerSerialLoader.PDF

Rather than NXP spending hundreds of hours helping customers with ports (and forum tips) and hundreds more in case they wanted to offer customers more specific ports for more specific IDEs, NXP and their customers could easily collectively save hundreds of thousands, if not millions just by pointing professions developers (who need working solutions and not use up budgets for wheel-re-inventing exercises all the time) to the complete existing solution that simply saves everyone/projects time and risks....

Regards

Mark

0 项奖励

510 次查看
mjbcswitzerland
Specialist V

Hi

In case of difficulties KBOOT is available for all boards, including TWR-K21F120M and TWR-K21D50M, (to build with all popular compilers/IDEs) at http://www.utasker.com/kinetis.html

Regards

Mark

0 项奖励