Loading nk.bin with usb RNDIS

Jul 24, 2008 at 4:38 AM
Edited Jul 24, 2008 at 4:38 AM
Hi
I have verdex XL6 ,
I want to download my nk.bin to its flash (32MB) , the onliest possible way seems to be usb RNDIS ,
I set the settings to download from USB RNDIS
when I connect it to my windows xp , it cant install driver with files usb8023.inf & usb8023.sys ,
What should I had to do  ? :(
is there another way to download nk.bin to it ?
(my bootloader is eboot)




Jul 24, 2008 at 7:07 AM
I myself fixed the problem by changing VID,PID in file usb8023.inf ,
Now I have some other problem :
First : How to write program for this gumstix ? (I installed WEC6) and can see its file contents with Microsoft active sync,
now , how can I see the screen without lcd and without any other expansion just with motherboard and simple usb connection ?
is it possible ?
when I put files in it , (with active sync explorer) , they are all deleted when I reset the gumstix ,
how can i Access the flash and store my program in its free space (it has about 15MB free space now),
is it possible too ?

Thanks for your answer
Coordinator
Jul 26, 2008 at 12:14 PM
Edited Jul 26, 2008 at 12:15 PM
I assume you have an XL6 with the built image in flash?
If you do not have any external persistent storage (like CF or SD) your options are pretty limited.
The hard route would to be to build a custom image with a flash file system allocated to the last 15meg you mentioned.
The easy route is to develop and debug your program then build the output executable into the OS image (nk.bin) itself.
You can set the Init registry setting to launch the program on startup.

By the way its FAR eaiser to just get an expansion board (netCF or netMicrosd) do all your development with the ethernet connection and persistent staorage,
then when you are done, flash the image, reconfigure the hardware word and remove the expansion card.

DV
Jul 28, 2008 at 3:12 PM
What did you change the VID/PID to?  How did you determine that?
Coordinator
Jul 28, 2008 at 9:07 PM
You might want to get release 1.3. I think it has what you want.
Jul 29, 2008 at 2:49 PM
I changed the lines

39:  ;%USB\VID_045E&PID_0301% = CE_RndisMini, USB\VID_045E&PID_0301
40:  %USB\VID_045E&PID_f003% = CE_RndisMini, USB\VID_045E&PID_f003

to

39:  %USB\VID_045E&PID_0301% = CE_RndisMini, USB\VID_045E&PID_0301
40:  ;%USB\VID_045E&PID_f003% = CE_RndisMini, USB\VID_045E&PID_f003

and

124:  ;USB\VID_045E&PID_0301        = "Microsoft Windows CE RNDIS virtual adapter."
125:  USB\VID_045E&PID_f003        = "Microsoft Windows CE RNDIS virtual adapter."

with

124:  USB\VID_045E&PID_0301        = "Microsoft Windows CE RNDIS virtual adapter."
125:  ;USB\VID_045E&PID_f003        = "Microsoft Windows CE RNDIS virtual adapter."

just commenting,uncommenting lines.
(I see this VID , PID when connecting the usb device in device manager)