wiki:peripheral_test/helpfaq

Version 6 (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?
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 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

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