summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAndrej Shadura <andrewsh@debian.org>2018-05-08 15:59:31 +0200
committerAndrej Shadura <andrewsh@debian.org>2018-05-08 15:59:31 +0200
commit47aa8b00b2b11df13a100489e0f904a4947177ef (patch)
treeb35c9acc778ea2f761f3c549f7bee2f4491b3144 /data
parent5b8466f7fae0e071c0f4eda13051c93313910028 (diff)
Import Upstream version 1.4.7
Diffstat (limited to 'data')
-rw-r--r--data/license.txt (renamed from data/licence.txt)0
-rw-r--r--data/mcus.xml103
-rw-r--r--data/project.dtd12
-rw-r--r--data/tips.xml105
4 files changed, 140 insertions, 80 deletions
diff --git a/data/licence.txt b/data/license.txt
index 6904999..6904999 100644
--- a/data/licence.txt
+++ b/data/license.txt
diff --git a/data/mcus.xml b/data/mcus.xml
index 3c75a4a..4755c75 100644
--- a/data/mcus.xml
+++ b/data/mcus.xml
@@ -11,22 +11,22 @@
<!-- MCU definition tag -->
<!ELEMENT mcu (timers, more, bits, writeonly, sfr)>
-
+
<!-- Detailed specification of MCU parameters (all of them must not be an empty string)
vendor - Vendor name
name - Processor type
xdata - External data memory connectable
- xcode - External program memoryconnectable
+ xcode - External program memoryconnectable
code - Capacity of internal program memory in kilo bytes (not bytes !)
frequency - Operating oscilator frequency (e.g "0 to 24 MHz")
ram - Capacity of internal data memory in bytes
portbits - Number of IO lines
- uart - UART avaliable
+ uart - UART available
interrupts - Number of interrupts
voltage - Oprating voltage (e.g "2.7 to 5.5 V")
- timer2 - Timer 2 avaliable
- watchdog - Watchdog timer avaliable
- eram - Size of ERAM (0 means no eram avaliable) (> 0 requires intelpe="no")
+ timer2 - Timer 2 available
+ watchdog - Watchdog timer available
+ eram - Size of ERAM (0 means no eram available) (> 0 requires intelpe="no")
dualdtpr - Dual Data Pointer (includes register AUXR1 if wdtcon="no")
auxr - Register AUXR
t2mod - Register T2MOD
@@ -34,14 +34,14 @@
0 - Bit not implemented
1 - Bit implemented
e.g. port0="11110011" means:
- P0.0 - implemented
- P0.1 - implemented
- P0.2 - implemented
- P0.3 - implemented
- P0.4 - not implemented
- P0.5 - not implemented
- P0.6 - implemented
- P0.7 - implemented
+ P0.0 - implemented
+ P0.1 - implemented
+ P0.2 - implemented
+ P0.3 - implemented
+ P0.4 - not implemented
+ P0.5 - not implemented
+ P0.6 - implemented
+ P0.7 - implemented
pof - Power Off Flag implemented
gf0 - PCON.3 (General purpose flag) implemented
gf1 - PCON.4 (General purpose flag) implemented
@@ -132,12 +132,12 @@
<!-- Hexadecimal addresses of write only registers (e.g. AF 85 4B) -->
<!ELEMENT writeonly (#PCDATA)>
-
- <!-- List of SFR and SFB which are avaliable on the choosen MCU
+
+ <!-- List of SFR and SFB which are available on the choosen MCU
Implicit SFR and SFB:
B ACC A TMOD TH0 TH1 SP DPL DPH PCON
TL0 TL1 AB
-
+
PSW C CY AC F0 RS1 RS0 OV P
IE EA ET1 EX1 ET0 EX0
IP PT1 PX1 PT0 PX0
@@ -145,7 +145,7 @@
-->
<!ELEMENT sfr (#PCDATA)>
]>
-<mcus lastupdate="02/10/09">
+<mcus lastupdate="11/02/11">
<mcu
vendor="Intel" name="8051"
xdata="yes" xcode="yes"
@@ -384,7 +384,7 @@
</writeonly><sfr>
P0 P1 P2 P3 SBUF ES PS ET2 PT2
RCAP2L RCAP2H TL2 TH2
-
+
SCON SM0 SM1 SM2 REN TB8 RB8 TI RI
T2CON TF2 EXF2 RCLK TCLK EXEN2 TR2 CT2 CPRL2
</sfr>
@@ -422,7 +422,7 @@
</writeonly><sfr>
P0 P1 P2 P3 SBUF ES PS ET2 PT2
RCAP2L RCAP2H TL2 TH2
-
+
SCON SM0 SM1 SM2 REN TB8 RB8 TI RI
T2CON TF2 EXF2 RCLK TCLK EXEN2 TR2 CT2 CPRL2
</sfr>
@@ -460,7 +460,7 @@
</writeonly><sfr>
P0 P1 P2 P3 SBUF ES PS ET2 PT2
RCAP2L RCAP2H TL2 TH2
-
+
SCON SM0 SM1 SM2 REN TB8 RB8 TI RI
T2CON TF2 EXF2 RCLK TCLK EXEN2 TR2 CT2 CPRL2
</sfr>
@@ -505,9 +505,9 @@
C903 B83F A8BF 878F
</bits><writeonly>
</writeonly><sfr>
- P0 P1 P2 P3 SBUF ES PS ET2 PT2
+ P0 P1 P2 P3 SBUF ES PS ET2 PT2
SADEN SADDR RCAP2L RCAP2H TL2 TH2 T2MOD IPH FE
-
+
SCON SM0 SM1 SM2 REN TB8 RB8 TI RI
T2CON TF2 EXF2 RCLK TCLK EXEN2 TR2 CT2 CPRL2
</sfr>
@@ -554,7 +554,7 @@
</writeonly><sfr>
P0 P1 P2 P3 SBUF ES PS ET2 PT2
SADEN SADDR RCAP2L RCAP2H TL2 TH2 T2MOD IPH FE
-
+
SCON SM0 SM1 SM2 REN TB8 RB8 TI RI
T2CON TF2 EXF2 RCLK TCLK EXEN2 TR2 CT2 CPRL2
</sfr>
@@ -601,7 +601,7 @@
</writeonly><sfr>
P0 P1 P2 P3 SBUF ES PS ET2 PT2
SADEN SADDR RCAP2L RCAP2H TL2 TH2 T2MOD IPH FE
-
+
SCON SM0 SM1 SM2 REN TB8 RB8 TI RI
T2CON TF2 EXF2 RCLK TCLK EXEN2 TR2 CT2 CPRL2
</sfr>
@@ -648,7 +648,7 @@
</writeonly><sfr>
P0 P1 P2 P3 SBUF ES PS ET2 PT2
SADEN SADDR RCAP2L RCAP2H TL2 TH2 T2MOD IPH FE
-
+
SCON SM0 SM1 SM2 REN TB8 RB8 TI RI
T2CON TF2 EXF2 RCLK TCLK EXEN2 TR2 CT2 CPRL2
</sfr>
@@ -695,7 +695,7 @@
</writeonly><sfr>
P0 P1 P2 P3 SBUF ES PS ET2 PT2
SADEN SADDR RCAP2L RCAP2H TL2 TH2 T2MOD IPH FE
-
+
SCON SM0 SM1 SM2 REN TB8 RB8 TI RI
T2CON TF2 EXF2 RCLK TCLK EXEN2 TR2 CT2 CPRL2
</sfr>
@@ -742,7 +742,7 @@
</writeonly><sfr>
P0 P1 P2 P3 SBUF ES PS ET2 PT2
SADEN SADDR RCAP2L RCAP2H TL2 TH2 T2MOD IPH FE
-
+
SCON SM0 SM1 SM2 REN TB8 RB8 TI RI
T2CON TF2 EXF2 RCLK TCLK EXEN2 TR2 CT2 CPRL2
</sfr>
@@ -789,7 +789,7 @@
</writeonly><sfr>
P0 P1 P2 P3 SBUF ES PS ET2 PT2
SADEN SADDR RCAP2L RCAP2H TL2 TH2 T2MOD IPH FE
-
+
SCON SM0 SM1 SM2 REN TB8 RB8 TI RI
T2CON TF2 EXF2 RCLK TCLK EXEN2 TR2 CT2 CPRL2
</sfr>
@@ -1136,6 +1136,51 @@
T2CON TF2 EXF2 RCLK TCLK EXEN2 TR2 CT2 CPRL2
</sfr>
</mcu><mcu
+ vendor="Atmel" name="AT89S51"
+ xdata="yes" xcode="yes"
+ code="4" frequency="0 to 33 MHz"
+ ram="128" portbits="32"
+ uart="yes" interrupts="6"
+ voltage="4.0 to 5.5" timer2="no"
+ watchdog="yes" eram="0"
+ dualdtpr="yes" auxr="yes"
+ t2mod="no" port0="11111111"
+ port1="11111111" port2="11111111"
+ port3="11111111" port4=""
+ pof="yes" gf0="yes"
+ gf1="yes" pd="no"
+ idl="no" smod0="no"
+ iph="no" acomparator="no"
+ euart="no" clkreg="no"
+ pwdex="no" spi="no"
+ wdtcon="no" eeprom="0"
+ intelpe="no" pwm="no"
+ x2reset="no" ckcon="no"
+ auxr1gf3="no" ao="no"
+ wdtprg="no" hddptr="no"
+ auxrwdidle="yes" auxrdisrto="yes">
+ <timers>Two 16-bit</timers>
+ <more>
+ Three-level Program Memory Lock
+ Low-power Idle and Power-down Modes
+ Interrupt Recovery from Power-down Mode
+ Watchdog Timer
+ Dual Data Pointer
+ Power-off Flag
+ Fast Programming Time
+ Flexible ISP Programming (Byte and Page Mode)
+ </more><bits>
+ B83F A8BF A201 8E19 878F
+ </bits><writeonly>
+ A6
+ </writeonly><sfr>
+ P0 P1 P2 P3 SBUF
+ T2MOD AUXR AUXR1 WDTRST
+ DP0H DP0L DP1H DP1L
+ SCON SM0 SM1 SM2 REN TB8 RB8 TI RI
+ T2CON TF2 EXF2 RCLK TCLK EXEN2 TR2 CT2 CPRL2
+ </sfr>
+ </mcu><mcu
vendor="Atmel" name="AT89S52"
xdata="yes" xcode="yes"
code="8" frequency="0 to 33 MHz"
diff --git a/data/project.dtd b/data/project.dtd
index 8663e17..ba880f4 100644
--- a/data/project.dtd
+++ b/data/project.dtd
@@ -9,7 +9,7 @@
<!-- Root element Parameters:
version - Project version (user defined)
date - Project last update (user defined)
- creator_ver - MCU 8051 IDE version (hardcoded in program)
+ creator_ver - MCU 8051 IDE version (hardcoded in the program)
-->
<!ATTLIST tk_mcuide_project
version CDATA #IMPLIED
@@ -68,9 +68,9 @@
grid - Grid mode
magnification - Magnification level (must be an integer between 0 and 3)
enabled - Graph enable flag (Boolean value 0 or 1)
- marks_s - List of state graph marks (String of zeros and ones, e.g. 00100110)
- marks_l - List of laches graph marks (String of zeros and ones, e.g. 00100110)
- marks_o - List of output graph marks (String of zeros and ones, e.g. 00100110)
+ marks_s - List of state graph marks (String of zeros and ones perfixed with 'X', and converted to hexadecimal)
+ marks_l - List of laches graph marks (String of zeros and ones perfixed with 'X', and converted to hexadecimal)
+ marks_o - List of output graph marks (String of zeros and ones perfixed with 'X', and converted to hexadecimal)
active_page - Active page
-->
<!ATTLIST graph
@@ -190,10 +190,10 @@
<!-- File path -->
<!ELEMENT path (#PCDATA)>
-<!-- Bookmarks: string of zeros and ones -->
+<!-- Bookmarks: list of line numbers -->
<!ELEMENT bookmarks (#PCDATA)>
-<!-- Breakpoints: string of zeros and ones -->
+<!-- Breakpoints: list of line numbers -->
<!ELEMENT breakpoints (#PCDATA)>
<!-- End Of Line character name -->
diff --git a/data/tips.xml b/data/tips.xml
index 3fca882..6b658c6 100644
--- a/data/tips.xml
+++ b/data/tips.xml
@@ -1,15 +1,28 @@
-<?xml version='1.0' encoding='utf-8'?>
+<?xml version='1.0' encoding='utf-8' standalone='yes'?>
+
+<!--
+ This is the file containing "Tip of the Day" messages. Format of the
+ file is XML (eXtensible Markup Language) and is described on the inline
+ DTD (Document Type Definition).
+-->
+
<!DOCTYPE tips [
<!-- ROOT ELEMENT -->
<!ELEMENT tips (tip)*>
<!-- Tip text (Text must be in CDATA section)
- <b>Bold text</b> normal text
+ Available formatting tags:
+ <b>Bold text</b>
+ <c>Source code</c>
+
+ Note that if you want ``<'' or ``>'' character in the text, all
+ you have to do is just write it there. No HTML entities or
+ anything like that is used here.
-->
<!ELEMENT tip EMPTY>
<!-- Parameters for tag "tip":
- lang - Text language
+ lang - Language of the text
-->
<!ATTLIST tip
lang CDATA #REQUIRED
@@ -18,23 +31,23 @@
<tips>
<tip lang="en">
<![CDATA[
- You can cycle through all opened documents by pressing <b>Alt+Left</b> or <b>Alt+Right</b>. The next/previous document will immediately be displayed in the active frame.
+ You can cycle through all opened documents by pressing <b>Alt+Left</b> or <b>Alt+Right</b>. The next/previous document will immediately be displayed in the active frame.
]]>
</tip><tip lang="en">
<![CDATA[
- Graph (tab "IO Ports") significantly slows down MCU simulation ! It is a good to keep it off unless you need it.
+ Graph ("IO Ports" tab) significantly slows down MCU simulation! It is a good idea to keep it off unless you need it.
]]>
</tip><tip lang="en">
<![CDATA[
- You can repeat your last search by just pressing <b>F3</b>, or <b>Shift+F3</b> if you want to search backwards.
+ You can repeat your last search by just pressing <b>F3</b>, or <b>Shift+F3</b>, if you want to search backwards.
]]>
</tip><tip lang="en">
<![CDATA[
- You can swap the characters on each side of the cursor just by pressing <b>Ctrl+T</b>
+ You can swap the characters on each side of the cursor just by pressing <b>Ctrl+T</b>.
]]>
</tip><tip lang="en">
<![CDATA[
- You can configure syntax highlighting in <b>Editor configuration dialog</b>.
+ You can configure syntax highlighting in the <b>Editor configuration dialog</b>.
<b>Configure</b> -> <b>Editor Configuration</b>
]]>
</tip><tip lang="en">
@@ -53,29 +66,31 @@
]]>
</tip><tip lang="en">
<![CDATA[
- Sometimes you can make your work easier with editor command line. Inkove it by <b>F10</b> and type <b>help list</b> to get list of avaliable commands.
+ Sometimes you can make your work easier with the editor command line. Invoke it with <b>F10</b> and type <b>help list</b> to get a list of available commands.
]]>
</tip><tip lang="en">
<![CDATA[
- Use <b>quick search bars</b>. For instance you need to find a file in list of opened file. Write the name of that file to entrybox below the list and it's done.
+ Use <b>quick search bars</b>. For instance, you need to find a file in list of opened file. Write the name of that file to entrybox below the list and it's done.
]]>
</tip><tip lang="en">
<![CDATA[
- Burn your MSC51 manual (or better colleague's manual). Tab <b>"Instruction details"</b> (<b>Ctrl+0</b>) in the right panel gives you a list of all possible operands for instruction on current line in the editor.
+ Burn your MSC51 manual (or better, colleague's manual). Tab <b>"Instruction details"</b> (<b>Ctrl+0</b>) in the right panel gives you a list of all possible operands for the instruction on the current line in the editor.
]]>
</tip><tip lang="en">
<![CDATA[
You can use function <b>Auto-indent</b> to make badly formated code more readable.
- main: mov A, #55h
- mov R0,#20h
- movx @R0, A
- sjmp main
+ <c> main: mov A, #55h</c>
+ <c> mov R0, #20h</c>
+ <c> movx @R0, A</c>
+ <c> sjmp main</c>
+
<b>Tools</b> -> <b>Auto indent</b>
- main: mov A, #55h
- mov R0, #20h
- movx @R0, A
- sjmp main
+
+ <c> main: mov A, #55h</c>
+ <c> mov R0, #20h</c>
+ <c> movx @R0, A</c>
+ <c> sjmp main</c>
]]>
</tip><tip lang="en">
<![CDATA[
@@ -83,7 +98,7 @@
]]>
</tip><tip lang="en">
<![CDATA[
- You can edit content of external data memory and program memory with embedded hexadecimal editor. <b>Simulator</b> -> <b>Show ... memory</b>. So you can write programs directly in machine code (but is's better to use compiler).
+ You can edit the content of external data memory and program memory with the embedded hexadecimal editor. <b>Simulator</b> -> <b>Show ... memory</b>. You can write programs directly in machine code, (but it's better to use the compiler).
]]>
</tip><tip lang="en">
<![CDATA[
@@ -91,15 +106,15 @@
]]>
</tip><tip lang="en">
<![CDATA[
- This program have also supprot for command line interaface (CLI). Run <b>mcu8051ide --help</b> to get list of possible options.
+ This program also has support for a command line interface (CLI). Run <b>mcu8051ide --help</b> to get a list of possible options.
]]>
</tip><tip lang="en">
<![CDATA[
- Sometimes you might need to run an external program (e.g program uploader). In MCU 8051 IDE it can be accomplished by <b>Custom commands</b> ( <b>Configure</b> -> <b>Custom commands</b> ).
+ Sometimes you might need to run an external program (e.g program uploader). In MCU 8051 IDE, it can be accomplished by <b>Custom commands</b> ( <b>Configure</b> -> <b>Custom commands</b> ).
]]>
</tip><tip lang="en">
<![CDATA[
- You can export current document (assembly language source) as XHTML-1.1 or LaTeX.
+ You can export the current document (assembly language source) as XHTML-1.1 or LaTeX.
<b>Tools</b> -> <b>Export as ...</b>
]]>
</tip><tip lang="en">
@@ -109,7 +124,7 @@
]]>
</tip><tip lang="en">
<![CDATA[
- Right panel provides list of bookmarks and breakpoints defined in the editor.
+ The right panel provides a list of bookmarks and breakpoints defined in the editor.
]]>
</tip><tip lang="en">
<![CDATA[
@@ -118,21 +133,21 @@
]]>
</tip><tip lang="en">
<![CDATA[
- <b>Register watches</b> can make your work much easier. You can find them in the Right panel. Enter hexadecimal address of register which you want to watch to entry box with label "Addr" and press Enter. (1 or 2 hexadecimal digits means <b>IDATA</b> and 3 or 4 digits means <b>XDATA</b>)
+ <b>Register watches</b> can make your work much easier. You can define them in the Right panel. Enter the hexadecimal address of the register you want to watch in the text box at the bottom of the right panel with the label "Addr" and press Enter. (1 or 2 hexadecimal digits means <b>IDATA</b> and 3 or 4 digits means <b>XDATA</b>).
]]>
</tip><tip lang="en">
<![CDATA[
You can discuss this project at <b>http://mcu8051ide.sourceforge.net</b>.
- If you do find a bug, please report it either via <b>http://sourceforge.net/tracker/?func=add&group_id=185864&atid=914981</b> or via mail <b>martin.osmera@gmail.com</b>.
+ If you do find a bug, please report it via <b>http://sourceforge.net/tracker/?func=add&group_id=185864&atid=914981</b>
]]>
</tip><tip lang="en">
<![CDATA[
- You can customize compiler behavior in <b>Compiler config</b> dialog.
+ You can customize compiler behavior in the <b>Compiler config</b> dialog.
]]>
</tip><tip lang="en">
<![CDATA[
- You can enable/disable <b>popup-based completion</b> in editor configuration dialog.
+ You can enable/disable <b>popup-based completion</b> in the editor configuration dialog.
]]>
</tip><tip lang="en">
<![CDATA[
@@ -142,44 +157,44 @@
]]>
</tip><tip lang="en">
<![CDATA[
- Editor can be splitted vertical or horizontal. It Right click on editor status bar and choose split.
+ The editor can be split vertically or horizontally. Right click on the editor status bar and choose split.
]]>
</tip><tip lang="en">
<![CDATA[
- You can step your program back, default key shortcut is: <b>Ctrl+F7</b>. Behavior of this capability can be modified in simulator configuration dialog.
+ You can step your program back using the default key shortcut <b>Ctrl+F7</b>. Behavior of this capability can be modified in the simulator configuration dialog.
]]>
</tip><tip lang="en">
<![CDATA[
- MCU 8051 IDE can "hibernate" running program into a file. Later you can resume the hibernated program excatly from the same point where it was hibernated.
+ MCU 8051 IDE can "hibernate" the running program into a file. Later you can resume the hibernated program exactly from the same point where it was hibernated.
<b>Simulator</b> -> <b> Hibernate program </b>
<b>Simulator</b> -> <b> Resume hibernated program </b>
]]>
</tip><tip lang="en">
<![CDATA[
- You can navigate simulator to certain line in your source code. Press <b>Ctrl+G</b> in simulator mode and choose line. Simulator will set PC (Program Counter) to address in program memory coresponding to your choosen line.
+ You can navigate the simulator to a certain line in your source code. Press <b>Ctrl+G</b> in simulator mode and choose line. The simulator will set the PC (Program Counter) to the address in program memory corresponding to your chosen line.
]]>
</tip><tip lang="en">
<![CDATA[
- MCU 8051 IDE assembler can perform certain code optimalizations. They are enabled by default but you can disable the in compiler configuration dialog.
+ MCU 8051 IDE assembler can perform certain code optimizations. They are enabled by default but you can disable them in the compiler configuration dialog.
- More about optimalizations:
- LJMP code11 --> AJMP code11
- LJMP code8 --> SJMP code11
- LJMP code8 --> SJMP code8
- AJMP code8 --> SJMP code8
- LCALL code11 --> ACALL code11
- MOV 224d, ... --> MOV A, ...
- MOV ..., 224d --> MOV ..., A
- SETB 215 --> SETB C
- CLR 215 --> CLR C
+ More about optimizations:
+ <c>LJMP code11 </c>--> <c>AJMP code11</c>
+ <c>LJMP code8 </c>--> <c>SJMP code11</c>
+ <c>LJMP code8 </c>--> <c>SJMP code8</c>
+ <c>AJMP code8 </c>--> <c>SJMP code8</c>
+ <c>LCALL code11 </c>--> <c>ACALL code11</c>
+ <c>MOV 224d, ... </c>--> <c>MOV A, ...</c>
+ <c>MOV ..., 224d </c>--> <c>MOV ..., A</c>
+ <c>SETB 215 </c>--> <c>SETB C</c>
+ <c>CLR 215 </c>--> <c>CLR C</c>
]]>
</tip><tip lang="en">
<![CDATA[
- Sometimes it is not easy to track subprograms and interrupts invocations. In this IDE you can track them quite easily usining "Interrupt monitor" (<b>Simulator -> Interrupt Monitor</b>) and "List of subprograms" (<b>Ctrl+0</b>).
+ Sometimes it is not easy to track subprograms and interrupt invocations. In this IDE, you can track them quite easily using the "Interrupt monitor" (<b>Simulator -> Interrupt Monitor</b>) and "List of subprograms" (<b>Ctrl+0</b>).
]]>
</tip><tip lang="en">
<![CDATA[
- <b>Map of SFR</b> (<b>Simulator -> Map of SFR</b>) can provide you a transparent view of all special function registers avaliable on your choosen MCU.
+ <b>Map of SFR</b> (<b>Simulator -> Map of SFR</b>) can provide a transparent view of all special function registers available on your chosen MCU.
]]>
</tip>
<!--