source: Documentation/FPGA Board User IO Reference Design/tex_src/FAQ.tex

Last change on this file was 284, checked in by bratton, 18 years ago

Added Copyright notice to .tex files

File size: 5.6 KB
Line 
1%Copyright (c) 2006 Rice University
2%All Rights Reserved
3%This code is covered by the Rice-WARP license
4%See http://warp.rice.edu/license/ for details
5\section{FAQ}
6   
7    \subsection{QUESTIONS}
8        \begin{enumerate}
9            \item \textbf{I forgot to enable interrupts for the push buttons when using Base System Builder. What do I do now?}
10            \item \textbf{What do I do if I didn't select one of the devices while using Base System Builder?}
11            \item \textbf{I get an error: ``*** No rule to make target 'File name', needed by 'UserIOTest/executable.elf'. Stop''} 
12            \item \textbf{Where can I get Tera Term Pro?}
13            \item \textbf{When I download my project (download.bit) to the board, nothing happens.}
14            \item \textbf{My project takes a longtime to generate the bitstream. Then it doesn't work. What's wrong?}
15            \item \textbf{Everything looks right, but when I try downloading to the board with iMPACT, nothing happens.}
16            \item \textbf{I get an error: ``built in linker script:[line\#] cannot move location counter backwards (from [address1] to [address2])''}
17            \item \textbf{When all else fails...}
18        \end{enumerate} 
19   
20    \subsection{ANSWERS}
21        \begin{enumerate}
22            \item \textbf{I forgot to enable interrupts for the push buttons when using Base System Builder. What do I do now?}
23                \begin{itemize}
24                    \item Copy the following lines of code into the MHS file:
25                        \begin{verbatim}
26                            BEGIN opb_intc
27                            PARAMETER INSTANCE = opb_intc_0
28                            PARAMETER HW_VER = 1.00.c
29                            PARAMETER C_BASEADDR = 0x41200000
30                            PARAMETER C_HIGHADDR = 0x4120ffff
31                            BUS_INTERFACE SOPB = opb_newline
32                            PORT Intr = Push_Buttons_4bit_IP2INTC_Irpt
33                            PORT Irq = EICC405EXTINPUTIRQ
34                            END
35                        \end{verbatim}
36                    \item Add these lines to the Push\_Buttons\_4bit instance in the MHS file (the first parameter in each device in the instance name):
37                        \begin{verbatim}
38                            PARAMETER C_INTERRUPT_PRESENT = 1
39                            PORT IP2INTC_Irpt = Push_Buttons_4bit_IP2INTC_Irpt
40                        \end{verbatim}
41                    \item Add this line to the ppc405\_0 instance in the MHS file:
42                        \begin{verbatim}
43                            PORT EICC405EXTINPUTIRQ = EICC405EXTINPUTIRQ
44                        \end{verbatim}
45                    \item Add these lines to the MSS file:
46                        \begin{verbatim}
47                            BEGIN DRIVER
48                            PARAMETER DRIVER_NAME = intc
49                            PARAMETER DRIVER_VER = 1.00.c
50                            PARAMETER HW_INSTANCE = opb_intc_0
51                            END
52                        \end{verbatim}
53                \end{itemize}
54                \textit{If this does not work, you will need to recreate the project using Base System Builder}     
55                   
56            \item \textbf{What do I do if I didn't select one of the devices while using Base System Builder?}
57                \begin{itemize}
58                    \item For the size of this project, it will be easier to simply recreate the project using Base System Builder. You can clear out the contents of the directory containing all the current files, or simply create a new folder in which to store the new project.
59                \end{itemize}
60            \item \textbf{I get an error: ``*** No rule to make target 'File name', needed by 'UserIOTest/executable.elf'. Stop''} 
61                \begin{itemize}
62                    \item Check to see that there are no spaces anywhere in the names of your source and header paths. XPS will give the above error if there are.
63                \end{itemize}
64            \item \textbf{Where can I get Tera Term Pro?}
65                \begin{itemize}
66                    \item http://www.vector.co.jp/authors/VA002416/teraterm.html
67                \end{itemize}
68            \item \textbf{When I download my project (\textit{download.bit}) to the board, nothing happens.}
69                \begin{itemize}
70                    \item Did the lowest LED light up up downloading?
71                        \begin{itemize}
72                            \item Yes? This indicates that the program has reached the board but that there may be something wrong with the serial connection. Check these and try again.
73                            \item No? This indicates that the program never got to your board. Check the JTAG connection and try again. Then move to the following questions.
74                        \end{itemize} 
75                    \item Do the baud rates match between your project and Tera Term?
76                        \begin{itemize}
77                            \item See Step 3 and ``NOTE'' on the \textbf{Running the Program} page
78                        \end{itemize}
79                    \item Review Steps 2-6 of \textbf{Setting up the UserIO Test in XPS}
80                \end{itemize}
81            \item \textbf{My project takes a longtime to generate the bitstream. Then it doesn't work. What's wrong?}
82                \begin{itemize}
83                    \item Refer to steps 4-6 of \textbf{Setting up the UserIO Test in XPS}
84                \end{itemize}
85            \item \textbf{Everything looks right, but when I try downloading to the board with iMPACT, nothing happens.}
86                \begin{itemize}
87                    \item Try restarting TeraTerm and iMPACT. If this doesn't work, try the other methods listed in the \textbf{Download Peripheral Test to the Board} section
88                \end{itemize}
89            \item \textbf{I get an error: ``built in linker script:[line\#] cannot move location counter backwards (from [address1] to [address2])''}
90                \begin{itemize}
91                    \item You need to regenerate the linker script because of changes to your code. Repeat step 6 of \textbf{Setting up the UserIO Test in XPS}: here. Click OK at the request to overwrite the previous script.
92                \end{itemize}
93            \item \textbf{When all else fails...}
94                \begin{itemize}
95                    \item Consult the help documentation provided by Xilinx accessible through the help menu (\textbf{Help} $\rightarrow$ \textbf{EDK Online Documentation} $\rightarrow$ Click \textbf{DOCUMENTS} tab). You may find the following most helpful:
96                        \begin{itemize}
97                            \item Platform Specification Format
98                            \item OS and Libraries Reference Guide
99                            \item Processor IP Catalog
100                        \end{itemize}
101                \end{itemize}
102        \end{enumerate}
Note: See TracBrowser for help on using the repository browser.