BASCOM-AVR Software
BASCOM-AVR1®
is a Windows BASIC COMPILER for the AVR family.
It is designed to run on all versions of MS Windows (W9x, NT, 2000, ME, XP
and Vista)
and will program directly to our ATMEL AVR Programmer
3122.
Key Benefits
- Structured BASIC with labels.
- Structured programming with IF-THEN-ELSE-END IF, DO-LOOP, WHILE-WEND,
SELECT- CASE.
- Fast machine code instead of interpreted code.
- Variables and labels can be as long as 32 characters.
- Bit, Byte, Integer, Word, Long, Single and String variables.
- Compiled programs work with all AVR microprocessors that have internal
memory.
- Statements are highly compatible with Microsoft's VB/QB.
- Special commands for LCD-displays , I2C chips and 1WIRE
chips, PC keyboard, matrix keyboard, RC5 reception, software UART,
SPI , graphical LCD, send IR RC5 or Sony code.
- Local variables, user functions, library support.
- Integrated terminal emulator with download option.
- Integrated simulator for testing.
- Integrated ISP programmer (application note AVR910.ASM).
- Integrated Quasar Electronics ATMEL AVR Programmer
3122
- Integrated STK200 programmer, STK300 programmer, STK500 and STK500 extended
Programmers. Other programmers also supported - see
DEMO version for full list.
- Can be used with our Atmel AVR Development
Boards
- Editor with statement highlighting.
- Context sensitive help.
- Perfectly matches the DT006 SimmStick
- FREE Internet Auto Update facility built into software means you can
always have the latest program version
- Try it before you buy it!
Get the DEMO VERSION now! (compiles
2KB of code. Well suited for the AT90S2313).
Supported Statements
The following statements are supported (actually there are more - see
DEMO version help file for full list):
Decision and structures
IF, THEN, ELSE, ELSE IF, END IF, DO, LOOP, WHILE, WEND, UNTIL, EXIT DO,
EXIT WHILE, FOR, NEXT, TO, DOWNTO, STEP, EXIT FOR, ON .. GOTO/GOSUB, SELECT,
CASE.
Input and output
PRINT, INPUT, INKEY, PRINT, INPUTHEX, LCD, UPPERLINE, LOWERLINE,DISPLAY ON/OFF,
CURSOR ON/OFF/BLINK/NOBLINK, HOME, LOCATE, SHIFTLCD LEFT/RIGHT, SHIFTCURSOR
LEFT/RIGHT, CLS, DEFLCDCHAR, WAITKEY, INPUTBIN, PRINTBIN, OPEN, CLOSE,
DEBOUNCE, SHIFTIN, SHIFTOUT, GETATKBD
Numeric functions
AND, OR, XOR, INC, DEC, MOD, NOT, ABS, BCD, SIN,COS,TAN,EXP.
I2C
I2CSTART, I2CSTOP, I2CWBYTE, I2CRBYTE, I2CSEND and I2CRECEIVE.
1WIRE
1WWRITE, 1WREAD, 1WRESET, 1WIRECOUNT, 1WSEARCHFIRST, 1WSEARCHNEXT.
SPI
SPIINIT, SPIIN, SPIOUT.
Interrupt programming
ON INT0/INT1/TIMER0/TIMER1/SERIAL, RETURN, ENABLE, DISABLE, COUNTERx, CAPTUREx,
INTERRUPTS, CONFIG, START, LOAD.
Bit manipulation
SET, RESET, ROTATE, SHIFT, BITWAIT, TOGGLE.
Variables
DIM, BIT , BYTE , INTEGER , WORD, LONG, SINGLE, STRING , DEFBIT, DEFBYTE, DEFINT,
DEFWORD.
Miscellaneous
REM, ' , SWAP, END, STOP, CONST, DELAY, WAIT, WAITMS, GOTO, GOSUB, POWERDOWN,
IDLE, DECLARE, CALL, SUB, END SUB, MAKEDEC, MAKEBCD, INP,OUT, ALIAS, DIM , ERASE,
DATA, READ, RESTORE, INCR, DECR, PEEK, POKE, CPEEK, FUNCTION, READMAGCARD.
Compiler directives
$INCLUDE, $BAUD and $CRYSTAL, $SERIALINPUT, $SERIALOUTPUT, $RAMSIZE, $RAMSTART,
$DEFAULT XRAM, $ASM-$END ASM, $LCD, $EXTERNAL, $LIB.
String manipulation
STRING, SPACE, LEFT, RIGHT, MID, VAL, HEXVAL, LEN, STR, HEX, LTRIM, RTRIM, TRIM,
LCASE, UCASE.
Program Creation
To make a program takes just a few steps:
- Write the program in BASIC
- Compile it to fast machine binary
code
- Test the result with the integrated
simulator (with additional hardware you can simulate the hardware too).
- Program the chip with one of the integrated
programmers.
(hardware must be purchased separately)
Write
The program can be written in a comfortable MDI colour coded editor.
Besides the normal editing features, the editor supports Undo, Redo, Bookmarks
and block indention.

Simulate
The simulator lets you test your program before writing it to the uP.
You can watch variables, step through the program one line at the time or
run to a specific line, or you can alter variables.
To watch a variables value you can also point the mouse cursor over it.

uP TAB of simulator

A powerful feature is the hardware emulator, to emulate the LCD display,
and the ports. The LCD emulator also emulates custom build LCD characters!

You can even simulate the hardware ports with the special basmon monitor
program!
Burn
When you are done with the simulator it is time to program the chip using
one of the supported programmer drivers.

Still not convinced?
Bascom Version
The version of BASCOM supplied will be less than 6 months old but it does
not matter as you can update to the very latest version free of charge using
the Update Wizzard utility supplied with the software.
Product
Code |
Description |
Price
each exc. VAT (GB Pounds) |
INC. VAT each
1+ |
Quantity
|
| 1+ |
5+ |
| BASAVR |
Bascom AVR BASIC Compiler Software* |
£46.77 |
£39.75 |
GB£54.95 |
|
| BASC51AVR |
Bascom AVR and 8051 BASIC Compilers Combo |
£80.81 |
£68.69 |
GB£94.95 |
|
| BSCAVRB |
BASCOM-AVR cross software upgrade for registered BASCOM users
(see below) |
£34.000 |
£28.90 |
GB£39.95 |
|
Please note that because a registration file is created
specifically in your name that we cannot accept order cancellations for software
registrations once received by us.
BASCOM-LT and BASCOM-8051 users can order the cross upgrade BSCABRB.
Your serial number is required for this - please add to the order form
comments box.