Question: Micro controller - embedded systems 2. 11 pts total Microcontrollers with the Harvard architecture usually offer speed advantages over those categorized as von Neumann. One

Micro controller - embedded systems  Micro controller - embedded systems 2. 11 pts total Microcontrollers with

2. 11 pts total Microcontrollers with the Harvard architecture usually offer speed advantages over those categorized as von Neumann. One disadvantage, though, is that data in the separate memory spaces need to be treated differently. This is what this question is intended to direct you to explore. You will need to read AVR LibC documentation to answer some of these questions a) [2 pts] Write a line of C-code that creates a string constant of "Hello" in RAM. b) [I pt] How many bytes of RAM does this take? c) [1 pt] Yes or no: memory space? does the creation of the string in RAM (in (a)) consume any program d) 2 pts] Write a single line of code that uses an AVR LibC function call to send out this string to whatever stream the printf) is connected to. associated with will end up receiving this string 1.e. Whatever the stdout" is actually e) [2 pts] Next, use AVR LibC macros to create the same string constant of"Hello", but this time in the program memory space. 1 12 pts] Write a single line of code that uses an AVR LibC function call to send out this string. similar to (d) g) 1 pt Yes or no: does this string in program memory space consume any RAM? 23

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!