Menu

Ii Discuss One Advantage One Disadvantage Placing Lookup Table Program Memory Oppose Data Q43812203

ii. Discuss one advantage and one disadvantage of placing the lookup table in program memory as oppose to data memory. ili. I

ii. Discuss one advantage and one disadvantage of placing the lookup table in program memory as oppose to data memory. ili. In terms of PIC firmware, define the ‘startup’ code and explain how it may be differ depending on whether the lookup table is in placed program memory as oppose to data memory. Debugging:- 18. Explain how an ICD3 debugger can be connected to a PIC microcontroller to upload the firmware and for debugging. 19. Describe a simple test to determine the firmware has uploaded correr executing at the correct speed. 3/9 Configuration Bits:- 20. Regarding PIC microcontrollers explain the role of the Configurations bits. In addition state their location, how they are modified and how they differ from Special Function Register bits. Briefly describe two features of any PIC18F microcontroller the Configuration bits influence. 21. Give an example of where the C compiler takes care of some of the low level detail hence alleviating the programmer’s task when writing the firmware for a microcontroller. Design Related: 22. You should look through your programs and ensure you understand them! (Examples) • • Explain the purpose of including the <xc.h> file and the angled brackets. Explain the purpose of the compiler directive #define_XTAL_FREQ 19660800 Explain the purpose of the preprocessor and commands such as #ifdef, #endif Explain the purpose of function prototypes found before the main function. Explain the purpose of declaring a variable and significance of its type. State how macros can be used to make C code more readable and easier to modify in the case, for example, that a pin position needs to change. Show transcribed image text ii. Discuss one advantage and one disadvantage of placing the lookup table in program memory as oppose to data memory. ili. In terms of PIC firmware, define the ‘startup’ code and explain how it may be differ depending on whether the lookup table is in placed program memory as oppose to data memory. Debugging:- 18. Explain how an ICD3 debugger can be connected to a PIC microcontroller to upload the firmware and for debugging. 19. Describe a simple test to determine the firmware has uploaded correr executing at the correct speed. 3/9 Configuration Bits:- 20. Regarding PIC microcontrollers explain the role of the Configurations bits. In addition state their location, how they are modified and how they differ from Special Function Register bits. Briefly describe two features of any PIC18F microcontroller the Configuration bits influence. 21. Give an example of where the C compiler takes care of some of the low level detail hence alleviating the programmer’s task when writing the firmware for a microcontroller. Design Related: 22. You should look through your programs and ensure you understand them! (Examples) • • Explain the purpose of including the file and the angled brackets. Explain the purpose of the compiler directive #define_XTAL_FREQ 19660800 Explain the purpose of the preprocessor and commands such as #ifdef, #endif Explain the purpose of function prototypes found before the main function. Explain the purpose of declaring a variable and significance of its type. State how macros can be used to make C code more readable and easier to modify in the case, for example, that a pin position needs to change.

Expert Answer


Answer to ii. Discuss one advantage and one disadvantage of placing the lookup table in program memory as oppose to data memory. i…

OR