MSP430 Chapter3: Development Flashcards

1
Q

developing programs for microcontrollers has become easier because…

A
  1. flash memory
  2. hardware for debugging and emulation on chip.
  3. reduction in cost of transistors
  4. manufacturers offer free development software
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

IDE

A

integrated development environment

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Editor

A

used to write programs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Assembler/compiler

A

produces executable code, check for errors.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Linker

A

Combines compiled files and routines from libraries and arranges them for the correct types of memory in the MCU

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Stand-alone simulator

A

simulates the operation of the MCU on a desktop computer without the real hardware. some simulators include peripherals.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

MCU

A

Multipoint control unit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Embedded emulator or debugger

A

Allows software to run on MCU under control of a debugger running on a desktop. computer and MCU communicate using a special interface.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Communication interface for computer and MSP430 is

A

JTAG

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

In-circuit emulator

A

hardware that emulates the operationof the MCU under the control of a debbuging software running on a desktop. Expensive.
Now largely obsolete for small micro controllers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Flash Programmer

A

downloads the program into flash memory on the MCU

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

declaration ‘const’

A

the value should not be modified, it is constant.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

declaration ‘volatile’

A

Variable may appear to change spontaneously, with no direct action by the user’s program.
Tells compiler not to keep a copy of the variable in a register.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Peripheral registers must be treated as…

A

Volatile.

at least the ones associated with input ports

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Right-shift for signed number is called

A

arithmetic shift

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Right-shift for unsigned numbers is called

A

logical shift

17
Q

Boolean vs. Bitwise

A

Boolean treats A and B as single Boolean values (0 or 1)
Bitwise acts on A and B’s individual bits so operations are carried out in parallel.
Boolean AND: &&
Bitwise AND: &