I am new with this platform, I am trying to use it in a WINDOWS 7 64bit PC. As soon as I connect the module it starts the classic windows driver installation.. if I open the message to see more details it actually gets to display the name KEIL ULINK2... while the driver is been supposedly installed. It doesn't take too much when that name changes to USB Input Device but still it says successfully installed.
I move on and try to use it but "NO device detected" message is prompt from the uvision interface. I proceed and go to DEVICE MANAGER, I finally nail down the correspondent USB Input Device, but if I go to properties--> GENERAL (tab), where it is supposed to say ULINK2 it says the following:
Location 0 (Port_#0002.Hub_#0002)
I have tried several ways, I tried to slow down the USB port by using a USB 2.0 HUB (which has solved some issues in the past with other old hardware), but not good results.
as mentioned in other threads it is using the Windows native HID drivers (hidclass.sys, hidparse.sys, hidusb.sys), but I have the feeling this is not right and there should be an other .SYS within my system32 folder that for some reason was not successfully installed neither warned during the installation process.
I did try the hardware with a creepy old windows XP 32 bit machine and it worked like a charm, but we for sure are not downgrading the PCs.
any thoughts or similar experiences with ULINK2
Thanks all, I followed this knowledge data base: http://www.keil.com/support/docs/3632.htm and it solved my problem, seems like I had a corrupted firmware.
it currently has the 2.03 and work just fine.
#include <LPC17xx.H>
void Delay(unsigned int ); int main() { SystemInit(); LPC_PINCON->PINSEL2 = 0x00000000; LPC_PINCON->PINSEL3 = 0x00000000; LPC_PINCON->PINMODE2= 0x00000000; LPC_PINCON->PINMODE3= 0x00000000; LPC_GPIO1->FIODIR = 0xFFFFFFFF; LPC_GPIO1->FIOCLR = 0xFFFFFFFF; while(1) {
LPC_GPIO1->FIOCLR = 0xFFFFFFFF; Delay(20); LPC_GPIO1->FIOSET = 0xFFFFFFFF; Delay(20); }
}
void Delay(unsigned int time) { unsigned int i,j; for(i=0;i<time;i++) { for(j=0;j<3000;j++); } }
This is my code for lpc1768...here there is no problem on Debugging...but i dont know y the pins not togle plz suzzzes me if any wrong my side...Thankyou