Subversion Repositories svnkaklik

Compare Revisions

No changes between revisions

Ignore whitespace Rev 174 → Rev 182

/programy/Atmel_C/AVRcam/AVRcam.elf
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/programy/Atmel_C/AVRcam/AVRcam.kdevelop
0,0 → 1,102
<?xml version = '1.0'?>
<kdevelop>
<general>
<author>Jakub Kákona</author>
<email>kaklik@mlab.cz</email>
<version>$VERSION$</version>
<projectmanagement>KDevCustomProject</projectmanagement>
<primarylanguage>C</primarylanguage>
<ignoreparts/>
</general>
<kdevcustomproject>
<run>
<mainprogram>AVRcam</mainprogram>
<directoryradio>executable</directoryradio>
</run>
</kdevcustomproject>
<kdevdebugger>
<general>
<dbgshell/>
</general>
</kdevdebugger>
<kdevdoctreeview>
<ignoretocs>
<toc>ada</toc>
<toc>ada_bugs_gcc</toc>
<toc>bash</toc>
<toc>bash_bugs</toc>
<toc>clanlib</toc>
<toc>fortran_bugs_gcc</toc>
<toc>gnome1</toc>
<toc>gnustep</toc>
<toc>gtk</toc>
<toc>gtk_bugs</toc>
<toc>haskell</toc>
<toc>haskell_bugs_ghc</toc>
<toc>java_bugs_gcc</toc>
<toc>java_bugs_sun</toc>
<toc>kde2book</toc>
<toc>libstdc++</toc>
<toc>opengl</toc>
<toc>pascal_bugs_fp</toc>
<toc>php</toc>
<toc>php_bugs</toc>
<toc>perl</toc>
<toc>perl_bugs</toc>
<toc>python</toc>
<toc>python_bugs</toc>
<toc>qt-kdev3</toc>
<toc>ruby</toc>
<toc>ruby_bugs</toc>
<toc>sdl</toc>
<toc>stl</toc>
<toc>sw</toc>
<toc>w3c-dom-level2-html</toc>
<toc>w3c-svg</toc>
<toc>w3c-uaag10</toc>
<toc>wxwidgets_bugs</toc>
</ignoretocs>
<ignoreqt_xml>
<toc>Guide to the Qt Translation Tools</toc>
<toc>Qt Assistant Manual</toc>
<toc>Qt Designer Manual</toc>
<toc>Qt Reference Documentation</toc>
<toc>qmake User Guide</toc>
</ignoreqt_xml>
<ignoredoxygen>
<toc>KDE Libraries (Doxygen)</toc>
</ignoredoxygen>
</kdevdoctreeview>
<kdevfilecreate>
<filetypes/>
<useglobaltypes>
<type ext="c" />
<type ext="h" />
</useglobaltypes>
</kdevfilecreate>
<kdevcppsupport>
<references/>
<codecompletion>
<includeGlobalFunctions>true</includeGlobalFunctions>
<includeTypes>true</includeTypes>
<includeEnums>true</includeEnums>
<includeTypedefs>false</includeTypedefs>
<automaticCodeCompletion>true</automaticCodeCompletion>
<automaticArgumentsHint>true</automaticArgumentsHint>
<automaticHeaderCompletion>true</automaticHeaderCompletion>
<codeCompletionDelay>250</codeCompletionDelay>
<argumentsHintDelay>400</argumentsHintDelay>
<headerCompletionDelay>250</headerCompletionDelay>
</codecompletion>
</kdevcppsupport>
<kdevfileview>
<groups>
<hidenonprojectfiles>false</hidenonprojectfiles>
<hidenonlocation>false</hidenonlocation>
</groups>
<tree>
<hidepatterns>*.o,*.lo,CVS</hidepatterns>
<hidenonprojectfiles>false</hidenonprojectfiles>
</tree>
</kdevfileview>
</kdevelop>
/programy/Atmel_C/AVRcam/AVRcam.kdevelop.filelist
0,0 → 1,22
# KDevelop Custom Project File List
CamConfig.c
CamConfig.h
CamInterface.c
CamInterface.h
CommonDefs.h
DebugInterface.c
DebugInterface.h
Events.h
Executive.c
Executive.h
FrameMgr.c
FrameMgr.h
I2CInterface.c
I2CInterface.h
Main.c
UartInterface.c
UartInterface.h
UIMgr.c
UIMgr.h
Utility.c
Utility.h
/programy/Atmel_C/AVRcam/AVRcam.kdevelop.pcs
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/programy/Atmel_C/AVRcam/AVRcam.kdevses
0,0 → 1,41
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE KDevPrjSession>
<KDevPrjSession>
<DocsAndViews NumberOfDocuments="7" >
<Doc0 NumberOfViews="1" URL="file:///home/kaklik/projects/programy/Atmel_C/AVRcam/Main.c" >
<View0 line="45" Type="Source" />
</Doc0>
<Doc1 NumberOfViews="1" URL="file:///home/kaklik/projects/programy/Atmel_C/AVRcam/DebugInterface.c" >
<View0 line="75" Type="Source" />
</Doc1>
<Doc2 NumberOfViews="1" URL="file:///home/kaklik/projects/programy/Atmel_C/AVRcam/Utility.c" >
<View0 line="0" Type="Source" />
</Doc2>
<Doc3 NumberOfViews="1" URL="file:///home/kaklik/projects/programy/Atmel_C/AVRcam/CamConfig.c" >
<View0 line="0" Type="Source" />
</Doc3>
<Doc4 NumberOfViews="1" URL="file:///home/kaklik/projects/programy/Atmel_C/AVRcam/CamInterface.c" >
<View0 line="0" Type="Source" />
</Doc4>
<Doc5 NumberOfViews="1" URL="file:///home/kaklik/projects/programy/Atmel_C/AVRcam/Executive.c" >
<View0 line="0" Type="Source" />
</Doc5>
<Doc6 NumberOfViews="1" URL="file:///home/kaklik/projects/programy/Atmel_C/AVRcam/FrameMgr.c" >
<View0 line="16" Type="Source" />
</Doc6>
</DocsAndViews>
<pluginList>
<kdevdebugger>
<breakpointList/>
</kdevdebugger>
<kdevbookmarks>
<bookmarks/>
</kdevbookmarks>
<kdevvalgrind>
<executable path="" params="" />
<valgrind path="" params="" />
<calltree path="" params="" />
<kcachegrind path="" />
</kdevvalgrind>
</pluginList>
</KDevPrjSession>
/programy/Atmel_C/AVRcam/CamConfig.lst
1,4 → 1,4
GAS LISTING /tmp/ccaC5L8h.s page 1
GAS LISTING /tmp/cctTSiV3.s page 1
 
 
1 .file "CamConfig.c"
58,7 → 58,7
55 .stabs "uint_fast16_t:t(4,22)=(4,4)",128,0,215,0
56 .stabs "int_fast32_t:t(4,23)=(4,5)",128,0,220,0
57 .stabs "uint_fast32_t:t(4,24)=(4,6)",128,0,225,0
GAS LISTING /tmp/ccaC5L8h.s page 2
GAS LISTING /tmp/cctTSiV3.s page 2
 
 
58 .stabs "int_fast64_t:t(4,25)=(4,7)",128,0,230,0
118,7 → 118,7
31:CamConfig.c **** Description: This module is responsible for the
32:CamConfig.c **** high-level configuration activities of the OV6620
33:CamConfig.c **** camera module. This module interfaces with the
GAS LISTING /tmp/ccaC5L8h.s page 3
GAS LISTING /tmp/cctTSiV3.s page 3
 
 
34:CamConfig.c **** I2CInterface module to perform this configuration.
178,7 → 178,7
88:CamConfig.c **** CamConfig_setCamReg(0x12,0x28); /* set RGB mode, with no AWB */
89:CamConfig.c **** CamConfig_setCamReg(0x28,0x05); /* set color sequencer */
90:CamConfig.c **** CamConfig_setCamReg(0x13,0x01); /* un-tri-state the Y/UV lines */
GAS LISTING /tmp/ccaC5L8h.s page 4
GAS LISTING /tmp/cctTSiV3.s page 4
 
 
91:CamConfig.c ****
238,7 → 238,7
145:CamConfig.c **** /***********************************************************
146:CamConfig.c **** Function Name: CamConfig_writeTxFifo
147:CamConfig.c **** Function Description: This function is responsible for
GAS LISTING /tmp/ccaC5L8h.s page 5
GAS LISTING /tmp/cctTSiV3.s page 5
 
 
148:CamConfig.c **** adding a new command to the tx fifo. It adjusts all
298,7 → 298,7
170:CamConfig.c **** }
171:CamConfig.c **** return(retVal);
172:CamConfig.c **** }
GAS LISTING /tmp/ccaC5L8h.s page 6
GAS LISTING /tmp/cctTSiV3.s page 6
 
 
114 .stabn 68,0,172,.LM5-CamConfig_writeTxFifo
358,7 → 358,7
168 003a 0F93 push r16
169 003c 1F93 push r17
170 003e CF93 push r28
GAS LISTING /tmp/ccaC5L8h.s page 7
GAS LISTING /tmp/cctTSiV3.s page 7
 
 
171 0040 DF93 push r29
418,7 → 418,7
208 .LBE5:
209 .LBE4:
210 .stabn 68,0,138,.LM14-CamConfig_sendFifoCmds
GAS LISTING /tmp/ccaC5L8h.s page 8
GAS LISTING /tmp/cctTSiV3.s page 8
 
 
211 .LM14:
478,7 → 478,7
265 .LM19:
266 00ae 60E2 ldi r22,lo8(32)
267 00b0 84E1 ldi r24,lo8(20)
GAS LISTING /tmp/ccaC5L8h.s page 9
GAS LISTING /tmp/cctTSiV3.s page 9
 
 
268 00b2 BEDF rcall CamConfig_setCamReg
534,23 → 534,23
318 .stabs "",100,0,0,.Letext0
319 .Letext0:
320 /* File "CamConfig.c": code 104 = 0x0068 ( 78), prologues 12, epilogues 14 */
GAS LISTING /tmp/ccaC5L8h.s page 10
GAS LISTING /tmp/cctTSiV3.s page 10
 
 
DEFINED SYMBOLS
*ABS*:00000000 CamConfig.c
/tmp/ccaC5L8h.s:3 *ABS*:0000003f __SREG__
/tmp/ccaC5L8h.s:4 *ABS*:0000003e __SP_H__
/tmp/ccaC5L8h.s:5 *ABS*:0000003d __SP_L__
/tmp/ccaC5L8h.s:6 *ABS*:00000000 __tmp_reg__
/tmp/ccaC5L8h.s:7 *ABS*:00000001 __zero_reg__
/tmp/ccaC5L8h.s:80 .text:00000000 CamConfig_writeTxFifo
/tmp/ccaC5L8h.s:305 .bss:00000000 CamConfig_txFifoHead
/tmp/cctTSiV3.s:3 *ABS*:0000003f __SREG__
/tmp/cctTSiV3.s:4 *ABS*:0000003e __SP_H__
/tmp/cctTSiV3.s:5 *ABS*:0000003d __SP_L__
/tmp/cctTSiV3.s:6 *ABS*:00000000 __tmp_reg__
/tmp/cctTSiV3.s:7 *ABS*:00000001 __zero_reg__
/tmp/cctTSiV3.s:80 .text:00000000 CamConfig_writeTxFifo
/tmp/cctTSiV3.s:305 .bss:00000000 CamConfig_txFifoHead
*COM*:00000010 CamConfig_txFifo
/tmp/ccaC5L8h.s:311 .bss:00000001 CamConfig_txFifoTail
/tmp/ccaC5L8h.s:133 .text:00000030 CamConfig_setCamReg
/tmp/ccaC5L8h.s:163 .text:0000003a CamConfig_sendFifoCmds
/tmp/ccaC5L8h.s:258 .text:000000ae CamConfig_init
/tmp/cctTSiV3.s:311 .bss:00000001 CamConfig_txFifoTail
/tmp/cctTSiV3.s:133 .text:00000030 CamConfig_setCamReg
/tmp/cctTSiV3.s:163 .text:0000003a CamConfig_sendFifoCmds
/tmp/cctTSiV3.s:258 .text:000000ae CamConfig_init
 
UNDEFINED SYMBOLS
__do_copy_data
/programy/Atmel_C/AVRcam/CamInterface.lst
1,4 → 1,4
GAS LISTING /tmp/ccQQINeY.s page 1
GAS LISTING /tmp/cc4KZ7ps.s page 1
 
 
1 .file "CamInterface.c"
58,7 → 58,7
55 .stabs "int_fast16_t:t(5,21)=(5,3)",128,0,210,0
56 .stabs "uint_fast16_t:t(5,22)=(5,4)",128,0,215,0
57 .stabs "int_fast32_t:t(5,23)=(5,5)",128,0,220,0
GAS LISTING /tmp/ccQQINeY.s page 2
GAS LISTING /tmp/cc4KZ7ps.s page 2
 
 
58 .stabs "uint_fast32_t:t(5,24)=(5,6)",128,0,225,0
118,7 → 118,7
22:CamInterface.c **** john@jrobot.net
23:CamInterface.c ****
24:CamInterface.c **** or go to www.jrobot.net for more details regarding the system.
GAS LISTING /tmp/ccQQINeY.s page 3
GAS LISTING /tmp/cc4KZ7ps.s page 3
 
 
25:CamInterface.c **** */
178,7 → 178,7
79:CamInterface.c **** #define CAM_PIXEL_CLK_COUNT BIT5
80:CamInterface.c **** #define CAM_HREF BIT4
81:CamInterface.c **** #define CAM_PIXEL_CLK_INT BIT3
GAS LISTING /tmp/ccQQINeY.s page 4
GAS LISTING /tmp/cc4KZ7ps.s page 4
 
 
82:CamInterface.c **** #define CAM_VSYNC BIT2
238,7 → 238,7
136:CamInterface.c **** #if OUTPUT_INITIAL_COLOR_MAP
137:CamInterface.c **** unsigned char asciiBuffer[5];
138:CamInterface.c **** unsigned char i;
GAS LISTING /tmp/ccQQINeY.s page 5
GAS LISTING /tmp/cc4KZ7ps.s page 5
 
 
139:CamInterface.c **** #endif
298,7 → 298,7
193:CamInterface.c **** for (i=0; i<NUM_ELEMENTS_IN_COLOR_MAP; i++)
194:CamInterface.c **** {
195:CamInterface.c **** memset(asciiBuffer,0x00,5);
GAS LISTING /tmp/ccQQINeY.s page 6
GAS LISTING /tmp/cc4KZ7ps.s page 6
 
 
196:CamInterface.c **** itoa(colorMap[i],asciiBuffer,10);
358,7 → 358,7
115 .stabn 68,0,144,.LM3-CamInt_init
116 .LM3:
117 0004 8F9A sbi 49-0x20,7
GAS LISTING /tmp/ccQQINeY.s page 7
GAS LISTING /tmp/cc4KZ7ps.s page 7
 
 
118 .stabn 68,0,145,.LM4-CamInt_init
418,7 → 418,7
172 0042 85BF out 85-0x20,r24
173 .stabn 68,0,186,.LM16-CamInt_init
174 .LM16:
GAS LISTING /tmp/ccQQINeY.s page 8
GAS LISTING /tmp/cc4KZ7ps.s page 8
 
 
175 0044 E0E0 ldi r30,lo8(colorMap)
478,7 → 478,7
42:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** <bjoern.haase@de.bosch.com>.
43:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** */
44:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****
GAS LISTING /tmp/ccQQINeY.s page 9
GAS LISTING /tmp/cc4KZ7ps.s page 9
 
 
45:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** #ifndef _EEPROM_H_
538,7 → 538,7
99:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** write operation is still pending, time-critical applications
100:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** should first poll the EEPROM e. g. using eeprom_is_ready() before
101:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** attempting any actual I/O.
GAS LISTING /tmp/ccQQINeY.s page 10
GAS LISTING /tmp/cc4KZ7ps.s page 10
 
 
102:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****
598,7 → 598,7
156:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** section. */
157:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** #define EEMEM __attribute__((section(".eeprom")))
158:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****
GAS LISTING /tmp/ccQQINeY.s page 11
GAS LISTING /tmp/cc4KZ7ps.s page 11
 
 
159:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** /** \def eeprom_is_ready
658,7 → 658,7
213:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** return result;
214:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** }
215:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****
GAS LISTING /tmp/ccQQINeY.s page 12
GAS LISTING /tmp/cc4KZ7ps.s page 12
 
 
216:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** /** \ingroup avr_eeprom
718,7 → 718,7
190 0054 A1E0 ldi r26,lo8(1)
191 0056 B0E0 ldi r27,hi8(1)
192 /* #APP */
GAS LISTING /tmp/ccQQINeY.s page 13
GAS LISTING /tmp/cc4KZ7ps.s page 13
 
 
193 0058 182E mov __zero_reg__,r24
758,19 → 758,19
223 .stabs "",100,0,0,.Letext0
224 .Letext0:
225 /* File "CamInterface.c": code 49 = 0x0031 ( 47), prologues 0, epilogues 2 */
GAS LISTING /tmp/ccQQINeY.s page 14
GAS LISTING /tmp/cc4KZ7ps.s page 14
 
 
DEFINED SYMBOLS
*ABS*:00000000 CamInterface.c
/tmp/ccQQINeY.s:3 *ABS*:0000003f __SREG__
/tmp/ccQQINeY.s:4 *ABS*:0000003e __SP_H__
/tmp/ccQQINeY.s:5 *ABS*:0000003d __SP_L__
/tmp/ccQQINeY.s:6 *ABS*:00000000 __tmp_reg__
/tmp/ccQQINeY.s:7 *ABS*:00000001 __zero_reg__
/tmp/ccQQINeY.s:89 .text:00000000 CamInt_resetCam
/tmp/ccQQINeY.s:106 .text:00000002 CamInt_init
/tmp/ccQQINeY.s:217 .noinit:00000000 colorMap
/tmp/cc4KZ7ps.s:3 *ABS*:0000003f __SREG__
/tmp/cc4KZ7ps.s:4 *ABS*:0000003e __SP_H__
/tmp/cc4KZ7ps.s:5 *ABS*:0000003d __SP_L__
/tmp/cc4KZ7ps.s:6 *ABS*:00000000 __tmp_reg__
/tmp/cc4KZ7ps.s:7 *ABS*:00000001 __zero_reg__
/tmp/cc4KZ7ps.s:89 .text:00000000 CamInt_resetCam
/tmp/cc4KZ7ps.s:106 .text:00000002 CamInt_init
/tmp/cc4KZ7ps.s:217 .noinit:00000000 colorMap
*COM*:000000b0 currentLineBuffer
*COM*:000000b0 previousLineBuffer
 
/programy/Atmel_C/AVRcam/CamInterfaceAsm.lst
1,4 → 1,4
GAS LISTING /tmp/cckBHomO.s page 1
GAS LISTING /tmp/ccCMjSjd.s page 1
 
 
1 # 1 "CamInterfaceAsm.S"
58,7 → 58,7
51 ; and is turned off when it isn't needed.
52
53 #include <avr/io.h>
GAS LISTING /tmp/cckBHomO.s page 2
GAS LISTING /tmp/ccCMjSjd.s page 2
 
 
1 /* Copyright (c) 2002,2003,2005,2006, Marek Michalkiewicz, Joerg Wunsch
118,7 → 118,7
55 function definitions as documented
56 \ref avr_signames "here".
57
GAS LISTING /tmp/cckBHomO.s page 3
GAS LISTING /tmp/ccCMjSjd.s page 3
 
 
58 Finally, the following macros are defined:
178,7 → 178,7
26 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
GAS LISTING /tmp/cckBHomO.s page 4
GAS LISTING /tmp/ccCMjSjd.s page 4
 
 
29 POSSIBILITY OF SUCH DAMAGE. */
238,7 → 238,7
83 <avr/iom163.h>: #define SPMCR _SFR_IO8(0x37)
84 <avr/iom128.h>: #define SPMCR _SFR_MEM8(0x68)
85 \endverbatim
GAS LISTING /tmp/cckBHomO.s page 5
GAS LISTING /tmp/ccCMjSjd.s page 5
 
 
86
298,7 → 298,7
139 #define YL r28
140 #define YH r29
141 #endif /* #if __AVR_ARCH__ != 1 */
GAS LISTING /tmp/cckBHomO.s page 6
GAS LISTING /tmp/ccCMjSjd.s page 6
 
 
142 #define ZL r30
358,7 → 358,7
196 # include <avr/iocan128.h>
197 #elif defined (__AVR_AT90USB646__)
198 # include <avr/iousb646.h>
GAS LISTING /tmp/cckBHomO.s page 7
GAS LISTING /tmp/ccCMjSjd.s page 7
 
 
199 #elif defined (__AVR_AT90USB647__)
418,7 → 418,7
253 #elif defined (__AVR_ATmega169__)
254 # include <avr/iom169.h>
255 #elif defined (__AVR_ATmega8__)
GAS LISTING /tmp/cckBHomO.s page 8
GAS LISTING /tmp/ccCMjSjd.s page 8
 
 
256 # include <avr/iom8.h>
478,7 → 478,7
54 #define TWSR _SFR_IO8(0x01)
55 #define TWAR _SFR_IO8(0x02)
56 #define TWDR _SFR_IO8(0x03)
GAS LISTING /tmp/cckBHomO.s page 9
GAS LISTING /tmp/ccCMjSjd.s page 9
 
 
57
538,7 → 538,7
111
112 #define WDTCR _SFR_IO8(0x21)
113 #define ASSR _SFR_IO8(0x22)
GAS LISTING /tmp/cckBHomO.s page 10
GAS LISTING /tmp/ccCMjSjd.s page 10
 
 
114
598,7 → 598,7
168 #define SIG_INTERRUPT0 _VECTOR(1)
169
170 /* External Interrupt Request 1 */
GAS LISTING /tmp/cckBHomO.s page 11
GAS LISTING /tmp/ccCMjSjd.s page 11
 
 
171 #define INT1_vect _VECTOR(2)
658,7 → 658,7
225
226 /* Analog Comparator */
227 #define ANA_COMP_vect _VECTOR(16)
GAS LISTING /tmp/cckBHomO.s page 12
GAS LISTING /tmp/ccCMjSjd.s page 12
 
 
228 #define SIG_COMPARATOR _VECTOR(16)
718,7 → 718,7
281 #elif defined (__AVR_AT90S2343__)
282 # include <avr/io2343.h>
283 #elif defined (__AVR_AT90S2333__)
GAS LISTING /tmp/cckBHomO.s page 13
GAS LISTING /tmp/ccCMjSjd.s page 13
 
 
284 # include <avr/io2333.h>
778,7 → 778,7
10 * Redistributions in binary form must reproduce the above copyright
11 notice, this list of conditions and the following disclaimer in
12 the documentation and/or other materials provided with the
GAS LISTING /tmp/cckBHomO.s page 14
GAS LISTING /tmp/ccCMjSjd.s page 14
 
 
13 distribution.
838,7 → 838,7
67 #define PIN5 5
68 #define PIN4 4
69 #define PIN3 3
GAS LISTING /tmp/cckBHomO.s page 15
GAS LISTING /tmp/ccCMjSjd.s page 15
 
 
70 #define PIN2 2
898,7 → 898,7
124 # define PORTB6 PB6
125 #endif
126 #if defined(PB7)
GAS LISTING /tmp/cckBHomO.s page 16
GAS LISTING /tmp/ccCMjSjd.s page 16
 
 
127 # define PORTB7 PB7
958,7 → 958,7
181 # define PORTD7 PD7
182 #endif
183
GAS LISTING /tmp/cckBHomO.s page 17
GAS LISTING /tmp/ccCMjSjd.s page 17
 
 
184 /* PORT E */
1018,7 → 1018,7
238 /* PORT G */
239
240 #if defined(PG0)
GAS LISTING /tmp/cckBHomO.s page 18
GAS LISTING /tmp/ccCMjSjd.s page 18
 
 
241 # define PORTG0 PG0
1078,7 → 1078,7
295 # define PORTJ0 PJ0
296 #endif
297 #if defined(PJ1)
GAS LISTING /tmp/cckBHomO.s page 19
GAS LISTING /tmp/ccCMjSjd.s page 19
 
 
298 # define PORTJ1 PJ1
1138,7 → 1138,7
13 distribution.
14
15 * Neither the name of the copyright holders nor the names of
GAS LISTING /tmp/cckBHomO.s page 20
GAS LISTING /tmp/ccCMjSjd.s page 20
 
 
16 contributors may be used to endorse or promote products derived
1198,7 → 1198,7
70 /** \ingroup avr_version
71 String literal representation of the release date. */
72 #define __AVR_LIBC_DATE_STRING__ "20060420"
GAS LISTING /tmp/cckBHomO.s page 21
GAS LISTING /tmp/ccCMjSjd.s page 21
 
 
73
1258,7 → 1258,7
34 Description: This file provides the external interface
35 to the events that can be published/processed in the
36 system. It is specifically by itself (and nothing
GAS LISTING /tmp/cckBHomO.s page 22
GAS LISTING /tmp/ccCMjSjd.s page 22
 
 
37 else should be defined in here) so that both .c and
1318,7 → 1318,7
90
91 ; As pixel blocks are sampled, the red, green, and blue values are
92 ; used to index into their respective color maps. The color maps
GAS LISTING /tmp/cckBHomO.s page 23
GAS LISTING /tmp/ccCMjSjd.s page 23
 
 
93 ; return values that can be logically ANDed together so that a
1378,7 → 1378,7
147 ;*****************************************************************
148 ; Function Name: CamIntAsm_waitForNewTrackingFrame
149 ; Function Description: This function is responsible for
GAS LISTING /tmp/cckBHomO.s page 24
GAS LISTING /tmp/ccCMjSjd.s page 24
 
 
150 ; going to sleep until a new frame begins (indicated by
1438,7 → 1438,7
204:CamInterfaceAsm.S **** out _SFR_IO_ADDR(TIMSK),tmp1 ; overflow
205
206:CamInterfaceAsm.S **** ldi tmp1,PIXEL_RUN_START_INITIAL ; set up the TCNT1 to overflow (and
GAS LISTING /tmp/cckBHomO.s page 25
GAS LISTING /tmp/ccCMjSjd.s page 25
 
 
207:CamInterfaceAsm.S **** ldi tmp2,0xFF ; interrupts) after 176 pixels
1498,7 → 1498,7
261:CamInterfaceAsm.S **** sbi _SFR_IO_ADDR(PORTD),PD6
262:CamInterfaceAsm.S **** nop
263:CamInterfaceAsm.S **** cbi _SFR_IO_ADDR(PORTD),PD6
GAS LISTING /tmp/cckBHomO.s page 26
GAS LISTING /tmp/ccCMjSjd.s page 26
 
 
264
1558,7 → 1558,7
318
319 ;*****************************************************************
320 ; Function Name: CamIntAsm_waitForNewDumpFrame
GAS LISTING /tmp/cckBHomO.s page 27
GAS LISTING /tmp/ccCMjSjd.s page 27
 
 
321 ; Function Description: This function is responsible for
1618,7 → 1618,7
375
376 ;*******************************************************************************************
377 ; Dump Frame handler
GAS LISTING /tmp/cckBHomO.s page 28
GAS LISTING /tmp/ccCMjSjd.s page 28
 
 
378 ;*******************************************************************************************
1678,7 → 1678,7
432 ; whenever the HREF transitions (meaning the pixels
433 ; are starting after VSYNC transitioned, and we need to
434 ; start acquiring the pixel blocks
GAS LISTING /tmp/cckBHomO.s page 29
GAS LISTING /tmp/ccCMjSjd.s page 29
 
 
435 ; Inputs: none
1737,7 → 1737,7
488:CamInterfaceAsm.S **** reti
489
490 .end
GAS LISTING /tmp/cckBHomO.s page 30
GAS LISTING /tmp/ccCMjSjd.s page 30
 
 
DEFINED SYMBOLS
/programy/Atmel_C/AVRcam/DebugInterface.lst
1,4 → 1,4
GAS LISTING /tmp/ccATXzNG.s page 1
GAS LISTING /tmp/ccz6pioi.s page 1
 
 
1 .file "DebugInterface.c"
58,7 → 58,7
55 .stabs "uint_fast8_t:t(6,20)=(6,2)",128,0,205,0
56 .stabs "int_fast16_t:t(6,21)=(6,3)",128,0,210,0
57 .stabs "uint_fast16_t:t(6,22)=(6,4)",128,0,215,0
GAS LISTING /tmp/ccATXzNG.s page 2
GAS LISTING /tmp/ccz6pioi.s page 2
 
 
58 .stabs "int_fast32_t:t(6,23)=(6,5)",128,0,220,0
118,7 → 118,7
35:DebugInterface.c **** addition to the LED hooked up at PORTD bit 6.
36:DebugInterface.c ****
37:DebugInterface.c **** Revision History:
GAS LISTING /tmp/ccATXzNG.s page 3
GAS LISTING /tmp/ccz6pioi.s page 3
 
 
38:DebugInterface.c **** Date Rel Ver. Notes
178,7 → 178,7
77:DebugInterface.c **** PORTD &= 0xBF;
93 .stabn 68,0,77,.LM4-DebugInt_init
94 .LM4:
GAS LISTING /tmp/ccATXzNG.s page 4
GAS LISTING /tmp/ccz6pioi.s page 4
 
 
95 000a 9698 cbi 50-0x20,6
238,7 → 238,7
139 /* function DebugInt_init size 27 (26) */
140 .size DebugInt_init, .-DebugInt_init
141 .Lscope0:
GAS LISTING /tmp/ccATXzNG.s page 5
GAS LISTING /tmp/ccz6pioi.s page 5
 
 
142 .stabs "",36,0,0,.Lscope0-DebugInt_init
246,17 → 246,17
144 .stabs "",100,0,0,.Letext0
145 .Letext0:
146 /* File "DebugInterface.c": code 27 = 0x001b ( 26), prologues 0, epilogues 1 */
GAS LISTING /tmp/ccATXzNG.s page 6
GAS LISTING /tmp/ccz6pioi.s page 6
 
 
DEFINED SYMBOLS
*ABS*:00000000 DebugInterface.c
/tmp/ccATXzNG.s:3 *ABS*:0000003f __SREG__
/tmp/ccATXzNG.s:4 *ABS*:0000003e __SP_H__
/tmp/ccATXzNG.s:5 *ABS*:0000003d __SP_L__
/tmp/ccATXzNG.s:6 *ABS*:00000000 __tmp_reg__
/tmp/ccATXzNG.s:7 *ABS*:00000001 __zero_reg__
/tmp/ccATXzNG.s:76 .text:00000000 DebugInt_init
/tmp/ccz6pioi.s:3 *ABS*:0000003f __SREG__
/tmp/ccz6pioi.s:4 *ABS*:0000003e __SP_H__
/tmp/ccz6pioi.s:5 *ABS*:0000003d __SP_L__
/tmp/ccz6pioi.s:6 *ABS*:00000000 __tmp_reg__
/tmp/ccz6pioi.s:7 *ABS*:00000001 __zero_reg__
/tmp/ccz6pioi.s:76 .text:00000000 DebugInt_init
 
UNDEFINED SYMBOLS
__do_copy_data
/programy/Atmel_C/AVRcam/Doxyfile
0,0 → 1,275
# Doxyfile 1.4.1-KDevelop
 
#---------------------------------------------------------------------------
# Project related configuration options
#---------------------------------------------------------------------------
PROJECT_NAME = AVRcam.kdevelop
PROJECT_NUMBER = $VERSION$
OUTPUT_DIRECTORY =
CREATE_SUBDIRS = NO
OUTPUT_LANGUAGE = English
USE_WINDOWS_ENCODING = NO
BRIEF_MEMBER_DESC = YES
REPEAT_BRIEF = YES
ABBREVIATE_BRIEF = "The $name class" \
"The $name widget" \
"The $name file" \
is \
provides \
specifies \
contains \
represents \
a \
an \
the
ALWAYS_DETAILED_SEC = NO
INLINE_INHERITED_MEMB = NO
FULL_PATH_NAMES = YES
STRIP_FROM_PATH = /home/kaklik/projects/programy/Atmel_C/AVRcam/
STRIP_FROM_INC_PATH =
SHORT_NAMES = NO
JAVADOC_AUTOBRIEF = NO
MULTILINE_CPP_IS_BRIEF = NO
DETAILS_AT_TOP = NO
INHERIT_DOCS = YES
DISTRIBUTE_GROUP_DOC = NO
TAB_SIZE = 8
ALIASES =
OPTIMIZE_OUTPUT_FOR_C = NO
OPTIMIZE_OUTPUT_JAVA = NO
SUBGROUPING = YES
#---------------------------------------------------------------------------
# Build related configuration options
#---------------------------------------------------------------------------
EXTRACT_ALL = NO
EXTRACT_PRIVATE = NO
EXTRACT_STATIC = NO
EXTRACT_LOCAL_CLASSES = YES
EXTRACT_LOCAL_METHODS = NO
HIDE_UNDOC_MEMBERS = NO
HIDE_UNDOC_CLASSES = NO
HIDE_FRIEND_COMPOUNDS = NO
HIDE_IN_BODY_DOCS = NO
INTERNAL_DOCS = NO
CASE_SENSE_NAMES = YES
HIDE_SCOPE_NAMES = NO
SHOW_INCLUDE_FILES = YES
INLINE_INFO = YES
SORT_MEMBER_DOCS = YES
SORT_BRIEF_DOCS = NO
SORT_BY_SCOPE_NAME = NO
GENERATE_TODOLIST = YES
GENERATE_TESTLIST = YES
GENERATE_BUGLIST = YES
GENERATE_DEPRECATEDLIST= YES
ENABLED_SECTIONS =
MAX_INITIALIZER_LINES = 30
SHOW_USED_FILES = YES
SHOW_DIRECTORIES = YES
FILE_VERSION_FILTER =
#---------------------------------------------------------------------------
# configuration options related to warning and progress messages
#---------------------------------------------------------------------------
QUIET = NO
WARNINGS = YES
WARN_IF_UNDOCUMENTED = YES
WARN_IF_DOC_ERROR = YES
WARN_NO_PARAMDOC = NO
WARN_FORMAT = "$file:$line: $text"
WARN_LOGFILE =
#---------------------------------------------------------------------------
# configuration options related to the input files
#---------------------------------------------------------------------------
INPUT = /home/kaklik/projects/programy/Atmel_C/AVRcam
FILE_PATTERNS = *.c \
*.cc \
*.cxx \
*.cpp \
*.c++ \
*.java \
*.ii \
*.ixx \
*.ipp \
*.i++ \
*.inl \
*.h \
*.hh \
*.hxx \
*.hpp \
*.h++ \
*.idl \
*.odl \
*.cs \
*.php \
*.php3 \
*.inc \
*.m \
*.mm \
*.dox \
*.C \
*.CC \
*.C++ \
*.II \
*.I++ \
*.H \
*.HH \
*.H++ \
*.CS \
*.PHP \
*.PHP3 \
*.M \
*.MM \
*.C \
*.H \
*.tlh \
*.diff \
*.patch \
*.moc \
*.xpm \
*.dox
RECURSIVE = yes
EXCLUDE =
EXCLUDE_SYMLINKS = NO
EXCLUDE_PATTERNS =
EXAMPLE_PATH =
EXAMPLE_PATTERNS = *
EXAMPLE_RECURSIVE = NO
IMAGE_PATH =
INPUT_FILTER =
FILTER_PATTERNS =
FILTER_SOURCE_FILES = NO
#---------------------------------------------------------------------------
# configuration options related to source browsing
#---------------------------------------------------------------------------
SOURCE_BROWSER = NO
INLINE_SOURCES = NO
STRIP_CODE_COMMENTS = YES
REFERENCED_BY_RELATION = YES
REFERENCES_RELATION = YES
VERBATIM_HEADERS = YES
#---------------------------------------------------------------------------
# configuration options related to the alphabetical class index
#---------------------------------------------------------------------------
ALPHABETICAL_INDEX = NO
COLS_IN_ALPHA_INDEX = 5
IGNORE_PREFIX =
#---------------------------------------------------------------------------
# configuration options related to the HTML output
#---------------------------------------------------------------------------
GENERATE_HTML = YES
HTML_OUTPUT = html
HTML_FILE_EXTENSION = .html
HTML_HEADER =
HTML_FOOTER =
HTML_STYLESHEET =
HTML_ALIGN_MEMBERS = YES
GENERATE_HTMLHELP = NO
CHM_FILE =
HHC_LOCATION =
GENERATE_CHI = NO
BINARY_TOC = NO
TOC_EXPAND = NO
DISABLE_INDEX = NO
ENUM_VALUES_PER_LINE = 4
GENERATE_TREEVIEW = NO
TREEVIEW_WIDTH = 250
#---------------------------------------------------------------------------
# configuration options related to the LaTeX output
#---------------------------------------------------------------------------
GENERATE_LATEX = YES
LATEX_OUTPUT = latex
LATEX_CMD_NAME = latex
MAKEINDEX_CMD_NAME = makeindex
COMPACT_LATEX = NO
PAPER_TYPE = a4wide
EXTRA_PACKAGES =
LATEX_HEADER =
PDF_HYPERLINKS = NO
USE_PDFLATEX = NO
LATEX_BATCHMODE = NO
LATEX_HIDE_INDICES = NO
#---------------------------------------------------------------------------
# configuration options related to the RTF output
#---------------------------------------------------------------------------
GENERATE_RTF = NO
RTF_OUTPUT = rtf
COMPACT_RTF = NO
RTF_HYPERLINKS = NO
RTF_STYLESHEET_FILE =
RTF_EXTENSIONS_FILE =
#---------------------------------------------------------------------------
# configuration options related to the man page output
#---------------------------------------------------------------------------
GENERATE_MAN = NO
MAN_OUTPUT = man
MAN_EXTENSION = .3
MAN_LINKS = NO
#---------------------------------------------------------------------------
# configuration options related to the XML output
#---------------------------------------------------------------------------
GENERATE_XML = yes
XML_OUTPUT = xml
XML_SCHEMA =
XML_DTD =
XML_PROGRAMLISTING = YES
#---------------------------------------------------------------------------
# configuration options for the AutoGen Definitions output
#---------------------------------------------------------------------------
GENERATE_AUTOGEN_DEF = NO
#---------------------------------------------------------------------------
# configuration options related to the Perl module output
#---------------------------------------------------------------------------
GENERATE_PERLMOD = NO
PERLMOD_LATEX = NO
PERLMOD_PRETTY = YES
PERLMOD_MAKEVAR_PREFIX =
#---------------------------------------------------------------------------
# Configuration options related to the preprocessor
#---------------------------------------------------------------------------
ENABLE_PREPROCESSING = YES
MACRO_EXPANSION = NO
EXPAND_ONLY_PREDEF = NO
SEARCH_INCLUDES = YES
INCLUDE_PATH =
INCLUDE_FILE_PATTERNS =
PREDEFINED =
EXPAND_AS_DEFINED =
SKIP_FUNCTION_MACROS = YES
#---------------------------------------------------------------------------
# Configuration::additions related to external references
#---------------------------------------------------------------------------
TAGFILES =
GENERATE_TAGFILE = AVRcam.tag
ALLEXTERNALS = NO
EXTERNAL_GROUPS = YES
PERL_PATH = /usr/bin/perl
#---------------------------------------------------------------------------
# Configuration options related to the dot tool
#---------------------------------------------------------------------------
CLASS_DIAGRAMS = YES
HIDE_UNDOC_RELATIONS = YES
HAVE_DOT = NO
CLASS_GRAPH = YES
COLLABORATION_GRAPH = YES
GROUP_GRAPHS = YES
UML_LOOK = NO
TEMPLATE_RELATIONS = NO
INCLUDE_GRAPH = YES
INCLUDED_BY_GRAPH = YES
CALL_GRAPH = NO
GRAPHICAL_HIERARCHY = YES
DIRECTORY_GRAPH = YES
DOT_IMAGE_FORMAT = png
DOT_PATH =
DOTFILE_DIRS =
MAX_DOT_GRAPH_WIDTH = 1024
MAX_DOT_GRAPH_HEIGHT = 1024
MAX_DOT_GRAPH_DEPTH = 1000
DOT_TRANSPARENT = NO
DOT_MULTI_TARGETS = NO
GENERATE_LEGEND = YES
DOT_CLEANUP = YES
#---------------------------------------------------------------------------
# Configuration::additions related to the search engine
#---------------------------------------------------------------------------
SEARCHENGINE = NO
/programy/Atmel_C/AVRcam/Executive.lst
1,4 → 1,4
GAS LISTING /tmp/ccyu5Mfw.s page 1
GAS LISTING /tmp/ccYxWDEV.s page 1
 
 
1 .file "Executive.c"
58,7 → 58,7
55 .stabs "int_least8_t:t(8,11)=(8,1)",128,0,152,0
56 .stabs "uint_least8_t:t(8,12)=(8,2)",128,0,157,0
57 .stabs "int_least16_t:t(8,13)=(8,3)",128,0,162,0
GAS LISTING /tmp/ccyu5Mfw.s page 2
GAS LISTING /tmp/ccYxWDEV.s page 2
 
 
58 .stabs "uint_least16_t:t(8,14)=(8,4)",128,0,167,0
118,7 → 118,7
20:Executive.c **** For more information on the AVRcam, please contact:
21:Executive.c ****
22:Executive.c **** john@jrobot.net
GAS LISTING /tmp/ccyu5Mfw.s page 3
GAS LISTING /tmp/ccYxWDEV.s page 3
 
 
23:Executive.c ****
178,7 → 178,7
77:Executive.c **** #define IS_DATA_IN_EVENT_FIFO() (!(Exec_eventFifoHead == Exec_eventFifoTail))
78:Executive.c **** /***********************************************************
79:Executive.c **** Function Name: Exec_run
GAS LISTING /tmp/ccyu5Mfw.s page 4
GAS LISTING /tmp/ccYxWDEV.s page 4
 
 
80:Executive.c **** Function Description: This function is responsible for
238,7 → 238,7
134:Executive.c **** case (EV_ENABLE_TRACKING):
135:Executive.c **** FrameMgr_dispatchEvent(eventGenerated);
136:Executive.c **** break;
GAS LISTING /tmp/ccyu5Mfw.s page 5
GAS LISTING /tmp/ccYxWDEV.s page 5
 
 
137:Executive.c ****
298,7 → 298,7
191:Executive.c **** dataByte = Exec_eventFifo[Exec_eventFifoTail];
192:Executive.c **** tmpTail = (Exec_eventFifoTail+1) & (EXEC_EVENT_FIFO_MASK);
193:Executive.c **** Exec_eventFifoTail = tmpTail;
GAS LISTING /tmp/ccyu5Mfw.s page 6
GAS LISTING /tmp/ccYxWDEV.s page 6
 
 
194:Executive.c **** ENABLE_INTS();
358,7 → 358,7
123 /* function Exec_writeEventFifo size 16 (15) */
124 .size Exec_writeEventFifo, .-Exec_writeEventFifo
125 .Lscope0:
GAS LISTING /tmp/ccyu5Mfw.s page 7
GAS LISTING /tmp/ccYxWDEV.s page 7
 
 
126 .stabs "",36,0,0,.Lscope0-Exec_writeEventFifo
418,7 → 418,7
180 0040 8D7F andi r24,lo8(-3)
181 0042 8093 0000 sts fastEventBitmask,r24
182 .stabn 68,0,120,.LM16-Exec_run
GAS LISTING /tmp/ccyu5Mfw.s page 8
GAS LISTING /tmp/ccYxWDEV.s page 8
 
 
183 .LM16:
478,7 → 478,7
237 0084 59F6 brne .L30
238 0086 2BC0 rjmp .L12
239 .L22:
GAS LISTING /tmp/ccyu5Mfw.s page 9
GAS LISTING /tmp/ccYxWDEV.s page 9
 
 
240 0088 8430 cpi r24,lo8(4)
538,7 → 538,7
294 00ce 00D0 rcall FrameMgr_dispatchEvent
295 00d0 A5CF rjmp .L30
296 .L15:
GAS LISTING /tmp/ccyu5Mfw.s page 10
GAS LISTING /tmp/ccYxWDEV.s page 10
 
 
297 .stabn 68,0,152,.LM30-Exec_run
598,7 → 598,7
351 .size fastEventBitmask, 1
352 fastEventBitmask:
353 0002 00 .skip 1,0
GAS LISTING /tmp/ccyu5Mfw.s page 11
GAS LISTING /tmp/ccYxWDEV.s page 11
 
 
354 .comm Exec_eventFifo,8,1
610,22 → 610,22
360 .stabs "",100,0,0,.Letext0
361 .Letext0:
362 /* File "Executive.c": code 127 = 0x007f ( 126), prologues 0, epilogues 1 */
GAS LISTING /tmp/ccyu5Mfw.s page 12
GAS LISTING /tmp/ccYxWDEV.s page 12
 
 
DEFINED SYMBOLS
*ABS*:00000000 Executive.c
/tmp/ccyu5Mfw.s:3 *ABS*:0000003f __SREG__
/tmp/ccyu5Mfw.s:4 *ABS*:0000003e __SP_H__
/tmp/ccyu5Mfw.s:5 *ABS*:0000003d __SP_L__
/tmp/ccyu5Mfw.s:6 *ABS*:00000000 __tmp_reg__
/tmp/ccyu5Mfw.s:7 *ABS*:00000001 __zero_reg__
/tmp/ccyu5Mfw.s:91 .text:00000000 Exec_writeEventFifo
/tmp/ccyu5Mfw.s:340 .bss:00000000 Exec_eventFifoHead
/tmp/ccYxWDEV.s:3 *ABS*:0000003f __SREG__
/tmp/ccYxWDEV.s:4 *ABS*:0000003e __SP_H__
/tmp/ccYxWDEV.s:5 *ABS*:0000003d __SP_L__
/tmp/ccYxWDEV.s:6 *ABS*:00000000 __tmp_reg__
/tmp/ccYxWDEV.s:7 *ABS*:00000001 __zero_reg__
/tmp/ccYxWDEV.s:91 .text:00000000 Exec_writeEventFifo
/tmp/ccYxWDEV.s:340 .bss:00000000 Exec_eventFifoHead
*COM*:00000008 Exec_eventFifo
/tmp/ccyu5Mfw.s:131 .text:0000001c Exec_run
/tmp/ccyu5Mfw.s:352 .bss:00000002 fastEventBitmask
/tmp/ccyu5Mfw.s:346 .bss:00000001 Exec_eventFifoTail
/tmp/ccYxWDEV.s:131 .text:0000001c Exec_run
/tmp/ccYxWDEV.s:352 .bss:00000002 fastEventBitmask
/tmp/ccYxWDEV.s:346 .bss:00000001 Exec_eventFifoTail
 
UNDEFINED SYMBOLS
__do_copy_data
/programy/Atmel_C/AVRcam/FrameMgr.lst
1,4 → 1,4
GAS LISTING /tmp/cceB4D4U.s page 1
GAS LISTING /tmp/ccQRbLT3.s page 1
 
 
1 .file "FrameMgr.c"
58,7 → 58,7
55 .stabs "int_least16_t:t(6,13)=(6,3)",128,0,162,0
56 .stabs "uint_least16_t:t(6,14)=(6,4)",128,0,167,0
57 .stabs "int_least32_t:t(6,15)=(6,5)",128,0,172,0
GAS LISTING /tmp/cceB4D4U.s page 2
GAS LISTING /tmp/ccQRbLT3.s page 2
 
 
58 .stabs "uint_least32_t:t(6,16)=(6,6)",128,0,177,0
118,7 → 118,7
20:FrameMgr.c **** For more information on the AVRcam, please contact:
21:FrameMgr.c ****
22:FrameMgr.c **** john@jrobot.net
GAS LISTING /tmp/cceB4D4U.s page 3
GAS LISTING /tmp/ccQRbLT3.s page 3
 
 
23:FrameMgr.c ****
178,7 → 178,7
77:FrameMgr.c **** sent out during a frame (one byte per line, 144 lines per frame)
78:FrameMgr.c **** with the number of bytes in a tracked object (7) + some wiggle
79:FrameMgr.c **** room :-) ... I guess this could be increased to around 20 if
GAS LISTING /tmp/cceB4D4U.s page 4
GAS LISTING /tmp/ccQRbLT3.s page 4
 
 
80:FrameMgr.c **** we had enough room and cycles to process objects between lines */
238,7 → 238,7
134:FrameMgr.c **** unsigned char lastLineXStart;
135:FrameMgr.c **** unsigned char lastLineXFinish;
136:FrameMgr.c **** unsigned char x_upperLeft;
GAS LISTING /tmp/cceB4D4U.s page 5
GAS LISTING /tmp/ccQRbLT3.s page 5
 
 
137:FrameMgr.c **** unsigned char y_upperLeft;
298,7 → 298,7
191:FrameMgr.c **** {
192:FrameMgr.c **** memset(trackedObjectTable,0x00,sizeof(trackedObjectTable));
193:FrameMgr.c **** }
GAS LISTING /tmp/cceB4D4U.s page 6
GAS LISTING /tmp/ccQRbLT3.s page 6
 
 
194:FrameMgr.c ****
358,7 → 358,7
248:FrameMgr.c **** }
249:FrameMgr.c **** }
250:FrameMgr.c ****
GAS LISTING /tmp/cceB4D4U.s page 7
GAS LISTING /tmp/ccQRbLT3.s page 7
 
 
251:FrameMgr.c **** /***********************************************************
418,7 → 418,7
305:FrameMgr.c **** memset(currentLineBuffer,0x00,LENGTH_OF_LINE_BUFFER);
306:FrameMgr.c **** memset(previousLineBuffer,0x00,LENGTH_OF_LINE_BUFFER);
307:FrameMgr.c **** /* wait for another VSYNC so we know which frame to use
GAS LISTING /tmp/cceB4D4U.s page 8
GAS LISTING /tmp/ccQRbLT3.s page 8
 
 
308:FrameMgr.c **** to start looking for a line to receive */
478,7 → 478,7
362:FrameMgr.c **** UartInt_txByte(lineCount); /* send the line count */
363:FrameMgr.c **** for (i=0; i<NUM_PIXELS_IN_A_DUMP_LINE; i+=2)
364:FrameMgr.c **** {
GAS LISTING /tmp/cceB4D4U.s page 9
GAS LISTING /tmp/ccQRbLT3.s page 9
 
 
365:FrameMgr.c **** /* when a dump line is sampled, the upper byte can potentially
538,7 → 538,7
419:FrameMgr.c **** itoa(trackedLineCount,asciiBuffer,10);
420:FrameMgr.c **** UIMgr_txBuffer(asciiBuffer,3);
421:FrameMgr.c **** UIMgr_txBuffer(" ",1);
GAS LISTING /tmp/cceB4D4U.s page 10
GAS LISTING /tmp/ccQRbLT3.s page 10
 
 
422:FrameMgr.c **** while(pixelCount < ACTUAL_NUM_PIXELS_IN_A_LINE)
598,7 → 598,7
476:FrameMgr.c **** /* invalidate the object */
477:FrameMgr.c **** *(pTrackedObjectData + VALID_OBJECT_OFFSET) = FALSE;
478:FrameMgr.c **** numCurrTrackedObjects--;
GAS LISTING /tmp/cceB4D4U.s page 11
GAS LISTING /tmp/ccQRbLT3.s page 11
 
 
479:FrameMgr.c **** }
658,7 → 658,7
522:FrameMgr.c **** #endif
523:FrameMgr.c **** unsigned char *pTableData = (unsigned char *)pCurrentTrackedObjectTable;
104 .stabn 68,0,523,.LM1-FrameMgr_processFrame
GAS LISTING /tmp/cceB4D4U.s page 12
GAS LISTING /tmp/ccQRbLT3.s page 12
 
 
105 .LM1:
718,7 → 718,7
123 0026 8091 0000 lds r24,numCurrTrackedObjects
124 002a 00D0 rcall UIMgr_writeTxFifo
125 002c DD24 clr r13
GAS LISTING /tmp/cceB4D4U.s page 13
GAS LISTING /tmp/ccQRbLT3.s page 13
 
 
126 .L4:
778,7 → 778,7
165 0058 0DC0 rjmp .L11
166 .L16:
575:FrameMgr.c **** else if (color == 4) k=5;
GAS LISTING /tmp/cceB4D4U.s page 14
GAS LISTING /tmp/ccQRbLT3.s page 14
 
 
167 .stabn 68,0,575,.LM13-FrameMgr_processFrame
838,7 → 838,7
210 .LM22:
211 0082 802F mov r24,r16
212 0084 00D0 rcall UIMgr_writeTxFifo
GAS LISTING /tmp/cceB4D4U.s page 15
GAS LISTING /tmp/ccQRbLT3.s page 15
 
 
587:FrameMgr.c **** UIMgr_writeTxFifo(tmpLowerRightX);
898,7 → 898,7
248 00ac EF90 pop r14
249 00ae DF90 pop r13
250 00b0 0895 ret
GAS LISTING /tmp/cceB4D4U.s page 16
GAS LISTING /tmp/ccQRbLT3.s page 16
 
 
251 /* epilogue end (size=8) */
958,7 → 958,7
305 00ea 1091 0000 lds r17,(pCurrentTrackedObjectTable)+1
306 .stabn 68,0,352,.LM31-FrameMgr_processLine
307 .LM31:
GAS LISTING /tmp/cceB4D4U.s page 17
GAS LISTING /tmp/ccQRbLT3.s page 17
 
 
308 00ee 8091 0000 lds r24,currentState
1018,7 → 1018,7
362 0140 00D0 rcall UartInt_txByte
363 .stabn 68,0,379,.LM39-FrameMgr_processLine
364 .LM39:
GAS LISTING /tmp/cceB4D4U.s page 18
GAS LISTING /tmp/ccQRbLT3.s page 18
 
 
365 0142 D801 movw r26,r16
1078,7 → 1078,7
419 .LM47:
420 0194 8834 cpi r24,lo8(72)
421 0196 60F0 brlo .L31
GAS LISTING /tmp/cceB4D4U.s page 19
GAS LISTING /tmp/ccQRbLT3.s page 19
 
 
422 .stabn 68,0,398,.LM48-FrameMgr_processLine
1138,7 → 1138,7
611:FrameMgr.c **** finding the connectedness between two particular run-
612:FrameMgr.c **** length encoded lines of pixel data. It updates the
613:FrameMgr.c **** trackingTable as needed.
GAS LISTING /tmp/cceB4D4U.s page 20
GAS LISTING /tmp/ccQRbLT3.s page 20
 
 
614:FrameMgr.c **** Inputs: none
1198,7 → 1198,7
668:FrameMgr.c **** connectedness */
669:FrameMgr.c **** lastLineXStart = *(pTrackedObjectData + LAST_LINE_X_START_OFFSET);
670:FrameMgr.c **** lastLineXFinish = *(pTrackedObjectData + LAST_LINE_X_FINISH_OFFSET);
GAS LISTING /tmp/cceB4D4U.s page 21
GAS LISTING /tmp/ccQRbLT3.s page 21
 
 
671:FrameMgr.c ****
1258,7 → 1258,7
725:FrameMgr.c **** upper left Y point, since each scan line we process moves from
726:FrameMgr.c **** top to bottom */
727:FrameMgr.c **** *(pTrackedObjectData + X_UPPER_LEFT_OFFSET) = currPixelRunStart;
GAS LISTING /tmp/cceB4D4U.s page 22
GAS LISTING /tmp/ccQRbLT3.s page 22
 
 
728:FrameMgr.c **** }
1318,7 → 1318,7
474 .stabn 68,0,663,.LM59-FrameMgr_processLine
475 .LM59:
476 01d6 CF2C mov r12,r15
GAS LISTING /tmp/cceB4D4U.s page 23
GAS LISTING /tmp/ccQRbLT3.s page 23
 
 
477 01d8 DD24 clr r13
1378,7 → 1378,7
531 022a A9F5 brne .L40
532 022c 0F2E mov __tmp_reg__,r31
533 022e F6E0 ldi r31,lo8(6)
GAS LISTING /tmp/cceB4D4U.s page 24
GAS LISTING /tmp/ccQRbLT3.s page 24
 
 
534 0230 AF2E mov r10,r31
1438,7 → 1438,7
588 027e 8381 ldd r24,Z+3
589 0280 5817 cp r21,r24
590 0282 08F4 brsh .L50
GAS LISTING /tmp/cceB4D4U.s page 25
GAS LISTING /tmp/ccQRbLT3.s page 25
 
 
591 .stabn 68,0,727,.LM72-FrameMgr_processLine
1498,7 → 1498,7
645 02b8 FD01 movw r30,r26
646 02ba 5183 std Z+1,r21
647 .stabn 68,0,776,.LM83-FrameMgr_processLine
GAS LISTING /tmp/cceB4D4U.s page 26
GAS LISTING /tmp/ccQRbLT3.s page 26
 
 
648 .LM83:
1558,7 → 1558,7
690 .LM92:
691 02e6 8C91 ld r24,X
692 02e8 8130 cpi r24,lo8(1)
GAS LISTING /tmp/cceB4D4U.s page 27
GAS LISTING /tmp/ccQRbLT3.s page 27
 
 
693 02ea A1F4 brne .L64
1618,7 → 1618,7
747 .LBB6:
748 .LBB7:
749 .stabn 68,0,757,.LM101-FrameMgr_processLine
GAS LISTING /tmp/cceB4D4U.s page 28
GAS LISTING /tmp/ccQRbLT3.s page 28
 
 
750 .LM101:
1678,7 → 1678,7
804 .stabn 68,0,192,.LM103-FrameMgr_init
805 .LM103:
806 0372 80E4 ldi r24,lo8(64)
GAS LISTING /tmp/cceB4D4U.s page 29
GAS LISTING /tmp/ccQRbLT3.s page 29
 
 
807 0374 E0E0 ldi r30,lo8(trackedObjectTable)
1738,7 → 1738,7
861 .stabn 68,0,310,.LM110-FrameMgr_acquireLine
862 .LM110:
863 03ac 829B sbis 48-0x20,2
GAS LISTING /tmp/cceB4D4U.s page 30
GAS LISTING /tmp/ccQRbLT3.s page 30
 
 
864 03ae 07C0 rjmp .L110
1798,7 → 1798,7
918 03ec 0895 ret
919 /* epilogue: frame size=0 */
920 /* epilogue: noreturn */
GAS LISTING /tmp/cceB4D4U.s page 31
GAS LISTING /tmp/ccQRbLT3.s page 31
 
 
921 /* epilogue end (size=0) */
1858,7 → 1858,7
975 0420 0895 ret
976 /* epilogue: frame size=0 */
977 /* epilogue: noreturn */
GAS LISTING /tmp/cceB4D4U.s page 32
GAS LISTING /tmp/ccQRbLT3.s page 32
 
 
978 /* epilogue end (size=0) */
1918,7 → 1918,7
1032 .stabn 68,0,215,.LM133-FrameMgr_dispatchEvent
1033 .LM133:
1034 0454 82E0 ldi r24,lo8(2)
GAS LISTING /tmp/cceB4D4U.s page 33
GAS LISTING /tmp/ccQRbLT3.s page 33
 
 
1035 0456 8093 0000 sts currentState,r24
1978,7 → 1978,7
1089 .lcomm numCurrTrackedObjects,1
1090 .lcomm currentState,1
1091 .lcomm lineCount,1
GAS LISTING /tmp/cceB4D4U.s page 34
GAS LISTING /tmp/ccQRbLT3.s page 34
 
 
1092 .lcomm trackedLineCount,1
1995,29 → 1995,29
1103 .stabs "",100,0,0,.Letext0
1104 .Letext0:
1105 /* File "FrameMgr.c": code 580 = 0x0244 ( 513), prologues 33, epilogues 34 */
GAS LISTING /tmp/cceB4D4U.s page 35
GAS LISTING /tmp/ccQRbLT3.s page 35
 
 
DEFINED SYMBOLS
*ABS*:00000000 FrameMgr.c
/tmp/cceB4D4U.s:3 *ABS*:0000003f __SREG__
/tmp/cceB4D4U.s:4 *ABS*:0000003e __SP_H__
/tmp/cceB4D4U.s:5 *ABS*:0000003d __SP_L__
/tmp/cceB4D4U.s:6 *ABS*:00000000 __tmp_reg__
/tmp/cceB4D4U.s:7 *ABS*:00000001 __zero_reg__
/tmp/cceB4D4U.s:91 .text:00000000 FrameMgr_processFrame
/tmp/cceB4D4U.s:1087 .data:00000000 pCurrentTrackedObjectTable
/tmp/ccQRbLT3.s:3 *ABS*:0000003f __SREG__
/tmp/ccQRbLT3.s:4 *ABS*:0000003e __SP_H__
/tmp/ccQRbLT3.s:5 *ABS*:0000003d __SP_L__
/tmp/ccQRbLT3.s:6 *ABS*:00000000 __tmp_reg__
/tmp/ccQRbLT3.s:7 *ABS*:00000001 __zero_reg__
/tmp/ccQRbLT3.s:91 .text:00000000 FrameMgr_processFrame
/tmp/ccQRbLT3.s:1087 .data:00000000 pCurrentTrackedObjectTable
.bss:00000000 numCurrTrackedObjects
/tmp/cceB4D4U.s:270 .text:000000b2 FrameMgr_processLine
/tmp/cceB4D4U.s:1089 .bss:00000001 currentState
/tmp/cceB4D4U.s:1090 .bss:00000002 lineCount
/tmp/cceB4D4U.s:1091 .bss:00000003 trackedLineCount
/tmp/cceB4D4U.s:798 .text:00000372 FrameMgr_init
/tmp/cceB4D4U.s:1093 .bss:00000005 trackedObjectTable
/tmp/cceB4D4U.s:823 .text:00000380 FrameMgr_acquireLine
/tmp/cceB4D4U.s:933 .text:000003ee FrameMgr_acquireFrame
/tmp/cceB4D4U.s:1092 .bss:00000004 numPrevTrackedObjects
/tmp/cceB4D4U.s:988 .text:00000422 FrameMgr_dispatchEvent
/tmp/ccQRbLT3.s:270 .text:000000b2 FrameMgr_processLine
/tmp/ccQRbLT3.s:1089 .bss:00000001 currentState
/tmp/ccQRbLT3.s:1090 .bss:00000002 lineCount
/tmp/ccQRbLT3.s:1091 .bss:00000003 trackedLineCount
/tmp/ccQRbLT3.s:798 .text:00000372 FrameMgr_init
/tmp/ccQRbLT3.s:1093 .bss:00000005 trackedObjectTable
/tmp/ccQRbLT3.s:823 .text:00000380 FrameMgr_acquireLine
/tmp/ccQRbLT3.s:933 .text:000003ee FrameMgr_acquireFrame
/tmp/ccQRbLT3.s:1092 .bss:00000004 numPrevTrackedObjects
/tmp/ccQRbLT3.s:988 .text:00000422 FrameMgr_dispatchEvent
 
UNDEFINED SYMBOLS
__do_copy_data
/programy/Atmel_C/AVRcam/I2CInterface.lst
1,4 → 1,4
GAS LISTING /tmp/ccQb65z2.s page 1
GAS LISTING /tmp/ccZHfAgR.s page 1
 
 
1 .file "I2CInterface.c"
58,7 → 58,7
55 .stabs "uint_fast16_t:t(4,22)=(4,4)",128,0,215,0
56 .stabs "int_fast32_t:t(4,23)=(4,5)",128,0,220,0
57 .stabs "uint_fast32_t:t(4,24)=(4,6)",128,0,225,0
GAS LISTING /tmp/ccQb65z2.s page 2
GAS LISTING /tmp/ccZHfAgR.s page 2
 
 
58 .stabs "int_fast64_t:t(4,25)=(4,7)",128,0,230,0
118,7 → 118,7
32:I2CInterface.c **** low-level interface to the I2C hardware resident on the
33:I2CInterface.c **** mega8 processor (also known as the Two-Wire Interface,
34:I2CInterface.c **** or TWI). The interface is needed to configure the
GAS LISTING /tmp/ccQb65z2.s page 3
GAS LISTING /tmp/ccZHfAgR.s page 3
 
 
35:I2CInterface.c **** needed registers in the OV6620 camera. This interface
178,7 → 178,7
84 /* prologue end (size=0) */
86:I2CInterface.c **** TWSR = 0;
85 .stabn 68,0,86,.LM1-I2CInt_init
GAS LISTING /tmp/ccQb65z2.s page 4
GAS LISTING /tmp/ccZHfAgR.s page 4
 
 
86 .LM1:
238,7 → 238,7
117 000e 8823 tst r24
118 0010 E4F3 brlt .L5
119 .L9:
GAS LISTING /tmp/ccQb65z2.s page 5
GAS LISTING /tmp/ccZHfAgR.s page 5
 
 
110:I2CInterface.c **** while(TWCR & (1<<TWSTO));
298,7 → 298,7
159 .stabs "address:P(0,11)",64,0,137,25
160 .stabs "data:P(0,16)",64,0,137,22
161 .stabs "bytes:P(0,11)",64,0,137,20
GAS LISTING /tmp/ccQb65z2.s page 6
GAS LISTING /tmp/ccZHfAgR.s page 6
 
 
162 .global I2CInt_readData
358,7 → 358,7
193 0060 1092 0000 sts retry_cnt,__zero_reg__
148:I2CInterface.c ****
149:I2CInterface.c **** /* Generate start condition, the remainder of the transfer is interrupt driven and
GAS LISTING /tmp/ccQb65z2.s page 7
GAS LISTING /tmp/ccZHfAgR.s page 7
 
 
150:I2CInterface.c **** will be performed in the background */
418,7 → 418,7
172:I2CInterface.c ****
173:I2CInterface.c **** return(retVal);
174:I2CInterface.c **** }
GAS LISTING /tmp/ccQb65z2.s page 8
GAS LISTING /tmp/ccZHfAgR.s page 8
 
 
226 .stabn 68,0,174,.LM24-I2CInt_isI2cBusy
478,7 → 478,7
264 009e BB27 clr r27
265 00a0 887F andi r24,lo8(248)
266 00a2 9070 andi r25,hi8(248)
GAS LISTING /tmp/ccQb65z2.s page 9
GAS LISTING /tmp/ccZHfAgR.s page 9
 
 
267 00a4 A070 andi r26,hlo8(248)
538,7 → 538,7
321 0044 00C0 rjmp .L42
322 0046 00C0 rjmp .L42
323 0048 00C0 rjmp .L42
GAS LISTING /tmp/ccQb65z2.s page 10
GAS LISTING /tmp/ccZHfAgR.s page 10
 
 
324 004a 00C0 rjmp .L42
598,7 → 598,7
374 00c0 48F0 brlo .L34
195:I2CInterface.c **** {
196:I2CInterface.c **** /* generate stop condition if we've reached our retry limit */
GAS LISTING /tmp/ccQb65z2.s page 11
GAS LISTING /tmp/ccZHfAgR.s page 11
 
 
197:I2CInterface.c **** TWCR |= (1<<TWINT)|(1<<TWSTO);
658,7 → 658,7
414 0100 E093 0000 sts twi_data,r30
212:I2CInterface.c ****
213:I2CInterface.c **** /* clear the int to continue */
GAS LISTING /tmp/ccQb65z2.s page 12
GAS LISTING /tmp/ccZHfAgR.s page 12
 
 
214:I2CInterface.c **** TWCR |= (1<<TWINT);
718,7 → 718,7
452 0142 E093 0000 sts twi_data,r30
231:I2CInterface.c **** TWCR |= (1<<TWINT);
453 .stabn 68,0,231,.LM43-__vector_17
GAS LISTING /tmp/ccQb65z2.s page 13
GAS LISTING /tmp/ccZHfAgR.s page 13
 
 
454 .LM43:
778,7 → 778,7
491 0182 21F0 breq .L38
249:I2CInterface.c **** {
250:I2CInterface.c **** /* if there is more than one byte to read, acknowledge */
GAS LISTING /tmp/ccQb65z2.s page 14
GAS LISTING /tmp/ccZHfAgR.s page 14
 
 
251:I2CInterface.c **** TWCR |= (1<<TWEA)|(1<<TWINT);
838,7 → 838,7
528 01be 806C ori r24,lo8(-64)
529 01c0 86BF out 86-0x20,r24
530 01c2 12C0 rjmp .L42
GAS LISTING /tmp/ccQb65z2.s page 15
GAS LISTING /tmp/ccZHfAgR.s page 15
 
 
531 .L40:
898,7 → 898,7
572 .stabs "",36,0,0,.Lscope4-__vector_17
573 .stabd 78,0,0
574 .lcomm twi_address,1
GAS LISTING /tmp/ccQb65z2.s page 16
GAS LISTING /tmp/ccZHfAgR.s page 16
 
 
575 .lcomm twi_data,2
915,27 → 915,27
586 .stabs "",100,0,0,.Letext0
587 .Letext0:
588 /* File "I2CInterface.c": code 336 = 0x0150 ( 310), prologues 11, epilogues 15 */
GAS LISTING /tmp/ccQb65z2.s page 17
GAS LISTING /tmp/ccZHfAgR.s page 17
 
 
DEFINED SYMBOLS
*ABS*:00000000 I2CInterface.c
/tmp/ccQb65z2.s:3 *ABS*:0000003f __SREG__
/tmp/ccQb65z2.s:4 *ABS*:0000003e __SP_H__
/tmp/ccQb65z2.s:5 *ABS*:0000003d __SP_L__
/tmp/ccQb65z2.s:6 *ABS*:00000000 __tmp_reg__
/tmp/ccQb65z2.s:7 *ABS*:00000001 __zero_reg__
/tmp/ccQb65z2.s:79 .text:00000000 I2CInt_init
/tmp/ccQb65z2.s:106 .text:00000008 I2CInt_writeData
/tmp/ccQb65z2.s:577 .bss:00000005 status
/tmp/ccZHfAgR.s:3 *ABS*:0000003f __SREG__
/tmp/ccZHfAgR.s:4 *ABS*:0000003e __SP_H__
/tmp/ccZHfAgR.s:5 *ABS*:0000003d __SP_L__
/tmp/ccZHfAgR.s:6 *ABS*:00000000 __tmp_reg__
/tmp/ccZHfAgR.s:7 *ABS*:00000001 __zero_reg__
/tmp/ccZHfAgR.s:79 .text:00000000 I2CInt_init
/tmp/ccZHfAgR.s:106 .text:00000008 I2CInt_writeData
/tmp/ccZHfAgR.s:577 .bss:00000005 status
.bss:00000000 twi_address
/tmp/ccQb65z2.s:574 .bss:00000001 twi_data
/tmp/ccQb65z2.s:576 .bss:00000004 twi_bytes
/tmp/ccQb65z2.s:575 .bss:00000003 twi_ddr
/tmp/ccQb65z2.s:578 .bss:00000006 retry_cnt
/tmp/ccQb65z2.s:164 .text:00000040 I2CInt_readData
/tmp/ccQb65z2.s:214 .text:00000074 I2CInt_isI2cBusy
/tmp/ccQb65z2.s:240 .text:00000082 __vector_17
/tmp/ccZHfAgR.s:574 .bss:00000001 twi_data
/tmp/ccZHfAgR.s:576 .bss:00000004 twi_bytes
/tmp/ccZHfAgR.s:575 .bss:00000003 twi_ddr
/tmp/ccZHfAgR.s:578 .bss:00000006 retry_cnt
/tmp/ccZHfAgR.s:164 .text:00000040 I2CInt_readData
/tmp/ccZHfAgR.s:214 .text:00000074 I2CInt_isI2cBusy
/tmp/ccZHfAgR.s:240 .text:00000082 __vector_17
 
UNDEFINED SYMBOLS
__do_copy_data
/programy/Atmel_C/AVRcam/Main.lst
1,4 → 1,4
GAS LISTING /tmp/cciGcq4n.s page 1
GAS LISTING /tmp/ccgNUTZJ.s page 1
 
 
1 .file "Main.c"
58,7 → 58,7
55 .stabs "uint_fast16_t:t(4,22)=(4,4)",128,0,215,0
56 .stabs "int_fast32_t:t(4,23)=(4,5)",128,0,220,0
57 .stabs "uint_fast32_t:t(4,24)=(4,6)",128,0,225,0
GAS LISTING /tmp/cciGcq4n.s page 2
GAS LISTING /tmp/ccgNUTZJ.s page 2
 
 
58 .stabs "int_fast64_t:t(4,25)=(4,7)",128,0,230,0
118,7 → 118,7
25:Main.c **** */
26:Main.c **** /***********************************************************
27:Main.c **** Module Name: Main.c
GAS LISTING /tmp/cciGcq4n.s page 3
GAS LISTING /tmp/ccgNUTZJ.s page 3
 
 
28:Main.c **** Module Date: 04/10/2004
178,7 → 178,7
97 .LM1:
98 0008 00D0 rcall DebugInt_init
73:Main.c **** UartInt_init();
GAS LISTING /tmp/cciGcq4n.s page 4
GAS LISTING /tmp/ccgNUTZJ.s page 4
 
 
99 .stabn 68,0,73,.LM2-main
238,7 → 238,7
132 0020 80E0 ldi r24,lo8(0)
133 0022 90E0 ldi r25,hi8(0)
134 /* epilogue: frame size=0 */
GAS LISTING /tmp/cciGcq4n.s page 5
GAS LISTING /tmp/ccgNUTZJ.s page 5
 
 
135 0024 00C0 rjmp exit
251,17 → 251,17
142 .stabs "",100,0,0,.Letext0
143 .Letext0:
144 /* File "Main.c": code 20 = 0x0014 ( 15), prologues 4, epilogues 1 */
GAS LISTING /tmp/cciGcq4n.s page 6
GAS LISTING /tmp/ccgNUTZJ.s page 6
 
 
DEFINED SYMBOLS
*ABS*:00000000 Main.c
/tmp/cciGcq4n.s:3 *ABS*:0000003f __SREG__
/tmp/cciGcq4n.s:4 *ABS*:0000003e __SP_H__
/tmp/cciGcq4n.s:5 *ABS*:0000003d __SP_L__
/tmp/cciGcq4n.s:6 *ABS*:00000000 __tmp_reg__
/tmp/cciGcq4n.s:7 *ABS*:00000001 __zero_reg__
/tmp/cciGcq4n.s:86 .text:00000000 main
/tmp/ccgNUTZJ.s:3 *ABS*:0000003f __SREG__
/tmp/ccgNUTZJ.s:4 *ABS*:0000003e __SP_H__
/tmp/ccgNUTZJ.s:5 *ABS*:0000003d __SP_L__
/tmp/ccgNUTZJ.s:6 *ABS*:00000000 __tmp_reg__
/tmp/ccgNUTZJ.s:7 *ABS*:00000001 __zero_reg__
/tmp/ccgNUTZJ.s:86 .text:00000000 main
 
UNDEFINED SYMBOLS
__do_copy_data
/programy/Atmel_C/AVRcam/UIMgr.lst
1,4 → 1,4
GAS LISTING /tmp/cct6zTlg.s page 1
GAS LISTING /tmp/ccRvT1Qm.s page 1
 
 
1 .file "UIMgr.c"
58,7 → 58,7
55 .stabs "uint_fast16_t:t(4,22)=(4,4)",128,0,215,0
56 .stabs "int_fast32_t:t(4,23)=(4,5)",128,0,220,0
57 .stabs "uint_fast32_t:t(4,24)=(4,6)",128,0,225,0
GAS LISTING /tmp/cct6zTlg.s page 2
GAS LISTING /tmp/ccRvT1Qm.s page 2
 
 
58 .stabs "int_fast64_t:t(4,25)=(4,7)",128,0,230,0
118,7 → 118,7
17:UIMgr.c **** License along with this program; if not, write to the Free Software
18:UIMgr.c **** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19:UIMgr.c ****
GAS LISTING /tmp/cct6zTlg.s page 3
GAS LISTING /tmp/ccRvT1Qm.s page 3
 
 
20:UIMgr.c **** For more information on the AVRcam, please contact:
178,7 → 178,7
74:UIMgr.c **** dumpFrameCmd,
75:UIMgr.c **** enableTrackingCmd,
76:UIMgr.c **** disableTrackingCmd,
GAS LISTING /tmp/cct6zTlg.s page 4
GAS LISTING /tmp/ccRvT1Qm.s page 4
 
 
77:UIMgr.c **** setColorMapCmd,
238,7 → 238,7
131:UIMgr.c **** initializing the UIMgr module. It sets up the fifo
132:UIMgr.c **** used to hold incoming data, etc.
133:UIMgr.c **** Inputs: none
GAS LISTING /tmp/cct6zTlg.s page 5
GAS LISTING /tmp/ccRvT1Qm.s page 5
 
 
134:UIMgr.c **** Outputs: none
298,7 → 298,7
188:UIMgr.c **** parsing any serial data waiting in the rx fifo
189:UIMgr.c **** Inputs: none
190:UIMgr.c **** Outputs: none
GAS LISTING /tmp/cct6zTlg.s page 6
GAS LISTING /tmp/ccRvT1Qm.s page 6
 
 
191:UIMgr.c **** ***********************************************************/
358,7 → 358,7
245:UIMgr.c **** means we have received a token, with tokenCount == 0, which means it is a
246:UIMgr.c **** command...why is this contributing to tokenCount?
247:UIMgr.c **** This might cause the set color map command to include too much data, since
GAS LISTING /tmp/cct6zTlg.s page 7
GAS LISTING /tmp/ccRvT1Qm.s page 7
 
 
248:UIMgr.c **** it sets the color map based on tokenCount...CHECK*/
418,7 → 418,7
302:UIMgr.c **** executing whatever cmd is stored in the receivedCmd
303:UIMgr.c **** object.
304:UIMgr.c **** Inputs: none
GAS LISTING /tmp/cct6zTlg.s page 8
GAS LISTING /tmp/ccRvT1Qm.s page 8
 
 
305:UIMgr.c **** Outputs: none
478,7 → 478,7
359:UIMgr.c **** }
360:UIMgr.c **** else if (receivedCmd == disableTrackingCmd)
361:UIMgr.c **** {
GAS LISTING /tmp/cct6zTlg.s page 9
GAS LISTING /tmp/ccRvT1Qm.s page 9
 
 
362:UIMgr.c **** PUBLISH_EVENT(EV_DISABLE_TRACKING);
538,7 → 538,7
416:UIMgr.c **** access the asciiTokenBuffer directly, and store the
417:UIMgr.c **** result in the appropriate token buffer.
418:UIMgr.c **** Inputs: none
GAS LISTING /tmp/cct6zTlg.s page 10
GAS LISTING /tmp/ccRvT1Qm.s page 10
 
 
419:UIMgr.c **** Outputs: none
598,7 → 598,7
473:UIMgr.c **** /* the user wants to set registers in the OV6620 */
474:UIMgr.c **** receivedCmd = setCameraRegsCmd;
475:UIMgr.c **** }
GAS LISTING /tmp/cct6zTlg.s page 11
GAS LISTING /tmp/ccRvT1Qm.s page 11
 
 
476:UIMgr.c **** else if ( (asciiTokenBuffer[0] == 'E') &&
658,7 → 658,7
530:UIMgr.c **** {
531:UIMgr.c **** UIMgr_writeTxFifo('N');
532:UIMgr.c **** UIMgr_writeTxFifo('C');
GAS LISTING /tmp/cct6zTlg.s page 12
GAS LISTING /tmp/ccRvT1Qm.s page 12
 
 
533:UIMgr.c **** UIMgr_writeTxFifo('K');
718,7 → 718,7
125 001c 8091 0000 lds r24,UIMgr_txFifoHead
126 0020 FA01 movw r30,r20
127 0022 E80F add r30,r24
GAS LISTING /tmp/cct6zTlg.s page 13
GAS LISTING /tmp/ccRvT1Qm.s page 13
 
 
128 0024 F11D adc r31,__zero_reg__
778,7 → 778,7
579:UIMgr.c **** UartInt_txByte(*pData++);
580:UIMgr.c **** }
581:UIMgr.c **** }
GAS LISTING /tmp/cct6zTlg.s page 14
GAS LISTING /tmp/ccRvT1Qm.s page 14
 
 
582:UIMgr.c ****
838,7 → 838,7
632:UIMgr.c ****
633:UIMgr.c **** /* just return the current tail from the tx fifo */
634:UIMgr.c **** DISABLE_INTS();
GAS LISTING /tmp/cct6zTlg.s page 15
GAS LISTING /tmp/ccRvT1Qm.s page 15
 
 
165 .stabn 68,0,634,.LM9-UIMgr_readTxFifo
898,7 → 898,7
646:UIMgr.c **** writing a single byte to the TxFifo and
647:UIMgr.c **** updating the appropriate pointers.
648:UIMgr.c **** Inputs: data - the byte to write to the Fifo
GAS LISTING /tmp/cct6zTlg.s page 16
GAS LISTING /tmp/ccRvT1Qm.s page 16
 
 
649:UIMgr.c **** Outputs: none
958,7 → 958,7
249 .LM19:
250 /* prologue: frame size=0 */
251 /* prologue end (size=0) */
GAS LISTING /tmp/cct6zTlg.s page 17
GAS LISTING /tmp/ccRvT1Qm.s page 17
 
 
252 .stabn 68,0,593,.LM20-UIMgr_flushTxBuffer
1018,7 → 1018,7
306 00ac 0250 subi r16,lo8(-(-2))
307 .L22:
308 .stabn 68,0,579,.LM26-UIMgr_txBuffer
GAS LISTING /tmp/cct6zTlg.s page 18
GAS LISTING /tmp/ccRvT1Qm.s page 18
 
 
309 .LM26:
1078,7 → 1078,7
363 .stabn 68,0,450,.LM31-UIMgr_convertTokenToCmd
364 .LM31:
365 /* prologue: frame size=0 */
GAS LISTING /tmp/cct6zTlg.s page 19
GAS LISTING /tmp/ccRvT1Qm.s page 19
 
 
366 /* prologue end (size=0) */
1138,7 → 1138,7
420 .L32:
421 .stabn 68,0,476,.LM41-UIMgr_convertTokenToCmd
422 .LM41:
GAS LISTING /tmp/cct6zTlg.s page 20
GAS LISTING /tmp/ccRvT1Qm.s page 20
 
 
423 0126 9534 cpi r25,lo8(69)
1198,7 → 1198,7
477 .L34:
478 .stabn 68,0,503,.LM50-UIMgr_convertTokenToCmd
479 .LM50:
GAS LISTING /tmp/cct6zTlg.s page 21
GAS LISTING /tmp/ccRvT1Qm.s page 21
 
 
480 017c 83E0 ldi r24,lo8(3)
1258,7 → 1258,7
534 01bc E0E0 ldi r30,lo8(UIMgr_rxFifo)
535 01be F0E0 ldi r31,hi8(UIMgr_rxFifo)
536 01c0 1192 st Z+,__zero_reg__
GAS LISTING /tmp/cct6zTlg.s page 22
GAS LISTING /tmp/ccRvT1Qm.s page 22
 
 
537 01c2 8A95 dec r24
1318,7 → 1318,7
591 .stabn 68,0,437,.LM64-UIMgr_convertTokenToValue
592 .LM64:
593 01fe 83E0 ldi r24,lo8(3)
GAS LISTING /tmp/cct6zTlg.s page 23
GAS LISTING /tmp/ccRvT1Qm.s page 23
 
 
594 0200 E0E0 ldi r30,lo8(asciiTokenBuffer)
1378,7 → 1378,7
648 0230 F040 sbci r31,hi8(-(UIMgr_rxFifo))
649 0232 9081 ld r25,Z
650 .stabn 68,0,615,.LM70-UIMgr_processReceivedData
GAS LISTING /tmp/cct6zTlg.s page 24
GAS LISTING /tmp/ccRvT1Qm.s page 24
 
 
651 .LM70:
1438,7 → 1438,7
705 .LM80:
706 0272 83E4 ldi r24,lo8(67)
707 0274 F2DE rcall UIMgr_writeTxFifo
GAS LISTING /tmp/cct6zTlg.s page 25
GAS LISTING /tmp/ccRvT1Qm.s page 25
 
 
708 .stabn 68,0,533,.LM81-UIMgr_processReceivedData
1498,7 → 1498,7
762 02a6 8091 0000 lds r24,AVRcamVersion
763 02aa 8823 tst r24
764 02ac 09F4 brne .+2
GAS LISTING /tmp/cct6zTlg.s page 26
GAS LISTING /tmp/ccRvT1Qm.s page 26
 
 
765 02ae 73C0 rjmp .L73
1558,7 → 1558,7
819 02ea FF27 clr r31
820 02ec E050 subi r30,lo8(-(tokenBuffer))
821 02ee F040 sbci r31,hi8(-(tokenBuffer))
GAS LISTING /tmp/cct6zTlg.s page 27
GAS LISTING /tmp/ccRvT1Qm.s page 27
 
 
822 02f0 6181 ldd r22,Z+1
1618,7 → 1618,7
876 0334 60E0 ldi r22,lo8(colorMap)
877 0336 70E0 ldi r23,hi8(colorMap)
878 .L94:
GAS LISTING /tmp/cct6zTlg.s page 28
GAS LISTING /tmp/ccRvT1Qm.s page 28
 
 
879 .stabn 68,0,369,.LM111-UIMgr_processReceivedData
1678,7 → 1678,7
36:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****
37:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** Contributors:
38:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** Created by Marek Michalkiewicz <marekm@linux.org.pl>
GAS LISTING /tmp/cct6zTlg.s page 29
GAS LISTING /tmp/ccRvT1Qm.s page 29
 
 
39:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** eeprom_write_word and eeprom_write_block added by Artur Lipowski
1738,7 → 1738,7
93:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** mode interface. Applications that require interrupt-controlled
94:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** EEPROM access to ensure that no time will be wasted in spinloops
95:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** will have to deploy their own implementation.
GAS LISTING /tmp/cct6zTlg.s page 30
GAS LISTING /tmp/ccRvT1Qm.s page 30
 
 
96:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****
1798,7 → 1798,7
150:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****
151:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** /*@{*/
152:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h ****
GAS LISTING /tmp/cct6zTlg.s page 31
GAS LISTING /tmp/ccRvT1Qm.s page 31
 
 
153:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** /** \def EEMEM
1858,7 → 1858,7
912 035a C1F0 breq .L95
913 .LBB32:
914 .LBB33:
GAS LISTING /tmp/cct6zTlg.s page 32
GAS LISTING /tmp/ccRvT1Qm.s page 32
 
 
915 .stabs "/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h",132,0,0,.Ltext3
1918,7 → 1918,7
245:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** "z" (pointer_ram)
246:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** : "memory");
247:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** }
GAS LISTING /tmp/cct6zTlg.s page 33
GAS LISTING /tmp/ccRvT1Qm.s page 33
 
 
248:/usr/lib/gcc/avr/4.1.0/../../../../avr/include/avr/eeprom.h **** else
1978,7 → 1978,7
932 0364 00D0 rcall __eeprom_read_byte_1C1D1E
933 0366 802D mov r24,__tmp_reg__
934 /* #NOAPP */
GAS LISTING /tmp/cct6zTlg.s page 34
GAS LISTING /tmp/ccRvT1Qm.s page 34
 
 
935 .LBE35:
2038,7 → 2038,7
989 .LBB43:
990 .stabn 68,0,192,.LM121-UIMgr_processReceivedData
991 .LM121:
GAS LISTING /tmp/cct6zTlg.s page 35
GAS LISTING /tmp/ccRvT1Qm.s page 35
 
 
992 0386 D901 movw r26,r18
2098,7 → 2098,7
1046 03c4 CF97 sbiw r24,63
1047 03c6 4CF0 brlt .L103
1048 .stabn 68,0,259,.LM130-UIMgr_processReceivedData
GAS LISTING /tmp/cct6zTlg.s page 36
GAS LISTING /tmp/ccRvT1Qm.s page 36
 
 
1049 .LM130:
2158,7 → 2158,7
1103 .stabn 68,0,284,.LM141-UIMgr_processReceivedData
1104 .LM141:
1105 0418 F092 0000 sts receivedCmd,r15
GAS LISTING /tmp/cct6zTlg.s page 37
GAS LISTING /tmp/ccRvT1Qm.s page 37
 
 
1106 .stabn 68,0,285,.LM142-UIMgr_processReceivedData
2218,7 → 2218,7
1160 .stabn 68,0,153,.LM148-UIMgr_dispatchEvent
1161 .LM148:
1162 0446 8039 cpi r24,lo8(-112)
GAS LISTING /tmp/cct6zTlg.s page 38
GAS LISTING /tmp/ccRvT1Qm.s page 38
 
 
1163 0448 39F0 breq .L124
2278,7 → 2278,7
1217 .data
1218 .type receivedCmd, @object
1219 .size receivedCmd, 1
GAS LISTING /tmp/cct6zTlg.s page 39
GAS LISTING /tmp/ccRvT1Qm.s page 39
 
 
1220 receivedCmd:
2313,40 → 2313,40
1246 .stabs "",100,0,0,.Letext0
1247 .Letext0:
1248 /* File "UIMgr.c": code 582 = 0x0246 ( 557), prologues 9, epilogues 16 */
GAS LISTING /tmp/cct6zTlg.s page 40
GAS LISTING /tmp/ccRvT1Qm.s page 40
 
 
DEFINED SYMBOLS
*ABS*:00000000 UIMgr.c
/tmp/cct6zTlg.s:3 *ABS*:0000003f __SREG__
/tmp/cct6zTlg.s:4 *ABS*:0000003e __SP_H__
/tmp/cct6zTlg.s:5 *ABS*:0000003d __SP_L__
/tmp/cct6zTlg.s:6 *ABS*:00000000 __tmp_reg__
/tmp/cct6zTlg.s:7 *ABS*:00000001 __zero_reg__
/tmp/cct6zTlg.s:94 .text:00000000 UIMgr_writeBufferToTxFifo
/tmp/ccRvT1Qm.s:3 *ABS*:0000003f __SREG__
/tmp/ccRvT1Qm.s:4 *ABS*:0000003e __SP_H__
/tmp/ccRvT1Qm.s:5 *ABS*:0000003d __SP_L__
/tmp/ccRvT1Qm.s:6 *ABS*:00000000 __tmp_reg__
/tmp/ccRvT1Qm.s:7 *ABS*:00000001 __zero_reg__
/tmp/ccRvT1Qm.s:94 .text:00000000 UIMgr_writeBufferToTxFifo
*COM*:00000040 UIMgr_txFifo
/tmp/cct6zTlg.s:1208 .bss:00000002 UIMgr_txFifoHead
/tmp/cct6zTlg.s:159 .text:0000003c UIMgr_readTxFifo
/tmp/cct6zTlg.s:1214 .bss:00000003 UIMgr_txFifoTail
/tmp/cct6zTlg.s:206 .text:0000005a UIMgr_writeTxFifo
/tmp/cct6zTlg.s:246 .text:00000076 UIMgr_flushTxBuffer
/tmp/cct6zTlg.s:284 .text:00000094 UIMgr_txBuffer
/tmp/cct6zTlg.s:333 .text:000000c2 UIMgr_transmitPendingData
/tmp/cct6zTlg.s:361 .text:000000d4 UIMgr_convertTokenToCmd
/tmp/cct6zTlg.s:1223 .bss:00000007 asciiTokenBuffer
/tmp/cct6zTlg.s:1220 .data:00000000 receivedCmd
/tmp/cct6zTlg.s:1222 .bss:00000006 charIndex
/tmp/cct6zTlg.s:1216 .bss:00000005 charCount
/tmp/cct6zTlg.s:503 .text:00000192 UIMgr_init
/tmp/cct6zTlg.s:1228 .bss:0000000b tokenBuffer
/tmp/ccRvT1Qm.s:1208 .bss:00000002 UIMgr_txFifoHead
/tmp/ccRvT1Qm.s:159 .text:0000003c UIMgr_readTxFifo
/tmp/ccRvT1Qm.s:1214 .bss:00000003 UIMgr_txFifoTail
/tmp/ccRvT1Qm.s:206 .text:0000005a UIMgr_writeTxFifo
/tmp/ccRvT1Qm.s:246 .text:00000076 UIMgr_flushTxBuffer
/tmp/ccRvT1Qm.s:284 .text:00000094 UIMgr_txBuffer
/tmp/ccRvT1Qm.s:333 .text:000000c2 UIMgr_transmitPendingData
/tmp/ccRvT1Qm.s:361 .text:000000d4 UIMgr_convertTokenToCmd
/tmp/ccRvT1Qm.s:1223 .bss:00000007 asciiTokenBuffer
/tmp/ccRvT1Qm.s:1220 .data:00000000 receivedCmd
/tmp/ccRvT1Qm.s:1222 .bss:00000006 charIndex
/tmp/ccRvT1Qm.s:1216 .bss:00000005 charCount
/tmp/ccRvT1Qm.s:503 .text:00000192 UIMgr_init
/tmp/ccRvT1Qm.s:1228 .bss:0000000b tokenBuffer
*COM*:00000020 UIMgr_rxFifo
/tmp/cct6zTlg.s:549 .text:000001c8 UIMgr_convertTokenToValue
/tmp/ccRvT1Qm.s:549 .text:000001c8 UIMgr_convertTokenToValue
.bss:00000004 tokenCount
/tmp/cct6zTlg.s:619 .text:00000214 UIMgr_processReceivedData
/tmp/cct6zTlg.s:1202 .bss:00000001 UIMgr_rxFifoTail
/tmp/cct6zTlg.s:1226 .data:00000001 AVRcamVersion
/tmp/cct6zTlg.s:1196 .bss:00000000 UIMgr_rxFifoHead
/tmp/cct6zTlg.s:1150 .text:00000442 UIMgr_dispatchEvent
/tmp/ccRvT1Qm.s:619 .text:00000214 UIMgr_processReceivedData
/tmp/ccRvT1Qm.s:1202 .bss:00000001 UIMgr_rxFifoTail
/tmp/ccRvT1Qm.s:1226 .data:00000001 AVRcamVersion
/tmp/ccRvT1Qm.s:1196 .bss:00000000 UIMgr_rxFifoHead
/tmp/ccRvT1Qm.s:1150 .text:00000442 UIMgr_dispatchEvent
 
UNDEFINED SYMBOLS
__do_copy_data
/programy/Atmel_C/AVRcam/UartInterface.lst
1,4 → 1,4
GAS LISTING /tmp/ccKNlHA9.s page 1
GAS LISTING /tmp/ccZtX2VJ.s page 1
 
 
1 .file "UartInterface.c"
58,7 → 58,7
55 .stabs "uint_fast16_t:t(4,22)=(4,4)",128,0,215,0
56 .stabs "int_fast32_t:t(4,23)=(4,5)",128,0,220,0
57 .stabs "uint_fast32_t:t(4,24)=(4,6)",128,0,225,0
GAS LISTING /tmp/ccKNlHA9.s page 2
GAS LISTING /tmp/ccZtX2VJ.s page 2
 
 
58 .stabs "int_fast64_t:t(4,25)=(4,7)",128,0,230,0
118,7 → 118,7
37:UartInterface.c **** 4/10/2004 0.1 Module created
38:UartInterface.c **** 6/30/2004 1.0 Initial release for Circuit Cellar
39:UartInterface.c **** contest.
GAS LISTING /tmp/ccKNlHA9.s page 3
GAS LISTING /tmp/ccZtX2VJ.s page 3
 
 
40:UartInterface.c **** 11/15/2004 1.2 Updated UART baud rate regs so that
178,7 → 178,7
83:UartInterface.c **** #else
84:UartInterface.c **** UBRRL = 0x08; /* for 16 MHz crystal at 115.2 kbps */
85:UartInterface.c **** #endif
GAS LISTING /tmp/ccKNlHA9.s page 4
GAS LISTING /tmp/ccZtX2VJ.s page 4
 
 
86:UartInterface.c ****
238,7 → 238,7
114:UartInterface.c **** void UartInt_txByte(unsigned char txByte)
115:UartInterface.c **** {
113 .stabn 68,0,115,.LM6-UartInt_txByte
GAS LISTING /tmp/ccKNlHA9.s page 5
GAS LISTING /tmp/ccZtX2VJ.s page 5
 
 
114 .LM6:
298,7 → 298,7
145 0024 1124 clr __zero_reg__
146 0026 8F93 push r24
147 0028 9F93 push r25
GAS LISTING /tmp/ccKNlHA9.s page 6
GAS LISTING /tmp/ccZtX2VJ.s page 6
 
 
148 002a EF93 push r30
358,7 → 358,7
186 006a 0F90 pop __tmp_reg__
187 006c 1F90 pop __zero_reg__
188 006e 1895 reti
GAS LISTING /tmp/ccKNlHA9.s page 7
GAS LISTING /tmp/ccZtX2VJ.s page 7
 
 
189 /* epilogue end (size=9) */
370,19 → 370,19
195 .stabs "",100,0,0,.Letext0
196 .Letext0:
197 /* File "UartInterface.c": code 56 = 0x0038 ( 36), prologues 9, epilogues 11 */
GAS LISTING /tmp/ccKNlHA9.s page 8
GAS LISTING /tmp/ccZtX2VJ.s page 8
 
 
DEFINED SYMBOLS
*ABS*:00000000 UartInterface.c
/tmp/ccKNlHA9.s:3 *ABS*:0000003f __SREG__
/tmp/ccKNlHA9.s:4 *ABS*:0000003e __SP_H__
/tmp/ccKNlHA9.s:5 *ABS*:0000003d __SP_L__
/tmp/ccKNlHA9.s:6 *ABS*:00000000 __tmp_reg__
/tmp/ccKNlHA9.s:7 *ABS*:00000001 __zero_reg__
/tmp/ccKNlHA9.s:74 .text:00000000 UartInt_init
/tmp/ccKNlHA9.s:111 .text:00000014 UartInt_txByte
/tmp/ccKNlHA9.s:136 .text:0000001c __vector_11
/tmp/ccZtX2VJ.s:3 *ABS*:0000003f __SREG__
/tmp/ccZtX2VJ.s:4 *ABS*:0000003e __SP_H__
/tmp/ccZtX2VJ.s:5 *ABS*:0000003d __SP_L__
/tmp/ccZtX2VJ.s:6 *ABS*:00000000 __tmp_reg__
/tmp/ccZtX2VJ.s:7 *ABS*:00000001 __zero_reg__
/tmp/ccZtX2VJ.s:74 .text:00000000 UartInt_init
/tmp/ccZtX2VJ.s:111 .text:00000014 UartInt_txByte
/tmp/ccZtX2VJ.s:136 .text:0000001c __vector_11
 
UNDEFINED SYMBOLS
__do_copy_data
/programy/Atmel_C/AVRcam/Utility.lst
1,4 → 1,4
GAS LISTING /tmp/ccQbezXt.s page 1
GAS LISTING /tmp/cc5q3bJ9.s page 1
 
 
1 .file "Utility.c"
58,7 → 58,7
55 .stabs "uint_fast8_t:t(6,20)=(6,2)",128,0,205,0
56 .stabs "int_fast16_t:t(6,21)=(6,3)",128,0,210,0
57 .stabs "uint_fast16_t:t(6,22)=(6,4)",128,0,215,0
GAS LISTING /tmp/ccQbezXt.s page 2
GAS LISTING /tmp/cc5q3bJ9.s page 2
 
 
58 .stabs "int_fast32_t:t(6,23)=(6,5)",128,0,220,0
118,7 → 118,7
34:Utility.c ****
35:Utility.c **** Revision History:
36:Utility.c **** Date Rel Ver. Notes
GAS LISTING /tmp/ccQbezXt.s page 3
GAS LISTING /tmp/cc5q3bJ9.s page 3
 
 
37:Utility.c **** 4/10/2004 0.1 Module created
178,7 → 178,7
101 .LM2:
102 001e 1A82 std Y+2,__zero_reg__
103 0020 1982 std Y+1,__zero_reg__
GAS LISTING /tmp/ccQbezXt.s page 4
GAS LISTING /tmp/cc5q3bJ9.s page 4
 
 
104 0022 8981 ldd r24,Y+1
238,7 → 238,7
154 0068 F894 cli
155 006a DEBF out __SP_H__,r29
156 006c 0FBE out __SREG__,__tmp_reg__
GAS LISTING /tmp/ccQbezXt.s page 5
GAS LISTING /tmp/cc5q3bJ9.s page 5
 
 
157 006e CDBF out __SP_L__,r28
258,17 → 258,17
171 .stabs "",100,0,0,.Letext0
172 .Letext0:
173 /* File "Utility.c": code 62 = 0x003e ( 43), prologues 10, epilogues 9 */
GAS LISTING /tmp/ccQbezXt.s page 6
GAS LISTING /tmp/cc5q3bJ9.s page 6
 
 
DEFINED SYMBOLS
*ABS*:00000000 Utility.c
/tmp/ccQbezXt.s:3 *ABS*:0000003f __SREG__
/tmp/ccQbezXt.s:4 *ABS*:0000003e __SP_H__
/tmp/ccQbezXt.s:5 *ABS*:0000003d __SP_L__
/tmp/ccQbezXt.s:6 *ABS*:00000000 __tmp_reg__
/tmp/ccQbezXt.s:7 *ABS*:00000001 __zero_reg__
/tmp/ccQbezXt.s:77 .text:00000000 Utility_delay
/tmp/cc5q3bJ9.s:3 *ABS*:0000003f __SREG__
/tmp/cc5q3bJ9.s:4 *ABS*:0000003e __SP_H__
/tmp/cc5q3bJ9.s:5 *ABS*:0000003d __SP_L__
/tmp/cc5q3bJ9.s:6 *ABS*:00000000 __tmp_reg__
/tmp/cc5q3bJ9.s:7 *ABS*:00000001 __zero_reg__
/tmp/cc5q3bJ9.s:77 .text:00000000 Utility_delay
 
UNDEFINED SYMBOLS
__do_copy_data
/programy/Atmel_C/AVRcam/makefile
267,7 → 267,9
# done
 
# if[$PROGRAMMER == "uisp"]; then
uisp -dlpt=$(PORT) -dpart=$(MCU) -dprog=$(PROGRAMMER_DEVICE) --erase
uisp -dlpt=$(PORT) -dpart=$(MCU) -dprog=$(PROGRAMMER_DEVICE) if=$(TARGET).hex --upload
uisp -dlpt=$(PORT) -dpart=$(MCU) -dprog=$(PROGRAMMER_DEVICE) if=$(TARGET).hex --verify
# fi;
 
# Create final output files (.hex, .eep) from ELF output file.