Parallax SX

Last updated

Parallax SX is a discontinued line of microcontrollers that was marketed by Parallax, from a design by Ubicom. Designed to be architecturally similar to the PIC microcontrollers used in the original versions of the BASIC Stamp, SX microcontrollers replaced the PIC in several subsequent versions of that product.

Contents

Production

The designs for the devices are owned by Ubicom (formerly Scenix, hence "SX"). The SX dies were manufactured[ citation needed ] by UbiCom, who sent them to Parallax for packaging. Ubicom had made processors with 18, 20, 28, 48 and 52 pins, but because Parallax did not have packages for 18 and 52 pins chips,[ citation needed ] the SX-18 and SX-52 were discontinued.

End-of-life

On July 31, 2009, Parallax announced that the SX line had reached its production EOL (End-of-Life) as Ubicom would no longer be manufacturing dies based on the designs; after the supplies from the final "lifetime buy" have been exhausted, the associated products cannot be restocked. In the same announcement, Parallax expressed that availability of its own products based on SX devices would not be impacted and that technical support would remain available. [1] [2]

Technical details

The Parallax's SX series microcontrollers are 8-bit RISC microcontrollers (using a 12-bit instruction word) which have an unusually high speed, up to 75 MHz (75 MIPS), and a high degree of flexibility. They include up to 4096 12-bit words of Flash memory and up to 262 bytes of random-access memory (RAM), an eight bit counter and other support logic. They are especially geared toward the emulation of I/O hardware in software, which makes them very flexible. While Parallax's SX micros are limited in variety, their high-speed and additional resources allow programmers to create 'virtual devices', including complete video controllers, as required. For example, there are software library modules to emulate I2C and SPI interfaces, UARTs, frequency generators, measurement counters and PWM and sigma-delta A/D converters. Other interfaces are relatively easy to write, and existing modules can be modified to get new features.

Development and debugging

The Sx-Key is produced by Parallax and used to program the SX microcontroller and then debug it. There is also a cheaper version called the SX-Blitz that does not contain a debugger. Do note that there are two Sx-key products, one is an actual hardware device the other is the software, they share the same name.

Windows

If you are running on the Microsoft Windows platform, you would want to grab a copy of the SX Key software from Parallax's website. [3] It contains many useful tools for beginners as well as for people more familiar with the SX to aid in development. It comes with the SXsim, and an assembler/programmer to allow programming of the SX using either an SX Key or SX Blitz.

Issues

There are some known issues with the SX Key software on Windows Vista, the Sx-key software requires certain DLLs that are not distributed with Windows Vista.

Alternate tools

There is also a C to SX compiler, that will allow you to write C programs for the SX. They are then converted from C into SX ASM. There are two versions available.

CCS SX/C

There is a commercially supported version of a C compiler for the SX, it is known as the CCS SX/C, and was available for $199.0. [4] This software is officially supported by Parallax, and they have a partnership to work together on making the SX/C compiler a first class citizen. It integrates with the SX Key software to then program the SX.

C4SX

C4SX is a free C to SX assembly compiler that is available from rwsenser. [5] Please note that this software is untested by Parallax. There is a thread in the Parallax support forums about C4SX that might be helpful to those looking at using C for the SX. [6]

Linux/Unix-based development

gsasm

gsasm is an assembler for the SX assembly to a hex file. The project lives on SourceForge and can be found at http://sourceforge.net/projects/gsasm/. Note, it is still in its infancy, and while it produces proper hex files to be programmed, it has its rough edges and limitations. Please read the release notes, and see if a more applicable solution would not be to use Wine.

gSXprog

gSXprog is the programmer that may be used to program the SX using the SX Key revision C and older. Code exists to program with the SX Blitz in CVS, but it is not guaranteed to work. If you downloaded gsasm you will have also obtained a copy of gSXprog. You will be able to use gSXprog to program the SX using a hex file produced by gsasm or from the SX Key software.

Wine

The SX chip can be programmed with the SX Key software, gSXprog, and SXsim. SX Key Software has been reported to work well under Wine (a Windows compatibility layer for Linux platforms). [7]

See also

Related Research Articles

<span class="mw-page-title-main">Microcontroller</span> Small computer on a single integrated circuit

A microcontroller or microcontroller unit (MCU) is a small computer on a single integrated circuit. A microcontroller contains one or more CPUs along with memory and programmable input/output peripherals. Program memory in the form of ferroelectric RAM, NOR flash or OTP ROM is also often included on chip, as well as a small amount of RAM. Microcontrollers are designed for embedded applications, in contrast to the microprocessors used in personal computers or other general purpose applications consisting of various discrete chips.

<span class="mw-page-title-main">MCS-51</span> Single chip microcontroller series by Intel

The Intel MCS-51 is a single chip microcontroller (MCU) series developed by Intel in 1980 for use in embedded systems. The architect of the Intel MCS-51 instruction set was John H. Wharton. Intel's original versions were popular in the 1980s and early 1990s, and enhanced binary compatible derivatives remain popular today. It is a complex instruction set computer, but also has some of the features of RISC architectures, such as a large register set and register windows, and has separate memory spaces for program instructions and data.

<span class="mw-page-title-main">PowerBASIC</span> Software compiler

PowerBASIC, formerly Turbo Basic, is the brand of several commercial compilers by PowerBASIC Inc. that compile a dialect of the BASIC programming language. There are both MS-DOS and Windows versions, and two kinds of the latter: Console and Windows. The MS-DOS version has a syntax similar to that of QBasic and QuickBASIC. The Windows versions use a BASIC syntax expanded to include many Windows functions, and the statements can be combined with calls to the Windows API.

<span class="mw-page-title-main">AVR microcontrollers</span> Family of microcontrollers

AVR is a family of microcontrollers developed since 1996 by Atmel, acquired by Microchip Technology in 2016. These are modified Harvard architecture 8-bit RISC single-chip microcontrollers. AVR was one of the first microcontroller families to use on-chip flash memory for program storage, as opposed to one-time programmable ROM, EPROM, or EEPROM used by other microcontrollers at the time.

<span class="mw-page-title-main">PIC microcontrollers</span> Line of single-chip microprocessors from Microchip Technology

PIC is a family of microcontrollers made by Microchip Technology, derived from the PIC1650 originally developed by General Instrument's Microelectronics Division. The name PIC initially referred to Peripheral Interface Controller, and is currently expanded as Programmable Intelligent Computer. The first parts of the family were available in 1976; by 2013 the company had shipped more than twelve billion individual parts, used in a wide variety of embedded systems.

In-circuit emulation (ICE) is the use of a hardware device or in-circuit emulator used to debug the software of an embedded system. It operates by using a processor with the additional ability to support debugging operations, as well as to carry out the main function of the system. Particularly for older systems, with limited processors, this usually involved replacing the processor temporarily with a hardware emulator: a more powerful although more expensive version. It was historically in the form of bond-out processor which has many internal signals brought out for the purpose of debugging. These signals provide information about the state of the processor.

<span class="mw-page-title-main">Embedded software</span> Computer software written to control machines not typically thought of as computers

Embedded software is computer software, written to control machines or devices that are not typically thought of as computers, commonly known as embedded systems. It is typically specialized for the particular hardware that it runs on and has time and memory constraints. This term is sometimes used interchangeably with firmware.

<span class="mw-page-title-main">PICAXE</span>

PICAXE is a microcontroller system based on a range of Microchip PIC microcontrollers. PICAXE devices are Microchip PIC devices with pre-programmed firmware that enables bootloading of code directly from a PC, simplifying hobbyist embedded development. PICAXE devices have been produced by Revolution Education (Rev-Ed) since 1999.

The XGameStation is a series of embedded systems, primarily designed as a dedicated home video game console, created by Andre LaMothe and sold by his company Nurve Networks LLC. Originally designed to teach electronics and video game development to programmers, newer models concentrate more on logic design, multi-core programming, game programming, and embedded system design and programming with popular microcontrollers.

<span class="mw-page-title-main">Lazarus (software)</span> Free cross-platform integrated development environment for Free Pascal

Lazarus is a free, cross-platform, integrated development environment (IDE) for rapid application development (RAD) using the Free Pascal compiler. Its goal is to provide an easy-to-use development environment for programmers developing with the Object Pascal language, which is as close as possible to Delphi.

<span class="mw-page-title-main">R8C</span>

The Renesas R8C is a 16-bit microcontroller that was developed as a smaller and cheaper version of the Renesas M16C. It retains the M16C's 16-bit CISC architecture and instruction set, but trades size for speed by cutting the internal data bus from 16 bits to 8 bits. It is available in a number of different versions with varying amounts of flash memory and SRAM.

Parallax Inc. is a privately held company in Rocklin, California. Parallax Inc. designs, manufactures, and sells BASIC Stamp microcontrollers, Propeller microcontrollers, microcontroller accessories, educational robot kits, and educational curriculum.

<span class="mw-page-title-main">Parallax Propeller</span> Multi-core microcontroller

The Parallax P8X32A Propeller is a multi-core processor parallel computer architecture microcontroller chip with eight 32-bit reduced instruction set computer (RISC) central processing unit (CPU) cores. Introduced in 2006, it is designed and sold by Parallax, Inc.

Turbo Debugger (TD) is a machine-level debugger for DOS executables, intended mainly for debugging Borland Turbo Pascal, and later Turbo C programs, sold by Borland. It is a full-screen debugger displaying both Turbo Pascal or Turbo C source and corresponding assembly-language instructions, with powerful capabilities for setting breakpoints, watching the execution of instructions, monitoring machine registers, etc. Turbo Debugger can be used for programs not generated by Borland compilers, but without showing source statements; it is by no means the only debugger available for non-Borland executables, and not a significant general-purpose debugger.

<span class="mw-page-title-main">PICkit</span>

PICkit is a family of programmers for PIC microcontrollers made by Microchip Technology. They are used to program and debug microcontrollers, as well as program EEPROM. Some models may also feature logic analyzers and serial communications (UART) tools.

MPLAB is a proprietary freeware integrated development environment for the development of embedded applications on PIC and dsPIC microcontrollers, and is developed by Microchip Technology.

<span class="mw-page-title-main">GLBasic</span> Commercial BASIC programming language

GLBasic is a commercial BASIC programming language that can compile to various platforms including Windows, Linux, Mac OS X, and some handheld devices. The language is designed to be simple and intuitive.

<span class="mw-page-title-main">Single-board microcontroller</span> Microcontroller built onto a single printed circuit board

A single-board microcontroller is a microcontroller built onto a single printed circuit board. This board provides all of the circuitry necessary for a useful control task: a microprocessor, I/O circuits, a clock generator, RAM, stored program memory and any necessary support ICs. The intention is that the board is immediately useful to an application developer, without requiring them to spend time and effort to develop controller hardware.

DAVE, or Digital Application Virtual Engineer, is a software development and code generation tool for microcontroller applications created in C/C++. DAVE is a standalone system with automatic code generation modules. It is only available for Infineon Technologies' microcontrollers with automatically created C-level templates. The generated code can be used in Eclipse, Keil, Tasking, and others.

RL78 Family is a 16-bit CPU core for embedded microcontrollers of Renesas Electronics introduced in 2010.

References

  1. "SX End of Life (EOL) Announcement". forums.parallax.com. Archived from the original on 2013-06-25.
  2. Ken Gracey, Jim Carey. "SX Microcontroller End of Life Announcement". July 31st, 2009.
  3. Parallax's website
  4. https://web.archive.org/web/20100103170159/http://ccsinfo.com/product_info.php?products_id=sxcompiler
  5. http://www.rwsenser.com/
  6. https://web.archive.org/web/20090616170300/http://forums.parallax.com/forums/default.aspx?f=7
  7. "WineHQ - SX-Key".