USB Serial bootloader for K20 in FlexNVM

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

USB Serial bootloader for K20 in FlexNVM

跳至解决方案
2,555 次查看
jehudimaes
Contributor II

I am trying to use the serial bootloader from AN2295 for a mk20dx128 using the usb port. I would like this bootloader to be in the FlexNVM part. Is there a CW10.3 project for this application note ? What changes do I need to apply to the project to get the bootloader running in FlexNVM (how to partition the FlexNVM, how to start the bootloader when there is no application in flash ?).

Thanks and kind regards,

Jehudi

标签 (1)
标记 (2)
1 解答
1,785 次查看
DavidS
NXP Employee
NXP Employee

Hi Jehudi,

The AN2295 is very good for bootloader working with I2C eeprom.

Freescale has other bootloader appnotes that work with the USB interface.

Please look at following:

AN4368

AN4370

AN4379

Or a link to all of our USB related appnotes.

Hope this helps.

Regards,

David

在原帖中查看解决方案

0 项奖励
回复
6 回复数
1,786 次查看
DavidS
NXP Employee
NXP Employee

Hi Jehudi,

The AN2295 is very good for bootloader working with I2C eeprom.

Freescale has other bootloader appnotes that work with the USB interface.

Please look at following:

AN4368

AN4370

AN4379

Or a link to all of our USB related appnotes.

Hope this helps.

Regards,

David

0 项奖励
回复
1,785 次查看
jehudimaes
Contributor II

Hi David,

Thank you for your reply. I had a look at the other AN's at it seems that I should start from AN4370. I tried to compile the project for the K20 device on codewarrior 10.3 but this fails:

mingw32-make: *** No rule to make target `C:/Users/source/driver/kinetis/usb_dci_kinetis.c', needed by `Sources/driver/usb_dci_kinetis_c.obj'.

Can I use this application note on codewarrior 10.3 ?

Kind regards,

Jehudi

0 项奖励
回复
1,785 次查看
LuisCasado
NXP Employee
NXP Employee

Hello,

Have you made a clean project before building?

Regards,

Luis

0 项奖励
回复
1,785 次查看
jehudimaes
Contributor II

Hi Luis,

Thanks for your quick reply, I did a clean project, I am still getting the same error. For some reason the project is called "Kinetis_MK60N512VMD100_dfu_bootloader", but I imported the project from the K20 directory.

Kind regards,

Jehudi

0 项奖励
回复
1,785 次查看
DavidS
NXP Employee
NXP Employee

Hi Jehudi,

I just downloaded the ZIP file from web.

Using CW10.3 (with updates via the "Help->Install New Software" online process) and pointing the workspace to the AN4370SW folder/directory.

I imported the following:

C:\Freescale\AN4370SW\Source\Device\app\dfu_bootloader\cw10\kinetis_k20

I then did a clean and build successfully.

The name is just a name as the initial port was to the K60 and the naming was not changed for each additional port.

Hope this helps.

Regards,

David

0 项奖励
回复
1,785 次查看
jehudimaes
Contributor II

Hi David,

Thanks for your reply, the trick was to point the workspace to the AN4370SW folder, and then importing. Now the project compiles.

Thanks,

Jehudi