Changes between Version 5 and Version 6 of peripheral_test/helpfaq


Ignore:
Timestamp:
May 25, 2006, 11:23:26 AM (18 years ago)
Author:
bratton
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • peripheral_test/helpfaq

    v5 v6  
    44=== QUESTIONS ===
    55
    6 __I forgot to enable interrupts for the push buttons when using Base System Builder.  What do I do now?__
     6__I forgot to enable interrupts for the push buttons when using Base System Builder.  What do I do now?__[[BR]]
     7Oh man, now you've done it...Copy the following lines of code into the MHS file:
     8 BEGIN opb_intc[[BR]]
     9 PARAMETER INSTANCE = opb_intc_0[[BR]]
     10 PARAMETER HW_VER = 1.00.c[[BR]]
     11 PARAMETER C_BASEADDR = 0x41200000[[BR]]
     12 PARAMETER C_HIGHADDR = 0x4120ffff[[BR]]
     13 BUS_INTERFACE SOPB = opb[[BR]]
     14 PORT Intr = Push_Buttons_4bit_IP2INTC_Irpt[[BR]]
     15 PORT Irq = EICC405EXTINPUTIRQ[[BR]]
     16 END[[BR]]
    717
     18Add these lines to the Push_Buttons_4bit instance in the MHS file (the first parameter in each device in the instance name):
     19 PARAMETER C_INTERRUPT_PRESENT = 1[[BR]]
     20 PORT IP2INTC_Irpt = Push_Buttons_4bit_IP2INTC_Irpt
     21
     22Add these lines to the MSS file:
     23 BEGIN DRIVER[[BR]]
     24 PARAMETER DRIVER_NAME = intc[[BR]]
     25 PARAMETER DRIVER_VER = 1.00.c[[BR]]
     26 PARAMETER HW_INSTANCE = opb_intc_0[[BR]]
     27 END[[BR]]
     28
     29'''''If this does not work, you will need to recreate the project using Base System Builder'''''
    830
    931__I get an error: "*** No rule to make target 'File name', needed by 'Peripheral_Test/executable.elf'. Stop.__" [[BR]]