Philips VCOM driver crashing XP?

Is anyone using the driver supplied in NXP app [AN10420 successfully on XP?. I’m taking a stab at that. I used the demo version of Keil UV3 to create a new project, for which I specified the LPC2148 and added the the source files. It did build, albeit with 52 warnings, and made a .hex file, which I loaded into the Olimex dev board.

XP didn’t give me a new hardware dialog when I connected the board. I tried to install the driver manually. All seemed to be going normally until I specified the location of the file PLP2KUS.sys. The installer seemed to be loading that, and then, (click) my machine suddenly rebooted.

I could not boot until I disabled the driver in safe mode. Didn’t find any discussion of anything like this on the web. Uninstalled, disconnected USB drive and TV tuner, and reinstalled. Pretty much the same result, except that this time I was able to reboot, and Device Manager listed “unknown device” under COM and LPT ports.

Got pretty much the same results on my laptop. It also did not give me a “new hardware found” dialog, and it also rebooted about 3 seconds after I provided the location of PLP2KUS.sys.

I’m telling XP that I’m installing a new port (COM and LPT). I also have the option of a multiport serial device. I didn’t try that.

DMESG from linux (Ubuntu 8.10) cycles through the same four lines about 10 times each after the board is plugged in. It seems to be guessing that the device is a storage device. “GET_CAPACITY” failed, or something like that, was one of the lines. I can fetch the exact output if it would be helpful.

Would XP crash during driver install if the device itself was mis-behaving? Does anyone have a working hex file I can “borrow”?

I’m running (i586) 32 bit XP Home SP3, last updated 7/16/09, with an AMD 2800+. Motherboard is ASUS k8V-X 754. Judging from my failure to search out any mention of this, it seems I’m the only one who has ever XPerienced it. Strange. Any thoughts?](http://www.standardics.nxp.com/support/documents/microcontrollers/zip/an10420.zip)

It must be a driver problem if your PC reboots. I’d be suspicious of all those warnings, as well. Try the Keil forum.

Leon

Thanks Leon, I’ll try that. I hesitated at first since I’m not at all comfortable with the Keil system. But after having a look at the forum, I think maybe one novice question won’t be too badly out of place.

I signed up for the lpc2000 user group in order to peruse the files there (didn’t find anything of use). Posted the same question there and will wait a bit before posting on the keil forum.

[see edit below] I didn’t want to make the original post too long but there was another oddity. The zip file on the nxp site has a .uv2 project file included. But the project/build command always gave me dozens (maybe hundreds) of errors for the startup.s file, as if the GNU assembler were being used rather than the Keil. (When I changed the first few lines in the file to GNU syntax, those lines no longer produced errors). I tried for about an hour to get the system to use the Keil assembler, then finally gave up and created a new project.

Many of the examples available from nxp are .uv2 rather than .uv3. This is the only one I’ve tried that had that particular problem on my system. [Edit: not true - see below]

[edit] It turns out I have the exact same behavior with the hid example from Keil’s web site. And in fact I now realize that my vcom project only built because I allowed the “wizard” to replace Startup.s with the default. Clearly I have something fundamentally wrong or am doing something fundamentally wrong. I’ll study the Keil documentation for a while and then ask for help on that forum

-Hugh

I think I just approved your membership.

Leon