аЯрЁБс>ўџ 46ўџџџ3џџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџьЅСG П‰bjbjŽйŽй $ьГьГ‰џџџџџџ]œœœœœœœррррр ь$р‡ Ж,pœœœœœДl 8L N N N N N N $= є1|r œXœœXXr œœœœ,XжœœœœL АШœœœœXL „  rъ TœœL œ€ЁыПрр.ю> EE 307P COMPUTER TECHNOLOGY LAB C.P. RAVIKUMAR COURSE COORDINATOR  HYPERLINK \l "exp1" Experiment 1: Familiarization with 68HC08 microcontroller kit (1 turn)  HYPERLINK \l "exp2" Experiment 2: Using the Assembler and WinIDE Development Environment (1 turn)  HYPERLINK \l "exp3" Experiment 3: Using the In-circuit Simulator (2 turns)  HYPERLINK \l "exp4" Experiment 4: Using the C-compiler, serial programmer and in-circuit debugger (2 turns)  HYPERLINK \l "exp5" Experiment 5: System Prototyping (2 turns) Experiment 6: Project (2 turns) Experiment 1: Familiarization with 68HC08 Microcontroller kit Familiarize yourself with the following terms, tools, and hardware components: Microcontroller or MCU Flash Memory Embedded Systems Erasing and Programming Flash Memory Assembler In-circuit Simulator Serial Programmer In-circuit Debugger Ribbon Cable Target Cable 28-pin DIP At the end of the experiment, you must be able to Understand the essential instructions in the 68HC08 MCU Understand the memory map in the MCU Locate the various software tools available as part of the lab. Identify the different components on the microprocessor kit. Explain what an embedded system is Understand what is meant by flash memory Explain the difference between a microprocessor and micro-controller Use the WinIDE tool Experiment 2: 68HC08 Assembly language programming (a) Using the editor in the WinIDE development tool, enter the assembly language program given below. Assemble the program and correct the syntax errors. Simulate the program and correct any logical errors. ; Program for comparing two strings stored in the RAM ; Assume that each string is at most 10 characters ; Assume that each string is terminated by a NULL character (ASCII 0) org string1 fcb “MicroProcessor” string2 fcb “Microcontroller” (b) Develop an assembly language program for the following application. Given an ASCII string, you must generate the MORSE code for the string. MORSE code uses only two symbols to represent each English alphabet, namely, the “dot” and the “dash.” Given below is a table of MORSE code for the first six English alphabets. (If you want the whole table, search the Web!) A .- B -… C -.-. D -.. E . F ..-. Thus, to transmit the string “FACE”, you will have to transmit ..-..--.-.. The input to your program is a string stored at location INPUT. The output is a string stored at location OUTPUT. Use ASCII “.” And ASCII “-“ to represent the dot and the dash. (c) Develop an assembly language program to decode a MORSE-encoded message. Test it with the input sample given below. “-….--….-..--.-..” What was the encoded string?  HYPERLINK \l "exp3" Experiment 3: Develop an assembly language program for the following application.  Six LEDs (light emitting diodes) are arranged in the form of a circle on a breadboard. The MCU provides signals to the LEDs so as to light them one at a time. The order in which the LEDs light up is clockwise to start with. When the MCU is interrupted, the order toggles. In other words, if the order is clockwise before the interrupt, the order will change to anticlockwise after the interrupt (and vice versa). Step 3.1: Write the assembly language program for the application and test it out. Generate IRQ signals manually. Understand how to set the CCR register, how to initialize the reset vector, etc. Some precautions that you must take are: You must initialize the Accumulator and Index registers appropriately. You must initialize the CCR. Develop the hardware on breadboard, including the LEDs. Step 3.2: Connect the microprocessor kit to the PC. Use the output port signals from the MCU to control the LEDs. Step 3.2: Download the code of your program to the flash memory of the MCU and then run the program through the MCU and use the in-circuit debugger to run the progam. Use a wire to generate the IRQ requests. Experiment 4: Roulette Game Experiment 5: System Development  !CDE[\]ЃЄЅІМНО   $%&]_uvwЮЯбвшщъs @ 8 Є Љ Ў Ц   Ф Х Щ <Ropq‡ˆ‰м퉧ћћіюіыііуіыііліыігіыііЫіыіЩЩЦЦЩЦЩЦЩЩіОіыіjUCJ6jЌUjAUjжUjkU0JjU jU5B*; !0CDЅ ]б67uvЦЧоыќ!+@Rfs€‹§њїїњѕѕѕѕѕѕѕѕѕѕѕььььььььььь & F Ц8$$ !0CDЅ ]б67uvЦЧоыќ!+@Rfs€‹ŒОі[ќљѓэъчфсолиевЯЬЩУЛГЋЃ›“‹ƒ{spmg_Wќџџ  :ќџџ   rќџџ ЄќџџЅќџџАќџџ  Нќџџ  Ъќџџ  оќџџ  №ќџџ  §џџ  §џџ  4§џџ  E§џџ  R§џџ   i§џџ j§џџК§џџЛ§џџљ§џџњ§џџўџџ_ўџџгўџџ#џџџ‹џџџьџџџэџџџ аџџџ пџџџрџџџ ‹ŒОі[˜Лф) = > ? r s B C y Ќ ђ ѓ ј  3 4 Є ћљєєєєєєєєљяљљщљћћћћћћћљп „h„˜ў Цh„h„˜ў$d & F„а[˜Лф) = > ? r s B C y Ќ ђ ѓ ј  3 4 Є Љ Ў Е Л П Ц   Ф Х <=QRopмо}~їячпздбЮЫШХТПМЙЖГА­ЊЇЄЁž›˜•’Š‡„~{xurmj,ќџџЫ§џџЭ§џџ9ўџџ:ўџџWўџџXўџџlўџџmўџџфўџџхўџџ—џџџ˜џџџуџџџъџџџюџџџєџџџћџџџŒїџџќјџџ§јџџљџџ8љџџ=љџџ>љџџ„љџџЗљџџэљџџюљџџНњџџОњџџёњџџђњџџѓњџџћџџ  Lћџџ  uћџџ  ˜ћџџ  ећџџ  (Є Љ Ў Е Л П Ц   Ф Х <=QRopмо}~jБЮћљћћћћѕѕёящяяяяяяяфмкЮЮћ & F„ Ц8„а Ц$d„h„˜ў„h„h„ ~jБЮyIJfgˆ‰ћѕэыщщјњџџ   ?ћџџ +ќџџ yIJfgˆ‰іёёьььь$d Ц„8„˜ў$dАа/ Ар=!А"А# $ %АkDаЩъyљКЮŒ‚ЊKЉ exp5kDаЩъyљКЮŒ‚ЊKЉ exp2kDаЩъyљКЮŒ‚ЊKЉ exp3kDаЩъyљКЮŒ‚ЊKЉ exp4kDаЩъyљКЮŒ‚ЊKЉ exp5kDаЩъyљКЮŒ‚ЊKЉ exp3 [$@ёџ$NormalmH 4@4 Heading 1 $„ @&CJFF Heading 2$Є№Є<@&56CJOJQJ@@@ Heading 3$Є№Є<@& CJOJQJ<A@ђџЁ<Default Paragraph Font*B@ђ* Body TextCJ>C@>Body Text Indent „а$dHR@HBody Text Indent 2„8„˜ў Ц4P@"4 Body Text 2$d6(U@Ђ1( Hyperlink>*B*8V@ЂA8FollowedHyperlink>*B* ‰$џџџџ џџ џџ3‰‰ ‹Є ‰ [~‰ D\ЃЅН  %]^vЮбщp ˆ м ‰Xџ€Xџ€Xџ€Xџ€Xџ€XџŒџџ _Hlt484424996 _Hlt484424808 _Hlt484425000 _Hlt484425003 _Hlt484425007 _Hlt484425027 _Hlt484507236exp1exp2exp3 _Hlt484424938exp4exp5n…а8‚“ѕ7?p л Jg‹ o†б9ƒ”і7?p л Jg‹‡–фъapЧж17• "1т ц V Z • ™ H U sw‹]g7AѓіјџЉЎEJІЈБДИКЛОСУќ   A C K M §  E G ‹џџ guest3C:\My Documents\EE 307P COMPUTER TECHNOLOGY LAB.docguestHC:\WINDOWS\TEMP\AutoRecovery save of EE 307P COMPUTER TECHNOLOGY LAB.asdguestHC:\WINDOWS\TEMP\AutoRecovery save of EE 307P COMPUTER TECHNOLOGY LAB.asdguest3C:\My Documents\EE 307P COMPUTER TECHNOLOGY LA1.docguest&A:\EE 307P COMPUTER TECHNOLOGY LA1.docХ&x"3џџџџџџџџџiН џџџџџџџџџa“:ф№dџџџџџџџџџш]е|ф№dџ„8„˜ўЦ8o()„h„˜ўЦho()„8„˜ўЦ8o(()„8„˜ўЦ8o(()Х&xiНa“:ш]е|џџџџџџџџџџџџџџџџџџџ@€TH‰P@G‡ŸTimes New Roman5€Symbol3& ‡ŸArial"qˆаhв[GFв[GF?Я $ЅРДД€20КЮ ›џџEE 307P COMPUTER TECHNOLOGY LABguestguestўџ р…ŸђљOhЋ‘+'Гй0lˆИФдр№   ( 4 @LT\dф EE 307P COMPUTER TECHNOLOGY LABE 3guestP uesNormal guest 2esMicrosoft Word 8.0C@FУ#@BыП@BыП?Я ўџ еЭеœ.“—+,љЎDеЭеœ.“—+,љЎL hp|„Œ” œЄЌД М шф exКГ   EE 307P COMPUTER TECHNOLOGY LAB Title@(RZВ _PID_GUID _PID_HLINKSфAN{FB6D65F3-3702-11D4-BF59-000021DC054A}A„$Kexp3M exp5L exp4Kexp3Jexp2Mexp5 ўџџџўџџџ !"ўџџџ$%&'()*ўџџџ,-./012ўџџџ§џџџ5ўџџџўџџџўџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџRoot Entry аІFt'G ЂF``ћџџџџџџџџ РF@шwpЬП CЙыП7€ЬЂFData џџџџџџџџџџџџ1TableGаЂFЌЂF ЂFџџџџаЂF WordDocumentHЈtˆD џџџџџџџх дЏF@@G$SummaryInformation(џџџџџџџџџџџџџџџ(ЅFpжH#DocumentSummaryInformation‘8џџџџџџџџ+CompObjџџџџџџџџџџџџjE Д F@@GTЅF0ЅFЄЄFџџџџџџџџџџџџTЅFўџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџўџ џџџџ РFMicrosoft Word Document MSWordDocWord.Document.8є9Вq
Make your own free website on Tripod.com