usb
Re: usb
Windows caches USB harddisks, because it doesn't expect that the data is changed from other sources, so you have to deactivate and reactivate the USB connection to force Windows to reload the FAT etc.
Note: Accessing the memory stick from PC and PSP programs at the same time is a good technique to corrupt your memory stick filesystem :-)
Note: Accessing the memory stick from PC and PSP programs at the same time is a good technique to corrupt your memory stick filesystem :-)
Re: usb
uh, thanks. That's not good news ;-)Shine wrote:Windows caches USB harddisks, because it doesn't expect that the data is changed from other sources, so you have to deactivate and reactivate the USB connection to force Windows to reload the FAT etc.
f_bohmann wrote:my current setup enables usb when i launch my program (to upload new builds etc), and when i need to write something to the memcard from the psp (screenshots or something) i disable usb, write the stuff and then reenable usb. works flawlessly.
f
heh, it's slow as a hell :)
i need fast access to PC
Some computer also allow to disable the write cache. In win2k you can find that by right clicking on the drive, choose Properties. From there go to the Hardware tab, press on the Properties button and there select the Disk Properties tab. There you can find Write Cache Enable check box. On my computer it does not work with PSP though, but for some people it works :)
WinXP does not cache USB "disks" by default, so if you're having problems you're probably still on 2K :)
I'd recommend an upgrade and then turning off all useless eyecandy. Stripped XP is better than 2K in every way.
I'd recommend an upgrade and then turning off all useless eyecandy. Stripped XP is better than 2K in every way.
http://www.dtek.chalmers.se/~tronic/PSPTexTool.zip Free texture converter for PSP with source. More to come.
Windows XP puts a little icon in the lower right part of the screen whenever you plug in a hot-pluggable drive (USB floppy, pen drive, etc). When you wish to remove a hot-plug drive, you have to go click on that icon and select the device you are planning to remove. This tells Windows to flush the damn buffers to the device. It will put up a little balloon saying it is safe to remove the device once it's done. ONLY THEN should you remove the pen drive.
there's no "Write Cache Enable check box"memon wrote:Some computer also allow to disable the write cache. In win2k you can find that by right clicking on the drive, choose Properties. From there go to the Hardware tab, press on the Properties button and there select the Disk Properties tab. There you can find Write Cache Enable check box. On my computer it does not work with PSP though, but for some people it works :)
but thanks anyway
> there's no "Write Cache Enable check box"
FWIW: it moved under WinXP
Find the proper device, open Properties, and look for "Policies"
Check to make sure it says "optimize for quick removal"
As mentioned this should be the default for USB deices.
NOTE: this won't fix all scenarios -- even if write caching is disabled, it may still cache reads.
There are other tricks possible to make the shared file scenario happen (eg: write to a new file all the time, or append, or do something else to force the PC to reload from the USB drive). If speed and low latency is required, you'll need to do some experimentation to see what works fastest for your setup.
FWIW: it moved under WinXP
Find the proper device, open Properties, and look for "Policies"
Check to make sure it says "optimize for quick removal"
As mentioned this should be the default for USB deices.
NOTE: this won't fix all scenarios -- even if write caching is disabled, it may still cache reads.
There are other tricks possible to make the shared file scenario happen (eg: write to a new file all the time, or append, or do something else to force the PC to reload from the USB drive). If speed and low latency is required, you'll need to do some experimentation to see what works fastest for your setup.