Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 03 Mar 2005 10:45 AM by  mikea@logicpd.com
Bus contention at 0x10000000....
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages
colin howard
New Member
New Member
Posts:


--
28 Feb 2005 06:20 PM
    Recalling this (for now). Our hardware engineer is currently taking the blame!

    Hi

    We have a 7A400 Card Engine plugged into our own hardware. Hanging off the bus we have an EPLD which does all the fun stuff. We have mapped this to the address range 0x10000000..0x1FFFFFFF and we are using CS1 from the SMC controller to enable it onto the bus. Before we start our code we do a remap:
    remap 0x10000000 0x10000000 0x10000000
    We see the CS1 signal go low when we expect it to but there appears to be a contention on the bus. We don't have any other devices on the bus. Is there anything on the Card Engine which would be enabling it's data outputs in the above memory range.

    Many thanks
    Colin H
    mikea@logicpd.com
    New Member
    New Member
    Posts:


    --
    03 Mar 2005 10:45 AM
    Colin,
    It looks like you found this was a hardware issue.

    To those looking at this post, there are a few things to remember when using a chip select area: (references are for LogicLoader )

    1) Make sure no other devices are connected in this area and if so, make sure you take them into consideration: (e.g. Slow CS area, Fast CS area, .etc) If you were going to use the fast chip select area, you want to be very careful when changing the area bus settings. For example, if you tried to change the Fast chip select area from 16 to 32 bits wide, you would not be able to talk to the I/O Controller anymore and may freeze up the system. It is not recommended to change the areas Logic has set up for on board devices. (Flash, SDRAM, IO Controller [Fast/Slow], .etc)

    2) Change the bus settings (Static Memory Controller) for the area to fit your devices needs. Check out the Sharp LH7A40x User Guide for more information. For example, if I wanted to set up Area 1 for 16 bits, I could use the following: w /w 0x80002004 0x1000fa60;

    3) In LoLo, make sure the memory is mapped. You can check with the 'info cpu' command in LogicLoader. To map an area, use the 'remap' command, as Colin has used here.

    4) When accesssing an area, keep in mine the bus width and the size of your accesses (reads/writes) If you do a 32 bit write to a 16 bit area, you will likely see unwanted results.
    You are not authorized to post a reply.