Programming Problems with Virtualization (VMWare, Parallels) on MacOS | Cypress Semiconductor
Programming Problems with Virtualization (VMWare, Parallels) on MacOS
I recently had difficulties programming my CY8CKIT-050 using either the on-board DVK05 programmer or a separate MiniProg3 programmer inside a virtual Windows 7 session under Paralles (MacOS 10.9.4, Windows 7 SP1).
Specifically, I could successfully program my device, but subsequent attempts to program would give an "unknown error -100." If I unplugged the programmer and plugged it back in, I could program once again but any further attempts would give the same error.
The problem existed in both Parallels 9 and VMWare Fusion 6, but when I booted into Windows 7 natively (Bootcamp) the problem went away. It seems Cypress uses some non-standard USB tricks in their programmers that confuse the virtualized USB drivers. Although I have not found a workaround for Parallels, there is a workaround for VMWare Fusion. The specific line that I added to my vmx file was:
usb.quirks.device0 = "0x04b4:0xf131 skip-reset, skip-refresh, skip-setconfig"
This resolved the issue immediately, unfortunately I'm now stuck using VMWare instead of Parallels. At least I'm not stuck in native mode, though!
Hope this helps someone else. I struggled for weeks with this issue and even involved FAEs from Cypress on the matter, to no avail.