HP 49/50 series

From Wikipedia, the free encyclopedia
  (Redirected from HP-49 series)
Jump to: navigation, search
HP 49G
Introduced 1999
Discontinued 2003
Latest firmware official: HP49-C 1.18 (2000-05-27),[1]
beta: HP49-B 1.19-6 (2001-10-27),[2]
back-ported: HP48-C 2.09 (2006-06-03)[3]
Predecessor HP 48G+
Successor HP 49g+
Calculator
Entry mode RPN, Algebraic
Display Size 131×64 pixels
CPU
Processor MHz Yorke (Saturn core)
Programming
Programming language(s) RPL
User Memory MiB flash memory and 512 KiB RAM
Interfaces
Ports RS-232 (using the Kermit or XModem protocols, 2x5-pin proprietary connector)
Other

The HP 49/50 series are Hewlett-Packard (HP) manufactured graphing calculators. They are the successors of the popular HP 48 series.

There are five calculators in the 49/50 series of HP graphing calculators. These calculators have both algebraic and RPN entry modes, and can perform numeric and symbolic calculations using the built-in Computer Algebra System (CAS), which is an improved ALG48 and Erable combination from the HP 48 series.

HP 49G[edit]

Released in August 1999, the HP 49G (F1633A, F1896A) calculator was the first HP unit to break from the more traditional subdued coloration. In addition to having a metallic blue color, the keyboard material was rubber and did not have the traditional HP calculator hinged keyboard feel. In addition, it lacked a large Enter key which was seen by many as the defining characteristic of an HP calculator. These changes were disliked by many traditional HP calculator users.

The 49G incorporated many of the most powerful interface and mathematics tools available on the HP 48 series into the firmware of the new 49G, including the ability to easily decompile and compile both SysRPL and Saturn assembly code on the unit.

The 49G was the first HP calculator to use flash memory and have an upgradable firmware. In addition, it had a hard sliding case as opposed to the soft pouches supplied with the HP 48 series. Almost the same hardware is also used by the HP 39G and HP 40G.

The last officially supported firmware update for the 49G calculator was 1.18, but several unofficial firmware versions were released by the developers. The final firmware version was 1.19-6. Several firmware versions for the successor hp 49g+ and HP 50g calculators have also been released in builds intended for PC emulation software that lacked full utilization of the successors' ARM CPU. Until at least firmware version 2.09, those emulator builds could be installed on the original HP 49G.

In 2003, the CAS source code of the 49G firmware was released under the LGPL. In addition, this release included an interactive geometry program and some commands to allow compatibility with certain programs written for the newer 49g+ calculator. Due to licensing restrictions, the recompiled firmware cannot be redistributed.

hp 49g+[edit]

hp 49g+
HPIM2605.jpg
hp 49g+ graphing calculator
Introduced 2003-08
Latest firmware HP49-C 2.15 (2009-04-21, 2006-09-19)[4]
Predecessor HP 49G
Successor HP 50g
Calculator
Entry mode RPN, Algebraic
Display Size 131×80 pixels
CPU
Processor 75 MHz Samsung S3C2410X01 (with ARM920T core) (can be overclocked up to 203 MHz by certain user programs)
Programming
Programming language(s) RPL
User Memory MiB flash memory, 512 KiB RAM
External Memory SDSC/MMC memory card (including miniSD/microSD/TransFlash with adapter; up to 2 GiB formatted as FAT12/FAT16/FAT16B/FAT32; FAT32 only with firmware 2.00 and higher; size display and formatting limited to 1 GiB)
Interfaces
Ports USB port (using the Kermit or XModem protocols), IrDA (infrared)
Other

In August 2003, Hewlett-Packard released the hp 49g+ (F2228A). This unit had metallic gold coloration and was backward compatible with the HP 49G. Instead of the rubber keyboard found on the HP 49G, this calculator's keyboard had plastic hinges intended to return the feel of older HP calculators, and also included a pouch to protect the unit, similar to those included with older HP models. It was designed and manufactured by Kinpo Electronics for HP.

This calculator featured an entirely new processor architecture, USB and IrDA (IrCOMM) infrared communication, memory expansion via an SD (SDSC/MMC) card, and a slightly larger screen, as well as other improvements over the previous model.

The calculator system did not run directly on the new ARM processor, but rather on an emulation layer for the older Saturn processors found in previous HP calculators. This allowed the 49g+ to maintain binary-level compatibility with most of the programs written for the HP 49G calculator, as well as source code-level compatibility with many written for the HP 48 series.

Despite the emulation, the 49g+ was still much faster than any older model of HP calculator. The speed increase over the HP 49G is around 3-7 times depending on the task. It is even possible to run programs written for the ARM processor thus bypassing the emulation layer completely. A port of the GNU C compiler is also available (see HPGCC below).

hp 48gII[edit]

hp 48gII
Hp48gii.jpg
hp 48gII graphing calculator
Introduced 2003-10-20
Latest firmware official: HP48-C 2.08 (2006) (not flashable),
emulator: HP48-C 2.09 (2006-06-03)[3]
Predecessor HP 49g+
Successor HP 50g
Calculator
Entry mode RPN, Algebraic
Display Size 131×64 pixels
CPU
Processor 48 MHz Samsung S3C2410X01 (with ARM920T core) (can be overclocked up to 203 MHz by certain user programs)
Programming
Programming language(s) RPL
User Memory 128 KiB RAM (original version) or 256 KiB RAM (second revision)
Interfaces
Ports serial port (using the Kermit or XModem protocols, non-standard), and IrDA (infrared) (original revision); or USB port, IrDA, and 3.3V TTL-level asynchronous serial asynchronous serial (second revision).
Other

The 48gII (F2226A), which was announced on 2003-10-20, was not a replacement for the HP 48 series as its name suggested. Rather it was a 49g+, also with an ARM processor (unlike the HP 48G), but with reduced memory, no expansion via an SD memory card, lower clock speed, a smaller screen, and a non-flashable firmware. This calculator seems to target users that desire mathematical capability, but have no desire to install many programs. The original 2003 version had 128 KiB RAM and ran on 3 AAA batteries, whereas the second 2007 version (based on the Apple V2 platform) needs 4 AAA batteries and comes with 256 KiB RAM, added an USB port and features a better keyboard.

hp 49gII[edit]

The hp 49gII provides a 131 x 80 pixel LCD.

HP 50g[edit]

HP 50g
Hp50.png
HP 50g graphing calculator, with the Equation Editor being used
Introduced 2006
Discontinued 2015[5]
Latest firmware HP50-C 2.15 (2009-04-21, 2006-09-19) /
OS 4.02 (build 106)[4]
Predecessor HP 49g+
Successor (HP Prime[5])
Calculator
Entry mode RPN, Algebraic
Display Size 131×80 pixels
CPU
Processor 75 MHz Samsung S3C2410A[6] (ARM920T core) (can be overclocked up to 203 MHz by certain user programs)
Programming
Programming language(s) RPL
User Memory MiB flash memory, 512 KiB RAM
External Memory SDSC/MMC memory card (including miniSD/microSD/TransFlash with adapter; up to 2 GiB formatted as FAT12/FAT16/FAT16B/FAT32; size display and formatting limited to 1 GiB)
Other

The HP 50g (F2229A) is the latest calculator in the 49/50 series. The most apparent change is a revised color scheme, returning the unit to a more traditional HP calculator appearance. Using black plastic for the entire body, white, orange and yellow are used for function shift keys. The back shell is textured more deeply than the 49g+ to provide a more secure grip. A blue and white color scheme variant specifically tailored for high-contrast is available as well (NW240AA).

The form and size of the calculator shell is identical to the 49g+ series, but four AAA batteries are used as opposed to three in previous models. In addition to all the features of the 49g+, the 50g also includes the full equation library found in the HP 48G series (also available for the 49g+ with firmware 2.06 and above), as well as the periodic table library originally available as a plug-in card for the 48S series, as of firmware 2.15 (the latest, as of 2014), and has an 3.3V TTL-level asynchronous serial port in addition to IrDA and USB ports of the 49g+. Like the 49g+, the range of the infrared port has been limited to about 10 cm (4 inches).

The asynchronous serial port is not a true RS-232 port as it uses different voltage levels and a non-standard connector. An external converter/adapter is required to interface with RS-232 equipment.

The keyboard, the most often criticized feature of the 49g+ calculators, uses the new design introduced on the very last 49g+ calculators (hinged keys) to eliminate previous problems.

A worldwide announcement regarding the availability of this calculator was made by HP in September 2006, and official details are available on the HP calculators webpage.[7]

Programming[edit]

The HP 49/50 series of calculators support both algebraic and a stack-based programming language named RPL, a combination of Reverse Polish Notation (RPN) and Lisp. RPL adds the concepts of lists and functions to stack-based programming, allowing the programmer to pass unevaluated code as arguments to functions, or return unevaluated code from a function by leaving it on the stack.

The highest level language is User RPL, consisting of sequences of built-in postfix operations, optionally including loops and conditionals. Every User RPL command checks the stack for its particular arguments and returns an error if they are incorrect or not present. Below User RPL is System RPL (SysRPL). Most System RPL commands lack argument checking and are defined only for specific argument types (e.g. short integer vs. long integer), making System RPL programs run dramatically faster than equivalent User RPL ones. In addition, System RPL includes many advanced functions that are not available in User RPL. System RPL programs can be created without the use of PC software (although it is available), thanks to the calculator's built-in compiler, MASD. MASD also can compile Saturn assembly language and, with the latest firmware revision for the 49g+/50g, ARMv4T assembly language on the calculator itself. Many tools exist to assist programmers and make the calculator a powerful programming environment.

Saturn assembly, and, on the 49g+/50g, ARM assembly and C, are also programmable using desktop based compilers. See also the programs available for the HP 48 series.

No model of this series is programmable in HP PPL.

HPGCC for the 49g+/50g[edit]

HPGCC is an implementation of the GCC compiler, released under the GNU GPL. It is now mainly targeted at the ARM-based 49g+/50g calculators. Previous versions of HPGCC supported the other ARM-based calculator models (the 48gII, and the hp 39g+/HP 39gs/HP 40gs), but this was removed due to lack of interest and compatibility issues. Formally, HPGCC is a cross-compiler; it compiles code for the ARM-based HP calculators, but runs on a PC rather than the target system.

The latest version of HPGCC offers many enhancements from earlier versions. Most notably, the compiled code is now in ARM Thumb mode by default, resulting in great reduction in code size with little performance hit. Besides implementing most of ANSI C, there are device-specific libraries that allow access to things like the calculator's RPN stack, memory and piezoelectric buzzer. The GCC compiler itself is the property of the Free Software Foundation, and they state that its use does not impose any particular licensing restrictions on any of its output. However, the libraries included with HPGCC, including routines necessary to actually invoke any HPGCC-compiled program on an actual calculator, are released under a modified GPL license, contrary to GCC on many other platforms which use a more permissive license for their libraries. Thus any programs that link against them can only be distributed if they are also released under the GPL (with an exception for "non-profit" software).

Linux, Windows, and Mac OS X versions are available for download. The Windows version also includes a version of Programmer's Notepad for a basic IDE.

Emulators[edit]

There are several emulators available for the HP 49G calculator. A version of EMU48 is available in the Debug4x IDE that allows emulation of most of the features of the 49g+/50g but will not execute any ARM-based code.

An ARM-based emulator, x49gp, has been released and allows the true emulation of the 49g+/50g ARM processor and successfully runs HPGCC 2 and 3 compiled programs. At this time the emulator is only available for Linux and Mac OS X and must be compiled from the source. (See README.QUICKSTART for details.)

An emulator for the HP 48G is available for iOS and Maemo devices. The free app m48 emulates a HP 48GX, and the paid version also supports HP 49G. So far, there are no 49g+/50g emulators for smartphones with the exception of [1] HP50g for iPhone and iPad released in October 2012.

An emulator for Microsoft Windows Mobile (PPC, smartphones) is available.[8]

An emulator for the HP 48 also is available for Android (Droid48).[9]

Other 48G/49G and 49g+/50g emulators for Android (without ARM support).[10]

Firmware updates[edit]

The 49/50 series allows the user to update the firmware to gain enhanced features or bug fixes. Official firmware updates are released by Hewlett-Packard. Unsupported unofficial firmware updates are also available at sites such as hpcalc.org.

See also[edit]

References[edit]

Further reading[edit]

  • "HP 50g graphing calculator user's manual" (UM), Hewlett-Packard. Edition 1 (2006-04), HP part number F2229AA-90001. http://www.hpcalc.org/details.php?id=6513
  • "HP 50g graphing calculator user's guide" (UG), Hewlett-Packard. Edition 1 (2006-04), HP part number F2229AA-90006. http://www.hpcalc.org/details.php?id=6512
  • "HP 50g / 49g+ / 48gII graphing calculator advanced user’s reference manual" (AUR), Hewlett-Packard. Edition 2 (2009-07-14), first published: Edition 1 (2005–09), HP part number F2228-90010. http://www.hpcalc.org/details.php?id=7141
  • "HP 50g Grafikfähiger Taschenrechner - Benutzerhandbuch (Deutsch)" (UM) (German), Hewlett-Packard. Edition 1 (2006-04), HP part number F2229AA-90009?, HDP1G49AGN2 MWZ, 8-82780-50234-5. http://h10032.www1.hp.com/ctg/Manual/c00748603.pdf
  • "HP 50g Grafikfähiger Taschenrechner - Erweiterte Anleitung (Deutsch)" (UG) (German), Hewlett-Packard. Edition 1 (2006-04), HP part number F2229AA-90009?. This ca. 1000-pages sized book erroneously carries the same part number as the much thinner user's manual.

External links[edit]