FramWriteFR4xx.c
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/
3  *
4  * Redistribution and use in source and binary forms, with or without
5  * modification, are permitted provided that the following conditions
6  * are met:
7  *
8  * Redistributions of source code must retain the above copyright
9  * notice, this list of conditions and the following disclaimer.
10  *
11  * Redistributions in binary form must reproduce the above copyright
12  * notice, this list of conditions and the following disclaimer in the
13  * documentation and/or other materials provided with the
14  * distribution.
15  *
16  * Neither the name of Texas Instruments Incorporated nor the names of
17  * its contributors may be used to endorse or promote products derived
18  * from this software without specific prior written permission.
19  *
20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31  *
32 */
33 /*==========================================================================*\
34 | |
35 | FramWriteFR4xx.c |
36 | |
37 | Funclet for FRAM write operations. This binary code is placed in the |
38 | target device's RAM to speed up FRAM write operations. |
39 | The actual source code has to be compiled separately and converted using |
40 | SRecord. The procedure is described in the slau320.pdf documentation. |
41 |----------------------------------------------------------------------------|
42 | Project: MSP430 Replicator |
43 | Developed using: IAR Embedded Workbench 6.20 |
44 | and: Code Composer Studio 6.0 |
45 |----------------------------------------------------------------------------|
46 | Version history: |
47 | 1.0 --/-- FB Initial version. |
48 |----------------------------------------------------------------------------|
49 | Designed by Texas Instruments Germany |
50 \*==========================================================================*/
53 
56 unsigned short FramWrite_o[] =
57 {
58 0x0014, 0x0082, 0xBEEF, 0xDEAD, 0xBEEF, 0xDEAD, 0xDEAD, 0x000B, 0xDEAD,
59 0x000B, 0x40B2, 0x5A80, 0x01CC, 0x40B2, 0xABAD, 0x014E, 0x40B2, 0xBABE,
60 0x014C, 0x180F, 0x4AC0, 0xFFE2, 0x180F, 0x4BC0, 0xFFE0, 0x4382, 0x0160,
61 0x1F80, 0x405A, 0xFFCA, 0x1F80, 0x405B, 0xFFC8, 0x40B2, 0x0050, 0x0146,
62 0xB392, 0x0146, 0x27FD, 0x1840, 0x429A, 0x0148, 0x0000, 0xC392, 0x0146,
63 0x1800, 0x536A, 0x1800, 0x835B, 0x23F2, 0x1F80, 0x405A, 0xFFA4, 0x1F80,
64 0x405B, 0xFFA2, 0x40B2, 0xCAFE, 0x014E, 0x40B2, 0xBABE, 0x014C, 0x40B2,
65 0x0003, 0x0160, 0x3FFF,
66 };
67 unsigned long FramWrite_o_termination = 0x00000000;
68 unsigned long FramWrite_o_start = 0x0000C400;
69 unsigned long FramWrite_o_finish = 0x0000C484;
70 unsigned long FramWrite_o_length = 0x00000084;
71 
72 #define FRAMWRITE_O_TERMINATION 0x00000000
73 #define FRAMWRITE_O_START 0x0000C400
74 #define FRAMWRITE_O_FINISH 0x0000C484
75 #define FRAMWRITE_O_LENGTH 0x00000084
unsigned short FramWrite_o[]
Holds the target code for an FRAM write operation.

Copyright 2016, Texas Instruments Incorporated