bascom AVR.pdf
(
16880 KB
)
Pobierz
BASCOM-AVR
© MCS Electronics , 1995-2008
BASCOM-AVR user manual
Introduction
by MCS Electronics
Dear reader.
Thank you for your interest in BASCOM.
BASCOM was "invented" in 1995. It was intended for personal usage only. I
decided to make it public as I found no other tool that was so simple to use.
Since that time, a lot of options and extensions were added. Without the help
and patience of the many users, BASCOM would not be what it is today :
"the best and most affordable tool for fast proto typing".
We hope that BASCOM will contribute in making your work with
microprocessors Easy and enjoyable.
Please notice that the samples in the manual are intended as simple
samples. You should have a look at the sample code provided in the
SAMPLES directory.
The MCS Electronics Team
BASCOM-AVR
© 2008 MCS Electronics
All rights reserved. No parts of this work may be reproduced in any form or by any means - graphic, electronic, or
mechanical, including photocopying, recording, taping, or information storage and retrieval systems - without the
written permission of the publisher.
Products that are referred to in this document may be either trademarks and/or registered trademarks of the
respective owners. The publisher and the author make no claim to these trademarks.
While every precaution has been taken in the preparation of this document, the publisher and the author assume no
responsibility for errors or omissions, or for damages resulting from the use of information contained in this document
or from the use of programs and source code that may accompany it. In no event shall the publisher and the author be
liable for any loss of profit or any other commercial damage caused or alleged to have been caused directly or
indirectly by this document.
Printed: 22-2-2008
Publisher
Special thanks to:
MCS Electronics
All the people who contributed to this document, all the
forum members that contributed in a positive way, all beta
testers , and all customers.
Managing Editor
M.C.Alberts
While there is not enough space to mention all
contributors, there are a few that I feel must be mentioned
:
Josef Franz Vögel. He wrote the Trig libraries, the
AVR-DOS file system and the DOUBLE library.
Technical Editors
M.C.Alberts
Cover Designer
Luciano Ian and Adrian, they are very active on the user
forum. They take the time to give other forum members
free help and advise. They do this for free just to help
other BASOM users.
B.F.de Graaff
4
BASCOM-AVR
Table of Contents
Foreword
0
Part I Index
20
1 Keyword Reference
................................................................................................................................... 24
................................................................................................................................... 21
2 About MCS Electronics
......................................................................................................................................................... 25
Custom Designs
......................................................................................................................................................... 26
Application Notes
Part II Installation
28
1 Installation of BASCOM
................................................................................................................................... 34
................................................................................................................................... 28
2 Updates
3 Move to new PC
................................................................................................................................... 43
Part III BASCOM IDE
45
1 Running BASCOM-AVR
................................................................................................................................... 47
................................................................................................................................... 45
2 File New
3 File Open
................................................................................................................................... 48
................................................................................................................................... 48
4 File Close
................................................................................................................................... 48
5 File Save
................................................................................................................................... 48
6 File Save As
................................................................................................................................... 49
7 File Print Preview
................................................................................................................................... 49
8 File Print
9 File Exit
................................................................................................................................... 49
10 Edit Undo
................................................................................................................................... 49
................................................................................................................................... 49
11 Edit Redo
................................................................................................................................... 49
12 Edit Cut
13 Edit Copy
................................................................................................................................... 50
................................................................................................................................... 49
14 Edit Paste
................................................................................................................................... 50
15 Edit Find
16 Edit Find Next
................................................................................................................................... 50
................................................................................................................................... 50
17 Edit Replace
................................................................................................................................... 50
18 Edit Goto
................................................................................................................................... 50
19 Edit Toggle Bookmark
................................................................................................................................... 50
20 Edit Goto Bookmark
................................................................................................................................... 50
21 Edit Indent Block
................................................................................................................................... 51
22 Edit Unindent Block
................................................................................................................................... 51
23 Edit Remark Block
................................................................................................................................... 51
24 View PinOut
................................................................................................................................... 55
25 View PDF viewer
................................................................................................................................... 57
26 View Error Panel
................................................................................................................................... 57
27 View Tip
© 2008 MCS Electronics
Contents
5
28 Program Compile
................................................................................................................................... 58
................................................................................................................................... 58
29 Program Syntax Check
................................................................................................................................... 60
30 Program Show Result
................................................................................................................................... 61
31 Program Simulate
................................................................................................................................... 72
32 Program Send to Chip
................................................................................................................................... 75
33 Tools Terminal Emulator
................................................................................................................................... 76
34 Tools LCD Designer
................................................................................................................................... 78
35 Tools LIB Manager
................................................................................................................................... 79
36 Tools Graphic Converter
................................................................................................................................... 80
37 Tools Stack Analyzer
................................................................................................................................... 80
38 Tools Plugin Manager
................................................................................................................................... 81
39 Tools Batch Compile
................................................................................................................................... 84
40 Tools PDF Update
................................................................................................................................... 85
41 Options Compiler
......................................................................................................................................................... 86
Options Compiler Chip
......................................................................................................................................................... 87
Options Compiler Output
......................................................................................................................................................... 88
Options Compiler Communication
......................................................................................................................................................... 89
Options Compiler I2C, SPI, 1WIRE
......................................................................................................................................................... 90
Options Compiler LCD
................................................................................................................................... 91
42 Options Communication
................................................................................................................................... 92
43 Options Environment
................................................................................................................................... 96
44 Options Simulator
................................................................................................................................... 97
45 Options Programmer
......................................................................................................................................................... 98
Supported Programmers
.................................................................................................................................................. 99
ISP programmer
.................................................................................................................................................. 100
PG302 programmer
.................................................................................................................................................. 100
Sample Electronics cable programmer
.................................................................................................................................................. 101
KITSRUS Programmer
.................................................................................................................................................. 102
MCS Universal Interface Programmer
.................................................................................................................................................. 104
STK500 Programmer
.................................................................................................................................................. 106
Lawicel BootLoader
.................................................................................................................................................. 106
AVR ISP Programmer
.................................................................................................................................................. 107
USB-ISP Programmer
.................................................................................................................................................. 111
MCS Bootloader
.................................................................................................................................................. 113
PROGGY
................................................................................................................................... 113
46 Options Monitor
................................................................................................................................... 114
47 Options Printer
................................................................................................................................... 114
48 Window Cascade
................................................................................................................................... 115
49 Window Tile
................................................................................................................................... 115
50 Window Arrange Icons
................................................................................................................................... 115
51 Window Minimize All
................................................................................................................................... 115
52 Help About
................................................................................................................................... 116
53 Help Index
................................................................................................................................... 117
54 Help MCS Forum
................................................................................................................................... 118
55 Help MCS Shop
................................................................................................................................... 118
56 Help Support
................................................................................................................................... 119
57 Help Knowledge Base
© 2008 MCS Electronics
Plik z chomika:
witold23
Inne pliki z tego folderu:
gigantyczny zegar 2.zip
(7 KB)
gadająca kostka.zip
(2 KB)
elektroniczna maszyna do pisania.zip
(3 KB)
efekt dyskotekowy - skaner sterowany cyfrowo.zip
(2 KB)
dialer na AT90S2313.zip
(1 KB)
Inne foldery tego chomika:
NIEZBEDNIK pcb
Płytki pcb w domu
Programy do programowania Ukladów
Schematy urzadzen z kodem HEX
Zgłoś jeśli
naruszono regulamin