OpenCores
URL https://opencores.org/ocsvn/openmsp430/openmsp430/trunk

Subversion Repositories openmsp430

[/] [openmsp430/] [trunk/] [fpga/] [xilinx_avnet_lx9microbard/] [synthesis/] [xilinx/] [win_1_initialize_pmem.bat] - Blame information for rev 157

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 157 olivier.gi
::###############################################################################
2
::#                                                                             #
3
::#                     Xilinx RAM update script for WINDOWS                    #
4
::#                                                                             #
5
::###############################################################################
6
 
7
::###############################################################################
8
::#                       Specify Program to be loaded                          #
9
::###############################################################################
10
 
11
set MSP430_PROGRAM=leds
12
::set MSP430_PROGRAM=ta_uart
13
 
14
 
15
::###############################################################################
16
::#                     Check if the required files exist                       #
17
::###############################################################################
18
set softdir=..\..\software\%MSP430_PROGRAM%
19
set elffile=..\..\software\%MSP430_PROGRAM%\%MSP430_PROGRAM%.elf
20
 
21
IF EXIST %softdir%  GOTO :DIR_OKAY
22
ECHO ERROR: Software directory doesn't exist: %softdir%
23
PAUSE
24
EXIT
25
:DIR_OKAY
26
 
27
IF EXIST %elffile%  GOTO :ELF_OKAY
28
ECHO ERROR: ELF file doesn't exist: %elffile%
29
PAUSE
30
EXIT
31
:ELF_OKAY
32
 
33
 
34
::###############################################################################
35
::#                           Update FPGA Bitstream                             #
36
::###############################################################################
37
 
38
 
39
DEL /f .\WORK\%MSP430_PROGRAM%.elf
40
DEL /f .\WORK\%MSP430_PROGRAM%.bit
41
 
42
XCOPY %elffile% .\WORK\
43
 
44
cd .\WORK
45
data2mem -bm ..\memory.bmm -bd %MSP430_PROGRAM%.elf -bt openMSP430_fpga.bit -o b %MSP430_PROGRAM%.bit
46
cd ..\
47
PAUSE

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.