WindRiver SBC8548E problem - VxWorks

This is a discussion on WindRiver SBC8548E problem - VxWorks ; Hi I'm working on WindRiver SBC8548E board. I removed the 64MB Flash and plugged a peripheral IC (infineon pef20525) , as you can understand I will try to test my software for this IC by using local bus. So there ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: WindRiver SBC8548E problem

  1. WindRiver SBC8548E problem

    Hi
    I'm working on WindRiver SBC8548E board.
    I removed the 64MB Flash and plugged a peripheral IC (infineon
    pef20525) , as you can understand I will try to test my software for
    this IC by using local bus.
    So there are some timing, chip select,read/write enable and
    addressing issues.

    From the memory map in BSP documents I found out that Chip select for
    64MB Flash Sodim is CS6 which has the address of
    #define LBC_CS6_LOCAL_ADRS 0xfb800000

    When I try to set cs6 with this code

    void set_cs6()
    {
    *((volatile UINT8 *)(LBC_CS6_LOCAL_ADRS))=1;
    }
    I have following error

    ->
    -> set_cs6

    data storage
    Exception current instruction address: 0x06411c80
    Machine Status Register: 0x02029230
    Data Exception Address Register: 0xfb800000
    Condition Register: 0x80000280
    Exception Syndrome Register: 0x00800000

    0x001292a4 vxTaskEntry +0x5c : 0x001e6550 ()
    0x001e6550 shellTask +0x528: shellExec ()
    0x001e5f94 shellExec +0x1b8: 0x001e12dc ()
    0x001e14f0 shellInterpCparse+0x1078: shellInterpCparse ()
    0x001e0fe0 shellInterpCparse+0xb68: 0x001dd474 ()
    0x001dd49c shellInterpCInit+0x13e4: 0x001dd184 ()
    0x001dd1ac shellInterpCInit+0x10f4: 0x001dd004 ()
    0x001dd0c0 shellInterpCInit+0x1008: shellInternalFunctionCall ()
    0x001d89fc shellInternalFunctionCall+0xa4 : set_cs6 ()

    Shell task 'tShell0' restarted...

    ->
    0x001292a4 vxTaskEntry +0x5c : 0x001e6550 ()
    0x001e6550 shellTask +0x528: shellExec ()
    0x001e5e60 shellExec +0x84 : 0x001e3e70 ()
    0x001e3ed4 shellTaskDefaultBaseNameGet+0x434: ledRead ()
    0x001d2e34 ledRead +0xa4 : 0x001e92a0 ()
    0x001e9470 viLedLibInit +0x1f0: read ()
    0x001b9b1c read +0x88 : tyRead ()
    0x001c3308 tyRead +0x28 : semTake ()
    0x0020ab40 semTake +0x178: semBTake ()

    Shell task 'tShell0' restarted...


    can someone tell me where is my mistake or is there a problem with
    switches on the board.

    regards

  2. Re: WindRiver SBC8548E problem

    tguclu wrote:

    >Hi
    >I'm working on WindRiver SBC8548E board.
    >I removed the 64MB Flash and plugged a peripheral IC (infineon
    >pef20525) , as you can understand I will try to test my software for
    >this IC by using local bus.
    >So there are some timing, chip select,read/write enable and
    >addressing issues.
    >
    >From the memory map in BSP documents I found out that Chip select for
    >64MB Flash Sodim is CS6 which has the address of
    >#define LBC_CS6_LOCAL_ADRS 0xfb800000
    >
    >When I try to set cs6 with this code
    >
    >void set_cs6()
    >{
    > *((volatile UINT8 *)(LBC_CS6_LOCAL_ADRS))=1;
    >}
    >I have following error
    >
    >->
    >-> set_cs6
    >
    >data storage
    >Exception current instruction address: 0x06411c80
    >Machine Status Register: 0x02029230
    >Data Exception Address Register: 0xfb800000
    >Condition Register: 0x80000280
    >Exception Syndrome Register: 0x00800000




    The first thing I would check is whether sysPhysMemDesc[] in your BSP's
    sysLib.c has an entry describing a region including address 0xfb800000.
    If not, add one, rebuild the BSP, and burn and install a new boot ROM.

    --
    ================================================== ======================
    Michael Kesti | "And like, one and one don't make
    | two, one and one make one."
    mrkesti at hotmail dot com | - The Who, Bargain

+ Reply to Thread