68013A: how to modify the script file path in CyUSB3.INF | Cypress Semiconductor
68013A: how to modify the script file path in CyUSB3.INF
I used cy7c68013a to develope my product, and enabled its' CyScript feature to Execute a script at start-up, and i modify my driver's inf file according to the Modifying CyUSB3.INF chapter of CyUsb3.pdf:
the sentence above is the last line of the inf file, it defined the spt file path to excute when start-up, I wonder how to modify the path to my user's path?
I have tried to modify the path by edit the key value of DriverEXESCRIPT in regedit, such as: C:\MyDevice\Mydevice.spt or
\userprofile\MyDevice\MyDevice.spt, but all failed. only when I used the systemroot variable, the spt file excuted when start-up (I have already copy the spt file to the path defined in regedit ).
so, how to modify the path as I want?