Hello,
I've been attempting to work with GPIOs and testing my code by applying 3.3V and 0V alternating to GPIO pin 15, and when debugging I would often get emulator crashes that would sometimes result in messages telling me there were memory errors and possibly stack overflows. A full "crash" occurred when the system told me the endianness was wrong. I'm using the Spectrum Digital board, and I've been using DIP 4 of SW3 to activate the GPIOs. I read in some forums that this resulted in the endianness being flipped over, so I wasn't surprised when it happened though I can't figure out why since it just ties GPIO pin14 to ground. I just shut everything down, started the DSK with the DIP back at 0, and when everything stabilized, I went back to testing.
When it happened again, I attempted the same solution, but this time I lost the ability to open CCS altogether. I'm continuously receiving error messages at startup.
"Failed Software Reset: Error 0x80000020/-1070 Fatal Error during: Execution, An unknown error prevented the emulator from accessing the processor in a timely fashion."
During this error, I would reset the simulator as it suggests and reset the DSK, but then I get an error that "The GEL function "StartUp()" for the target "C6713 DSK/CPU_1" is still processing. The function could contain an infinite loop." But I wasn't using GEL at all in my code, unless it was referenced and buried somewhere in the starter code. And even if that were the case, why would it be running after a power cycle of the DSK? Shouldn't all of the code be wiped after that? So after all that, I yes/no my way through a repeat of all of those error messages to eventually open CCS. But I still can't reach the DSK once I'm in the software.
Now I can't run the diagnostic utility either. During emulator diagnostics, the software can't reset the DSP. I've also noticed that the "USB IN USE" LED is permanently lit even when the USB cable is disconnected.
Is this a complete failure? I know I didn't introduce any short circuits or voltage overloads into the system. I've been working on an antistatic mat, and I've been very careful with my GPIO voltage.
Is there any way to restore system defaults or break this error cycle? My senior project is due in less than a week, and this is the last system that has to be installed...