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
已解决! 转到解答。
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
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
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
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
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