I'm noticing a serious fly in the ointment with this setup.=20 I use a very nice and free version control / offsite backup software called Vault Standard from=20 http://www.sourcegear.com=20 It installs on my server and maintains all the code / projects I work on. I= t automatically keeps copies of all the prior versions so I can always look back over changes I've made and know what I did with each release. E.g. the customer finds a problem that wasn't there in a prior version and I can the= n compare the changes I made to try to see where the bug might have been introduced. It also provides an easy way to have an offsite backup (servers at the office, I work from home).=20 When I want to work on some code, I "check it out" from Vault, (which then clears the read only bit on the local copy, and would keep other users from also modifying it if there are any other users) and then do my work, then check it back it.=20 The Windows XP mode virtual computer under Windows 7 has a virtual hard drive image stored as a file on the real Win7 hard drive which can not be directly accessed from Win7 (as far as I can tell). But the XP machine can access the real hard drive as if it were a share from another computer on the network. So... the Win7 Vault directory is shared to the XP machine where MPLAB runs.=20 And here is the problem: The compiles take /forever/ (like 10 minutes) if I try to directly work on the files via the share from the real hard drive. I have to copy the files to the virtual hard drive on the XP machine, then do the work, then copy them back. The check out/in thing is enough of a pain b= y itself without the copy in/out of VM.=20 So, searching the net for this issue, I find a number of people have said that there is a known issue with the XP virtual machine's virtual network adapter and the Win7 network system related to something called TCP Off Loading. This is where the main CPU of the machine lets the little controller in the NIC do things like calculate checksums, as a minimum, or as much as running the entire TCP/IP stack. Apparently, that doesn't work well with the virtual NIC in the XP Mode Machine: http://social.technet.microsoft.com/Forums/en-US/w7itprovirt/thread/b806176= 8 -c173-4730-bebb-c5d79a1c9606 http://social.technet.microsoft.com/Forums/zh/w7itprovirt/thread/fd112f3b-4= f dc-4544-8545-2d2f5253f433 They say you can turn it off system-wide by editing the registry {Use at your own risk and only if you are comfortable with editing the registry! Yo= u can seriously screw up your computer if you don't know what you are doing i= n regedit!} To turn off TCP Offloading, add a DWORD value in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters=20 label it DisableTaskOffload , and change the value to 1, then reboot. I tried that and it made no difference. Searching the Microchip forums, I found this post: http://www.microchip.com/forums/tm.aspx?tree=3Dtrue&high=3D&m=3D623561&mpag= e=3D2# Which seems to indicate there is a problem with MPLAB when the source files reside on a network drive. At this point, I guess I will have to install Vault into the XP mode machin= e and separate my code into PIC stuff (which I will pickup with Vault to the virtual hard drive from inside the XP mode machine) and everything else (which I will pickup in the real Win7 machine). -- James Newton jamesnewton@massmind.org ________________________________________ From: piclist-bounces@mit.edu [piclist-bounces@mit.edu] On Behalf Of James Newton [jamesnewton@massmind.org] Sent: Tuesday, December 13, 2011 7:28 PM To: 'Microcontroller discussion list - Public.' Subject: RE: [PIC] Older ICD2's under Windows 7 in XP mode And it appears to work! There is one minor error, which is that you /must/ use the pre-installer or exactly follow the instructions to install the ICD drivers in the XP mode (just letting windows find and install the correct driver will NOT work). "{when you} attach your ICD2, windows 7 will pick up on it first and fail t= o install the drivers. Wait for this process to complete then click on the "USB" menu at the top of the XP virtual machine. Choose the unknown device, and "attach" it. You may be better off removing any superfluous USB devices before doing this to make identifying the ICD2 easier. Once you have attached the device, you will be prompted to install the driver from within the XP VM. Follow the normal procedure to install the ICD2 drivers" At this point, follow the EXACT MPLAB documentation to install the first driver. I had to run the "Update Installation and & Clean" procedure from \Microchip\MPLAB IDE\Utilities\MPUsbClean\MPUsbDocs\Update_Clean.htm and both update, then pre-install the driver before disconnecting and re-connecting the ICD2. "Once the driver has been installed, we aren't quite there. The trick here is that the ICD2 actually has 2 seperate USB devices associated with it. We will now need to once again go to the USB menu, locate the "unknown" device and attach it. Again we will need to let windows locate the correct driver for the device and install it. At this point, the ICD2 will function from within the XP virtual machine, along with the install of MPLab. One nice thing is, once you have completed this process, you can go Start -> All Programs -> Windows Virtual PC -> Windows XP mode Applications, and launch MPLab directly from there. The VM still needs to start up and run in the background, but the MPLab window looks like a native application, rather then running within the VM window (tho once you actually start using it, it'll become fairly obvious that a lot more is running in the background)." "One more thing to note. You will need to attach the USB device twice every time you launch MPLab (from the "USB" menu if you launch the VM first, by right clicking on the system tray icon if you launch MPLab directly)." -- James Newton 1-970-462-7764 -----Original Message----- From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf Of James Newton Sent: Tuesday, December 13, 2011 16:38 To: 'Microcontroller discussion list - Public.' Subject: [PIC] Older ICD2's under Windows 7 in XP mode http://kill-nine.org/?q=3Dnode/2 Nice article about getting an old ICD2 to work in Windows 7 by using the XP mode add-on. I'll be trying this soon as I've just got to many things going on with the old XP machine and need to start porting things over to the new Win7 laptop. -- James Newton 1-970-462-7764 -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .