![]() |
![]() |
Configurations for the MSP430 FRAM Replicator.
Definition in file Config430FR.h.
Go to the source code of this file.
Macros | |
#define | INTERFACE SPYBIWIRE_IF |
Select the interface to be used to communicate with the device. More... | |
#define | VCC_LEVEL 30 |
Set the target's Vcc level supplied by REP430F. More... | |
#define | MAIN_START_ADDRESS 0xC200 |
Enable FR4xx/FR2xx special handling. More... | |
#define | MAIN_LENGTH 0x3E00 |
Set length of main memory. More... | |
#define | RAM_START_ADDRESS 0x1C00 |
Set the start address of the device RAM. More... | |
#define | MCLK_18MHZ |
Select the main clock frequency. More... | |
#define | LPM5_ACTIVATED 1 |
Use Jtag Mailbox to write FRAM. More... | |
#define | ACTIVATE_MAGIC_PATTERN 1 |
Allow use of the "magic pattern". More... | |
#define | WordBufferSize 50 |
Buffer size for read and write operations in words. More... | |
#define | MAX_ENTRY_TRY 4 |
Maximum number of tries for the determination of the core identification info. More... | |
#define | __BYTEWORD__ |
Typedefs | |
typedef unsigned short | word |
typedef unsigned char | byte |
Functions | |
void | runProgramm (void) |
The basic Replicator routine. More... | |
void | main (void) |
Main function. More... | |
#define ACTIVATE_MAGIC_PATTERN 1 |
Allow use of the "magic pattern".
Definition at line 120 of file Config430FR.h.
#define INTERFACE SPYBIWIRE_IF |
Select the interface to be used to communicate with the device.
Options:
Select ONLY ONE interface, comment-out the remaining option
Definition at line 64 of file Config430FR.h.
#define LPM5_ACTIVATED 1 |
Use Jtag Mailbox to write FRAM.
Activate support for Low Power Mode x.5
Definition at line 118 of file Config430FR.h.
#define MAIN_LENGTH 0x3E00 |
Set length of main memory.
Note that the memory length is counted in 16-bit WORDS!
Definition at line 80 of file Config430FR.h.
#define MAIN_START_ADDRESS 0xC200 |
Enable FR4xx/FR2xx special handling.
Comment in this line if the target is an FR4xx/FR2xx device Set start address of the main memory
Definition at line 76 of file Config430FR.h.
#define MAX_ENTRY_TRY 4 |
Maximum number of tries for the determination of the core identification info.
Definition at line 125 of file Config430FR.h.
#define MCLK_18MHZ |
Select the main clock frequency.
Comment it out for MCLK=12MHz, if the Voltage supplied to the REP430F is low (below 2.5V). That can apply when the REP430F is supplied from the target device, not from the external power supply.
Definition at line 114 of file Config430FR.h.
#define RAM_START_ADDRESS 0x1C00 |
Set the start address of the device RAM.
Definition at line 83 of file Config430FR.h.
#define VCC_LEVEL 30 |
Set the target's Vcc level supplied by REP430F.
data = 10*Vcc - range 2.1V to 3.6V or 0 (Vcc-OFF)
Definition at line 69 of file Config430FR.h.
#define WordBufferSize 50 |
Buffer size for read and write operations in words.
Definition at line 122 of file Config430FR.h.
void main | ( | void | ) |
Main function.
Definition at line 110 of file Replicator430FR.c.
void runProgramm | ( | void | ) |
The basic Replicator routine.
This function is executed once at startup and can be restarted by pressing button S1 on the REP430F board.
Array to store data for a memory write
Array to store data for a memory read
Definition at line 117 of file Replicator430FR.c.