I Don't Know What I Did - CY8CKIT-049 | Cypress Semiconductor
I Don't Know What I Did - CY8CKIT-049
I've probably spent about 13 hours straight programming today, the last two hours or so has been very strange, though. Everything working fine, problems obvious and only caused by me, most problems were with what I actually want it to do until... It just stopped... The software runs, I get serial over the usb, and I can do everything that's "pure" software. I can turn a software controlled pin on and off using the Pin_Write() function, I can call CyDelay just fine and software resets but for some reason nothing hardware based will work. My design has a timer, a PWM, a multiplexer, a control register, and they were all working perfectly fine. But now none of them work at all, if I hook up their outputs to a scope they only read whatever the pin's initial value is set to be.
Not having any idea what might be wrong I decided to use a little LED blinking program that blinks the onboard LED with a control register feeding into the output pin. But it just won't do anything. If I control the pin with software then it works just fine, but not a single piece of the schematic is working. I know it's not the device, because the bootloader blinks the LED just fine, still. It has to be me, I had to have done something.
Could anyone help me find out what I've done? Where do I even start to look? This problem is very bizarre and it's completely shut me down. All help is appreciated, if you need anything just tell me.
I'll upload that LED blinking project just