Ouch, that's hot!
So... obviously I have missed something. I have looked at the FAQ and browsed through the forum, but I'm missing something.
I have an SX28 hooked up to an SX Tech Board.
I have loaded several examples and tried them with the SXKey and all works fine.
I tried the ADC8.SXB example and it works fine with the SXKey installed. I modified the code to light an LED connected to RC.7 (through a 470 ohm resistor) when the "ADC" value is above 128. I have also modified the DEVICE and FREQ lines to read:
DEVICE SX28, OSC1MHZ, TURBO, STACKX, OPTIONX
FREQ 1_000_000
When I use the device dialog to read back the configuration it indicates that the oscillator is set to "Internal 1MHz".
I press the Ctrl-P and program the device and it works as expected: turn the pot and the light goes on or off.
If I unplug the power and then plug it back in, the device does the expected and the program runs.
If I unplug the power, remove the SXKey, then plug power back in.... the SX chip gets blazing hot. In fact... if you ignore it is getting hot you get to replace it with another chip after it melts down and lets the smoke out.
My first thought of course is that there is no clock from the SXKey and therefore no program running and the device has the pin (in/out) configured incorrectly. There are several problems with this first thought of course.... the first of which is I have set the device for an internal clock.
So.... any ideas from the experienced? I started with two chips and prefer not to toast my last one (o;
I have an SX28 hooked up to an SX Tech Board.
I have loaded several examples and tried them with the SXKey and all works fine.
I tried the ADC8.SXB example and it works fine with the SXKey installed. I modified the code to light an LED connected to RC.7 (through a 470 ohm resistor) when the "ADC" value is above 128. I have also modified the DEVICE and FREQ lines to read:
DEVICE SX28, OSC1MHZ, TURBO, STACKX, OPTIONX
FREQ 1_000_000
When I use the device dialog to read back the configuration it indicates that the oscillator is set to "Internal 1MHz".
I press the Ctrl-P and program the device and it works as expected: turn the pot and the light goes on or off.
If I unplug the power and then plug it back in, the device does the expected and the program runs.
If I unplug the power, remove the SXKey, then plug power back in.... the SX chip gets blazing hot. In fact... if you ignore it is getting hot you get to replace it with another chip after it melts down and lets the smoke out.
My first thought of course is that there is no clock from the SXKey and therefore no program running and the device has the pin (in/out) configured incorrectly. There are several problems with this first thought of course.... the first of which is I have set the device for an internal clock.
So.... any ideas from the experienced? I started with two chips and prefer not to toast my last one (o;
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Meh. Nothing here, move along.
I'm running the LED28.src file as is. The "schematic" is just as described in the source code comments: LED adode to RC.7, cathode to 470 ohm resister and other resistor leg to groud.
I do a contol-P and it loads and runs. The LED is flashing away.
I then power off the board, remove the SXKey and power the board up. No flashy LED and the SX device gets way hot.
Just to clarify, the only items I have plugged into the SX Tech Board are:
For grins I removed the two components (LED and resistor) and the SX chip gets hot when powered up without the SXKey.
Now for the fun one. This will be the comment that will jog somebody's memory (I just wish it was mine). If I put the components back like before (LED and resistor), plug the SXKey in, plug in the power and watch the LED flash.... and then remove the SXKey with the power on.... it keeps flashing and doesn't get hot.
It is acting like it is in some initial power-up state that the SXKey is able to get it past. Like... maybe when the data sheet says you don't need any external components when using the internal clock it really means don't let it float. I had a funny problem like this with a Coldfire 5282 and an "unused" pin once.
All I can say is that I must be pathetic 'cause I haven't seen any other posts will people having issues with such a simple test.
Thanks for the help!
·
·· What happens if you put a 1000uF capacitor (watch polarity) in between the VSS and VDD sockets on the board and try the same thing?· Does it still get hot?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Meh. Nothing here, move along.
There is a condition where you can actual cycle the reset from a low power input problem, but I am not sure it would create a lot of heat at the SX.
Is there a solder bridge or a dead short on other I/O? Sometimes the exposed backplane is sitting on a wire or metal surface.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"If you want more fiber, eat the package.· Not enough?· Eat the manual."········
The final project (an artificial neuron that my daughter was working on) runs off of 3AA bateries. All works fine and she is a happy camper.
It is not really latched up. It is looping between on and off. The capacitor allows for lower operation without the voltage swings.
You could change the Brown out configuration to a lower voltage, but don't turn it off [noparse][[/noparse]looping occurs unless you have a really good supply].
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"If you want more fiber, eat the package.· Not enough?· Eat the manual."········