wiki:peripheral_test/helpfaq

Version 10 (modified by bratton, 18 years ago) (diff)

--

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?

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 files, or simply create a new folder.

  • 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.

  • Where can I get Tera Term Pro?

http://www.vector.co.jp/authors/VA002416/teraterm.html

  • 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.