I have adapted AN4379 boot-loader for our product.
Upgrading the product firmware by copying an S19 image file to the product when enumerated as a hard drive has worked perfectly on Windows 7 and Windows XP.
Evaluating the same process on a Windows 8.1 machine results in a file copy failure near the end of the S19 file (seen on USB analyzer). There is still a significant number of S19 entries to send.
The process stops, and a reset is sent by the PC.
Notes.
1. The boot-loader firmware has been adapted to remember root directory writes, and show up-to-date file names on the hard drive window.
2. The Bulk packet in/out sizes have been changed from 32 bytes to 64 bytes. This has not affected the described behavior.
3. The Windows 8.1 machine has been fully upgraded. Some Googling showed that system file USBSTOR.SYS has been changed recently due to complaints about external USB drives being powered down during use.
4. Trying to write a small S19 file (approx. 62kB vs. 800kB) still fails near the end of the file.
5. Kinetis K20 part.
Any suggestions would be most welcome!
Alex
See:
- Re: AN4379 cannot bootload a program > 25 kB
- Re: AN3927 USB MSD Bootloader - does it work on Windows 8 or 8.1?
See whether disabling teh following helps: http://answers.microsoft.com/en-us/windows/forum/windows8_1-hardware/how-do-i-prevent-system-volume-...
Note that the following version also shows file name and date, plus allow password protected copying back of the software (compatible with Windows 8.1): Re: Kinetis Boot Loader for SREC UART, SD Card and USB-MSD loading Shown in the video: Kinetis K60 Tower Kit - Flexible Boot Loader - YouTube
Now it also allow mixing with KBOOT HID.
Regards
Mark