Some SX-Key USB Goodies
Hi all,
here are some facts that might interest you:
Other than the "old" serial SX-Key which was powered from the target SX system, the "new" SX-Key USB is powered from the USB port. This has some advantages:
1. Like its predecessor, the SX-Key USB requires a 5 Volt supply in order to operate correctly, and to generate the 12 V programming voltage. As the 5 V supply comes from the USB port, the target SX system may run at a lower supply voltage, e.g. 3.3V without the need for a special adapter, like the (no longer available) SX-Ring.
2. When the target SX system was powered down during a running debug session with a serial SX-Key, the IDE reported a "Chip connection failed", or "SX-Key not found" error, and closed the debugger because the serial SX-Key also lost power in this case, and the IDE could no longer communicate with the SX-Key. With the new SX-Key USB, the communication between the IDE and the SX-Key remains intact, even with the target SX system powered down. In this case, the debugger enters the "Sleeping" state which will change back to "Idle" as soon as the target SX system is re-powered again.
3. When you do a target hardware reset, e.g. by pressing the reset button on the SX-Tech Board, or the Professional Development Board, the Debugger enters the "Idle" state, and you can restart debugging by clicking "Step", "Walk", or "Run" like after having clicked the debugger's "Reset" button.
Have Fun!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Greetings from Germany,
G
here are some facts that might interest you:
Other than the "old" serial SX-Key which was powered from the target SX system, the "new" SX-Key USB is powered from the USB port. This has some advantages:
1. Like its predecessor, the SX-Key USB requires a 5 Volt supply in order to operate correctly, and to generate the 12 V programming voltage. As the 5 V supply comes from the USB port, the target SX system may run at a lower supply voltage, e.g. 3.3V without the need for a special adapter, like the (no longer available) SX-Ring.
2. When the target SX system was powered down during a running debug session with a serial SX-Key, the IDE reported a "Chip connection failed", or "SX-Key not found" error, and closed the debugger because the serial SX-Key also lost power in this case, and the IDE could no longer communicate with the SX-Key. With the new SX-Key USB, the communication between the IDE and the SX-Key remains intact, even with the target SX system powered down. In this case, the debugger enters the "Sleeping" state which will change back to "Idle" as soon as the target SX system is re-powered again.
3. When you do a target hardware reset, e.g. by pressing the reset button on the SX-Tech Board, or the Professional Development Board, the Debugger enters the "Idle" state, and you can restart debugging by clicking "Step", "Walk", or "Run" like after having clicked the debugger's "Reset" button.
Have Fun!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Greetings from Germany,
G
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Timothy D. Swieter, E.I.
www.brilldea.com·- Prop Blade, LED Painter, RGB LEDs, uOLED-IOC
www.sxmicro.com - a blog·exploring the SX micro
www.tdswieter.com
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.fd.com.my
www.mercedes.com.my
to my knowledge, it is not.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Greetings from Germany,
G
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.fd.com.my
www.mercedes.com.my
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Greetings from Germany,
G
Can we modify the SX Key to provide 5v to the Vdd pin?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.fd.com.my
www.mercedes.com.my
I can't really recommend modifying the SX-Key USB to provide 5V to the Vdd pin. Yes, you migh place a wire jumper from the Vdd pin to some pad on the board connected to the filtered 5V coming from the USB port. You would have to remove the shrink tube from the SX-Key to do that, so you would immediately void any Parallax warrantee. In addition, the USB port might get overloaded depending on the current drawn by the target system.
If you plan to build some kind of USB-powered SX programmer, it should be ok to draw the additional supply for the SX to be programmed from the USB port. Nevertheless, you would have to modify an SX-Key USB out of Parallax warranty as mentioned before.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Greetings from Germany,
G
If you have another board that already regulates the power, you can leave off the LM2950, 0.47 cap, 22uf cap, and 2.5MM plug. Simply jump the power across, then the board becomes real simple. Without the power regulator, you only need 6 male pins, a 0.1 cap and 10K resistor.
The ZIFF socket will allow you to program the chip, then easily remove it and put it in your project. The pictures I have included do NOT show a ZIFF socket.
I've included·pictures for you (it's pretty easy to do). I also use this as a quick test board, which is why I have the extra pins.
Dan
Post Edited (DosManDan) : 8/28/2008 9:51:06 AM GMT
Modifying the SX-Key to power a project through the programming/debugging header is a solution looking for a problem. Unless you plan on always having an SX-Key and a PC attached to your project, at some point you need to have an external power supply for the project. If so, just attach it to the project at the start and do something productive with the SX-Key.
Thanks,
PeterM