278 #pragma vector=PORT1_VECTOR
#define V_RESET
Triggers a regular reset on device release from JTAG control.
short DownloadMsp430Code()
Download a program to target.
word DisableMpu_430Xv2(void)
This function disables the Memory Protection Unit (FRAM devices only)
#define STATUS_ACTIVE
Replicator is active.
void ShowStatus(word status, word index)
This function controls the status LEDs depending on the status argument. It stops program in error ca...
void runProgramm(void)
The basic Replicator routine.
Configurations for the MSP430 FRAM Replicator.
#define WordBufferSize
Buffer size for read and write operations in words.
void InitController(void)
Initialization of the Controller Board.
word EraseFRAMViaBootCode_430Xv2(word mailBoxMode, word data1, word data2)
This function performs a Erase of FRxx devices using the JTAG mailbox.
#define MAIL_BOX_32BIT
JTAG mailbox mode 32 bit -.
__interrupt void Port_1(void)
This interrupt service routine calls runProgramm() if button "S1" is pressed.
unsigned long mainStartAdress
This variable holds the start address of the main memory.
void main(void)
Main function.
#define STATUS_OK
return 1 = no error
word GetDevice_430Xv2(void)
Function to take target device under JTAG control. Disables the target watchdog. Sets the global DEVI...
#define MAIN_START_ADDRESS
Enable FR4xx/FR2xx special handling.
void ReleaseTarget(void)
Release Target Board (switch voltages off, JTAG pins are HI-Z)
unsigned long mainLength
This variable holds the length of the main memory (in words)
void MsDelay(word milliseconds)
Delay function (resolution is 1 ms)
void ReleaseDevice_430Xv2(unsigned long Addr)
Function to release the target device from JTAG control.
#define STATUS_ERROR
return 0 = error
#define MAIN_LENGTH
Set length of main memory.
void InitTarget(void)
Initialization of the Target Board (switch voltages on, preset JTAG pins)
Low Level function prototypes, macros, and pin-to-signal assignments regarding to user's hardware...
#define USER_CODE_ERASE
Constant for an erase of the FRAM Main & INFO memory including JTAG lock signature on FR4xx...
word EraseCheck_430Xv2(unsigned long StartAddr, unsigned long Length)
This function performs an Erase Check over the given memory range.
JTAG Function Prototypes and Definitions.