Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/13/17 14:57
Read: times


 
#190762 - GPIO pin toggle on TUSB3410
Hi

I am trying to toggle the GPIO pin on TUSB3410 and I am working with the TUSB3410PDK EVM kit. Below is the code

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;

}
}

My question is when I download this code into the EEPROM using the TI EEPROM burner and restart the TIUSBPDK is not recognized at all. And ofcourse, I cannot see any toggling of that pin....
Should I re-enumrate? and then only add the code to toggle?.... Thanks.

regards
Bala

List of 7 messages in thread
TopicAuthorDate
GPIO pin toggle on TUSB3410            01/01/70 00:00      
   Short Pulse            01/01/70 00:00      
      GPIO working            01/01/70 00:00      
         Was it?            01/01/70 00:00      
            GPIO toggle            01/01/70 00:00      
               Good to hear            01/01/70 00:00      
                  two problems            01/01/70 00:00      

Back to Subject List