KL27Z Bootloader ROM problems

cancel
Showing results for 
Search instead for 
Did you mean: 

KL27Z Bootloader ROM problems

Jump to solution
2,041 Views
andrelemke
Contributor III

I’m using the Kinetis KL27Z bootloader ROM in USB HID mode to write my “.bin” files on microcontroller.  When I set the bootloader to reset the device to run my application situated on Flash memory or exits the bootloader and run the Flash, the computer doesn’t recognize my USB CDC application.

What might be happening?

1 Solution
155 Views
jeremyzhou
NXP TechSupport
NXP TechSupport

Hi Andre,
The CDC application hasn't supported he Windows 10 now, and I will elevate the suggestion to the USB team later.
Have a great day,
Ping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
4 Replies
155 Views
jeremyzhou
NXP TechSupport
NXP TechSupport

Hi Andre Lemke,

Before your question, I'd like to confirm with you about whether the CDC application can work well or not after program the application code inside the flash by debug tool.
Have a great day,
Ping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

155 Views
andrelemke
Contributor III

Hi Mark Butcher!

Hi jeremyzhou!

Really thank you, for answer my questions! Everything was working fine since my first implementation. The BIG but BIG problem is in Windows 10! I did some tests in Windows XP SP3 x32 and Windows 7 Ultimate x64 and my application is working fine. Simply the older systems before Windows 10, recognize the “USB HID Bootloader” (I can erase and write the flash memory, configure the bootloader and others tasks) and after this recognize my “Virtual COM CDC application” without any problems.

I think it looks like a driver problem. The driver provided by Microsoft doesn’t work well, when we change the device operation mode without disconnect and reconnect the USB cable.

The main observation: The Kinetis ROM Bootloader doesn’t works well in Windows 10!

I tried to unable the automatic installation of device drivers in the Win 10, but it always continue to install automatically and I can’t update a custom driver (.inf), for example.

I think the NXP needs to check the systems applications in new operating system like these. My suggestion they needs to provide a new driver for USB CDC applications compatible with Windows 10.

Best regards,

André Lemke

0 Kudos
156 Views
jeremyzhou
NXP TechSupport
NXP TechSupport

Hi Andre,
The CDC application hasn't supported he Windows 10 now, and I will elevate the suggestion to the USB team later.
Have a great day,
Ping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
155 Views
mjbcswitzerland
Specialist V

Andre

Beware that the boot loader uses some resources and it is possible that the application that runs after it has operated expects peripherals to be in their reset state. This can sometimes lead to such code failing.

The resources that are affected are documented in the user's manual so I would check through those listed and then check the driver code that could be affected - possibly you need to manually de-initialise the peripherals in question to ensure driver code compatibility.

I am just starting on a new KL27 development where I plan to use the USB HID loader for factory programming so may also encounter such issues, but I don't expect to actually do anything concrete on this part work just yet. The USB HID loader will install a USB-MSD loader for subsequent field programming - since it is more convenient than the HID one - and disable the ROM one; in case of complications I have also foreseen SWD contacts so that this could also be used (via a bed of nails) in case it proves more efficient.

Regards

Mark