Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

a) Figures 6 and 7 show the linker and *.hex file respectively that will be loaded onto a microcontroller. Identify the data that will be

a) Figures 6 and 7 show the linker and *.hex file respectively that will be loaded onto a microcontroller. Identify the data that will be written into the configuration registers of the microcontroller.

(Format - https://www.keil.com/support/docs/1584/ )

b) A 5.2V microcontroller has 150mW of power that it can continuously supply to all 15 of its pins. If all 15 of the pins are connected to LEDs with a voltage drop, VD of 2.4V what is the minimum resistance that should be in series with each LED to prevent the microcontroller pins from burning out.

image text in transcribedimage text in transcribed

// File: 18f4680_g.lkr // Generic linker script for the PIC18F4680 processor // Build date : May 15 2016 LIBPATH. #IFDEF CRUNTIME #IFDEF EXTENDEDMODE FILES C018i e.o FILES clib e.lib FILES p18f4680 e.lib #ELSE FILES C018i.o FILES clib.lib FILES p18f4680.lib #FI #FI CODE PAGE NAME=page START=0x0 END=0xFFFF CODE PAGE NAME=idlocs START=0x200000 END=0x200007 PROTECTED CODE PAGE NAME=config START=0x300000 END=0x30000D PROTECTED CODE PAGE NAME=devid START=0x3FFFFE END=0x3FFFFF PROTECTED CODE PAGE NAME=eedata START=0xF00000 END=0xF003FF PROTECTED #IFDEF EXTENDEDMODE DATABANK NAME=gpre START=0x0 END=0x5F #ELSE ACCESSBANK NAME=accessram START=0x0 END=0x5F #FI DATABANK NAME=gpro START=0x60 END=0xFF DATABANK NAME=gpri START=0x100 END=0x1FF DATABANK NAME=gpr2 START=0x200 END=0x2FF DATABANK NAME=gpr3 START=0x300 END=0x3FF DATABANK NAME=gpr4 START=0x400 END=0x4FF DATABANK NAME=gpr5 START=0x500 END=0x5FF DATABANK NAME=gpr6 START=0x600 END=0x6FF DATABANK NAME=gpr7 START=0x700 END=0x7FF DATABANK NAME=gpr8 START=0x800 END=0x8FF DATABANK NAME=gpr9 START=0x900 END=0x9FF DATABANK NAME=gpr10 START=0xA00 END=0xAFF DATABANK NAME=gpr11 START=0xB00 END=0xBFF DATABANK NAME=gpr12 START=0xC0O END=0xCFF DATABANK NAME=sfr13 START=0xDOO END=0xDFF PROTECTED DATABANK NAME=sfr14 START=0xE00 END=0xEFF PROTECTED DATABANK NAME=sfr15 START=0xF00 END=0xF5F PROTECTED ACCESSBANK NAME=accesssfr START=0xF60 END=0xFFF PROTECTED #IFDEF CRUNTIME SECTION NAME=CONFIG ROM=config #IFDEF DEBUGSTACK STACK SIZE=0x100 RAM=gpril #ELSE STACK SIZE=0x100 RAM=gpr12 #FI #FI : 020000040000FA :04000000A1EFOOF07C :04000800DAEFOOFO3B :0400180 ODCEFOOF029 : 04001C000100D60108 : 0A0020000000600000000F00000067 : 06002A00ODOA5348656C4D :100030006C3E20000 DOA3C5348656C6C20414354D3 :10004000495645213E000DOA 3C5348656C6C2049D9 :100050004E414354495645213E000DOA50726F638C :100060006573736F7220526573657474696E672E61 :100070002E2E200DOA000 DOA3F0OODOA444C484662 :10008000006E6F70003F00444C4846005200000067 :1000 90000A446F776E6C6F6164202A2E6865782041 :1000A00066696C65207768656E2072656164792E7B :1000B0002E2E20000DOA095368656C6C20436F6D6D :1000C0006D616E647320284E4220416C6C20636F1A :1000DO006D6D616E64732061726520636173652D5F :1000E00073656E736974697665290DOA6E6F7009A0 :1000F0002D204E6F206F7065726174696F6EODOAEE : 100100003 F09202048656C700DOA444C4846092066 :1001100020446F776E6C6F61642048657820466973 :100120006C650DOA52092D20536F6674205265734C :100130006574207468652070726F636573736F7285 :010140000 OBE : 08014200DO8E000E9F6E000EA26E9E6AA16A05 :10015000000E9D6EFOOEF16EF06AC2900FOEC16E31 :100160000 70EB46E926A936A000E 946E956A 966A50 :10017000806A816A826A836A846A700ED36E400ED6 :100180009B6E63 6B646B8380000E726FOFOE716FDA :10019000420E 706F3F0E6F6FE1ECOOF08390000E27 :1001A000726F0F0E716F420E 706F3F0E6F6FE1EC4A :1001B00000F0E9D700001100 9EBAEOECO0F010005A :1001000012000A0E6F5F000E 705B000E 715B000E 76 : 0601D000 725BF7E2120071 : 0A01D600000000000000000000001F :0501E00000000000001A : 020000040030CA :0100010008F6 :0100020019E4 :0100030012 EA :0100050000FA :010006008178 :010008000FE8 : 01000 900C036 :01000A000FE6 :0100OBOOE014 :01000COOOFE4 :01000DO040B2 : 00000001FF // File: 18f4680_g.lkr // Generic linker script for the PIC18F4680 processor // Build date : May 15 2016 LIBPATH. #IFDEF CRUNTIME #IFDEF EXTENDEDMODE FILES C018i e.o FILES clib e.lib FILES p18f4680 e.lib #ELSE FILES C018i.o FILES clib.lib FILES p18f4680.lib #FI #FI CODE PAGE NAME=page START=0x0 END=0xFFFF CODE PAGE NAME=idlocs START=0x200000 END=0x200007 PROTECTED CODE PAGE NAME=config START=0x300000 END=0x30000D PROTECTED CODE PAGE NAME=devid START=0x3FFFFE END=0x3FFFFF PROTECTED CODE PAGE NAME=eedata START=0xF00000 END=0xF003FF PROTECTED #IFDEF EXTENDEDMODE DATABANK NAME=gpre START=0x0 END=0x5F #ELSE ACCESSBANK NAME=accessram START=0x0 END=0x5F #FI DATABANK NAME=gpro START=0x60 END=0xFF DATABANK NAME=gpri START=0x100 END=0x1FF DATABANK NAME=gpr2 START=0x200 END=0x2FF DATABANK NAME=gpr3 START=0x300 END=0x3FF DATABANK NAME=gpr4 START=0x400 END=0x4FF DATABANK NAME=gpr5 START=0x500 END=0x5FF DATABANK NAME=gpr6 START=0x600 END=0x6FF DATABANK NAME=gpr7 START=0x700 END=0x7FF DATABANK NAME=gpr8 START=0x800 END=0x8FF DATABANK NAME=gpr9 START=0x900 END=0x9FF DATABANK NAME=gpr10 START=0xA00 END=0xAFF DATABANK NAME=gpr11 START=0xB00 END=0xBFF DATABANK NAME=gpr12 START=0xC0O END=0xCFF DATABANK NAME=sfr13 START=0xDOO END=0xDFF PROTECTED DATABANK NAME=sfr14 START=0xE00 END=0xEFF PROTECTED DATABANK NAME=sfr15 START=0xF00 END=0xF5F PROTECTED ACCESSBANK NAME=accesssfr START=0xF60 END=0xFFF PROTECTED #IFDEF CRUNTIME SECTION NAME=CONFIG ROM=config #IFDEF DEBUGSTACK STACK SIZE=0x100 RAM=gpril #ELSE STACK SIZE=0x100 RAM=gpr12 #FI #FI : 020000040000FA :04000000A1EFOOF07C :04000800DAEFOOFO3B :0400180 ODCEFOOF029 : 04001C000100D60108 : 0A0020000000600000000F00000067 : 06002A00ODOA5348656C4D :100030006C3E20000 DOA3C5348656C6C20414354D3 :10004000495645213E000DOA 3C5348656C6C2049D9 :100050004E414354495645213E000DOA50726F638C :100060006573736F7220526573657474696E672E61 :100070002E2E200DOA000 DOA3F0OODOA444C484662 :10008000006E6F70003F00444C4846005200000067 :1000 90000A446F776E6C6F6164202A2E6865782041 :1000A00066696C65207768656E2072656164792E7B :1000B0002E2E20000DOA095368656C6C20436F6D6D :1000C0006D616E647320284E4220416C6C20636F1A :1000DO006D6D616E64732061726520636173652D5F :1000E00073656E736974697665290DOA6E6F7009A0 :1000F0002D204E6F206F7065726174696F6EODOAEE : 100100003 F09202048656C700DOA444C4846092066 :1001100020446F776E6C6F61642048657820466973 :100120006C650DOA52092D20536F6674205265734C :100130006574207468652070726F636573736F7285 :010140000 OBE : 08014200DO8E000E9F6E000EA26E9E6AA16A05 :10015000000E9D6EFOOEF16EF06AC2900FOEC16E31 :100160000 70EB46E926A936A000E 946E956A 966A50 :10017000806A816A826A836A846A700ED36E400ED6 :100180009B6E63 6B646B8380000E726FOFOE716FDA :10019000420E 706F3F0E6F6FE1ECOOF08390000E27 :1001A000726F0F0E716F420E 706F3F0E6F6FE1EC4A :1001B00000F0E9D700001100 9EBAEOECO0F010005A :1001000012000A0E6F5F000E 705B000E 715B000E 76 : 0601D000 725BF7E2120071 : 0A01D600000000000000000000001F :0501E00000000000001A : 020000040030CA :0100010008F6 :0100020019E4 :0100030012 EA :0100050000FA :010006008178 :010008000FE8 : 01000 900C036 :01000A000FE6 :0100OBOOE014 :01000COOOFE4 :01000DO040B2 : 00000001FF

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Excel As Your Database

Authors: Paul Cornell

1st Edition

1590597516, 978-1590597514

More Books

Students also viewed these Databases questions

Question

The Nature of Language

Answered: 1 week ago