Hey guys i was having trouble getting the usb code(BBUSB) to work on my new board, I had loaded the code that did work fine last time, but this time nothing. so i decided to go back to a known point for testing and proving out the board first.
the chip is a G2553
I loaded the base "BBUSB003" code OPossum posted here
However the chip just resets over and over, , how can I figure out what is triggering the reset to happen ![]()
This is what I've found so far
- the watchdog is disabled
- I am using a crystal, but spitting ACLK out p1.0 and it is a nice consistent 32.768 kHz so I know its not a crystal fault.
- I'm doubtful there is an unaddressed interrupt because that bbusb003 code is known to work as posted.
- VCC is stable at 3.6v
- the reset line is pulled high and isn't varying
I'm not sure what else to check for, or even how to write trap code for a chip reset cause when it resets,it dumps out of whatever code you have and just starts over.