USB is Not Connecting

karlprescottkarlprescott Posts: 15
edited 2016-06-23 - 14:25:11 in Microcontrollers
Whilst programming my Propeller P8X32A-Q44 I have declared ports 30 & 31 and now can't connect using USB as I wrote the code to EEPROM so when it starts up it runs the code that is stopping USB communication.

Is there a way to clear the EEPROM (Allowing me to rewrite correct code)?

Comments

  • Download some other code. The download program resets the propeller and the rom code downloads the new code and writes it to eeprom if desired.
    In science there is no authority. There is only experiment.
    Life is unpredictable. Eat dessert first.
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    kwinn,

    I think he's saying he can't connect to update the program.

    My suggestion would be to connect the board to USB with the power off.
    Chris Savage | Engineering Tech | Main Office: (916) 624-8333 | Direct to Tech Support: (888) 997-8267 | Website | Twitter | Google+
  • You are right. I now can't update the program. Tried reprogramming with power off on USB and that does not even light up. Think we have blown the USB chip
  • I'm probably dumb but, if he repurposed the USB pins in his program, don't he just have to be quick enough to load a new program into EEPROM after turning the power on.
  • You are right. I now can't update the program. Tried reprogramming with power off on USB and that does not even light up. Think we have blown the USB chip

    You should be able to use a terminal emulator to do a loopback test on the USB chip by putting a jumper between Rx and Tx.
    In science there is no authority. There is only experiment.
    Life is unpredictable. Eat dessert first.
  • ElectrodudeElectrodude Posts: 1,278
    edited 2016-06-24 - 15:00:41
    kwinn wrote: »
    You are right. I now can't update the program. Tried reprogramming with power off on USB and that does not even light up. Think we have blown the USB chip

    You should be able to use a terminal emulator to do a loopback test on the USB chip by putting a jumper between Rx and Tx.

    Also, if the Prop is doing IO on the Rx and Tx lines, you should probably hold the Propeller in reset by manually holding down its reset button (or by shorting its reset pin to ground) while doing this, so the USB chip doesn't fight the Propeller.

    EDIT: This is assuming you have an onboard USB chip.
Sign In or Register to comment.