wiki:peripheral_test/helpfaq

Help/FAQ

(aka "What do I do when it doesn't work?!")

QUESTIONS

  • I forgot to enable interrupts for the push buttons when using Base System Builder. What do I do now?
  • What do I do if I didn't select one of the devices while using Base System Builder?
  • I get an error: "* No rule to make target 'File name', needed by 'Peripheral_Test/executable.elf'. Stop."
  • Where can I get Tera Term Pro?
  • When I download my project (download.bit) to the board, nothing happens.
  • My project takes a longtime to generate the bitstream. Then it doesn't work. What's wrong?
  • Everything looks right, but when I try downloading to the board with iMPACT, nothing happens.
  • I get an error: "built in linker script:[line#] cannot move location counter backwards (from [address1] to [address2])"
  • When all else fails...

ANSWERS

  • I forgot to enable interrupts for the push buttons when using Base System Builder. What do I do now?
    • Oh man, now you've done it...Copy the following lines of code into the MHS file:
    BEGIN opb_intc
    PARAMETER INSTANCE = opb_intc_0
    PARAMETER HW_VER = 1.00.c
    PARAMETER C_BASEADDR = 0x41200000
    PARAMETER C_HIGHADDR = 0x4120ffff
    BUS_INTERFACE SOPB = opb
    PORT Intr = Push_Buttons_4bit_IP2INTC_Irpt
    PORT Irq = EICC405EXTINPUTIRQ
    END
  • Add these lines to the Push_Buttons_4bit instance in the MHS file (the first parameter in each device in the instance name):

PARAMETER C_INTERRUPT_PRESENT = 1
PORT IP2INTC_Irpt = Push_Buttons_4bit_IP2INTC_Irpt

  • Add this line to the ppc405_0 instance in the MHS file:

PORT EICC405EXTINPUTIRQ = EICC405EXTINPUTIRQ

  • Add these lines to the MSS file:

BEGIN DRIVER
PARAMETER DRIVER_NAME = intc
PARAMETER DRIVER_VER = 1.00.c
PARAMETER HW_INSTANCE = opb_intc_0
END

If this does not work, you will need to recreate the project using Base System Builder

  • What do I do if I didn't select one of the devices while using Base System Builder?
    • 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.
  • I get an error: "* No rule to make target 'File name', needed by 'Peripheral_Test/executable.elf'. Stop."
    • 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.
  • When I download my project (download.bit) to the board, nothing happens.
    • Did the lowest LED light up up downloading?
      • 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.
      • No? This indicates that the program never got to your board. Check the JTAG connection and try again. Then move to the following questions.
    • Do the baud rates match between your project and Tera Term?
      • See Step 3 and "NOTE" on the Running the Program page: here.
    • Review Steps 2-6 of Setting up the Peripheral Test in XPS: here.

  • My project takes a longtime to generate the bitstream. Then it doesn't work. What's wrong?
    • Refer to steps 4-6 of Setting up the Peripheral Test in XPS: here.
  • Everything looks right, but when I try downloading to the board with iMPACT, nothing happens.
    • Try restarting TeraTerm and iMPACT. If this doesn't work, try the other methods listed in the Download Peripheral Test to the Board section located here.
  • I get an error: "built in linker script:[line#] cannot move location counter backwards (from [address1] to [address2])
    • You need to regenerate the linker script because of changes to your code. Repeat step 6 of Setting up the Peripheral Test in XPS: here. Click OK at the request to overwrite the previous script.
  • When all else fails...
    • Consult the help documentation provided by Xilinx accessible through the help menu (Help => EDK Online Documentation => Click DOCUMENTS tab). You may find the following most helpful:
      • Platform Specification Format
      • OS and Libraries Reference Guide
      • Processor IP Catalog
Last modified 18 years ago Last modified on May 31, 2006, 2:54:08 PM