Hi
I am trying to toggle the GPIO pins of TUSB3410. I have the TUSB3410PDK EVM kit. I downloaded a simple code that I wrote which is as below. After I download this code the device is not recognized in the device manager. So my question is :
1) Do I have to load a new code that helps the USB enumeration and hence connect to the PC?
2) If I do not want to re-enumerate but just toggle GPIO can I not do that without new enumeration?.
void main(void)
{
int index;
//bWDCSR = 0x2a; // this would disable the watchdog (tested!) *
//bWDCSR |= WDCSR_WDT;
while ( 1 )
{
(* (char __xdata *)(0xFF9E))&=0xF7;
for (index=0;index<10000000L;index++)
{
}
(* (char __xdata *)(0xFF9E))|=0x08;
bWDCSR |= WDCSR_WDT;
}
regards
Bala