X51 V1.1

Description:

X51, MON51, and MINI51 are a set of universal monitors for the 8051 series of microcontrollers. They provide versatile commands to access all components of the system.

The full version X51 needs at least 32 Kbytes ROM, for smaller systems you may use MON51 at 8 Kbytes or MINI51 at 4 Kbytes. The latter don't have the specialized commands for non-standard 8051.

Download:

x51.zip Archive with sources, documentations, and binaries, 129KB.

Requirements:

Automatic baud rate recognition:

After the reset the monitor waits for two characters on the serial line. The first one is used to find out the baud rate, so its LSBit has to be "1" e. g. CR. The monitor expects the second character to be CR to ensure that it found out the correct baud rate. If this condition is met, the monitor sends:

Welcome to X51 V1.1!
Enter "HE" for help.

By rule of thumb use low baudrates at low clock frequencies and vice versa.

Common commands:

Command Description MINI51 MON51 X51
HE shows help text X X X
TYt select type - - X
RS soft reset X X X
FMb calculate crystal frequency X X X
DLt delay X - -
SOa,d write sfr byte - X X
SIa read sfr byte - X X
SSa,d set sfr bit - X X
STa test sfr bit - X X
XWa,d write external memory, autoinc X X X
XRa read external memory, autoinc X X X
XOa,d write external memory X X X
XIa read external memory X X X
XPb,e prepare external memory for test X X X
XTb,e test external memory X X X
MHa measure high pulse - X X
MLa measure low pulse - X X
OHa,t high pulse output - X X
OLa,t low pulse output - X X
POp,d write port X - X
PIp read port X - X
0I idle mode (80Cxx only) X - X
0S power down mode (80Cxx only) X - X

Special commands in X51:

8051 Description
POp,d write port
PIp read port
80C51 Description
POp,d write port
PIp read port
0I idle mode
0S power down mode
8052 Description
POp,d write port
PIp read port
80C52 Description
POp,d write port
PIp read port
0I idle mode
0S power down mode
80515 Description
POp,d write port
PIp read port
AIa,r read analog
80C515 Description
POp,d write port
PIp read port
AIa,r read analog
0I idle mode
0S power down mode
80C515A Description
POp,d write port
PIp read port
AIa read analog
XE enable xram
0I idle mode
0S power down mode
0De slow down or normal
80C552 Description
POp,d write port
PIp read port
APp pwm prescaler
AOr,r pwm output
AIa read analog
ICc set I2C clock
IAa set address for I1, I2 and IR
I1d transmit as master 1 byte
I2d,d transmit as master 2 bytes
IR receive as master
ISa,d transmit/receive as slave
0I idle mode
0S power down mode
80C652 Description
POp,d write port
PIp read port
ICc set I2C clock
IAa set address for I1, I2 and IR
I1d transmit as master 1 byte
I2d,d transmit as master 2 bytes
IR receive as master
ISa,d transmit/receive as slave
0I idle mode
0S power down mode

Horizontal Bar.

Who to blame:

Back to my home page.

Comments and such stuff go to: [email protected]