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 08 Jan 2007 08:59 AM by  alexz
FlexBus code example?
 4 Replies
Sort:
You are not authorized to post a reply.
Author Messages
alexz
New Member
New Member
Posts:


--
05 Jan 2007 02:36 AM
    Is there any FlexBus code example for the 5329?
    kurtl@logicpd.com
    New Member
    New Member
    Posts:


    --
    05 Jan 2007 09:55 PM
    Freescale's website has a few free software examples:
    The sysinit.c file included in this Freescale download has examples of initializing the flex bus interface. After its initialized, software can read and write to that area based on how it was initialized.
    http://www.freescale.com/...287&location=psp

    I haven't viewed for myself, but the Freescale Linux BSP should also initialize and provide a driver that handles typical flash accesses on the flexbus.
    http://www.freescale.com/...62468rH3YTLC00M99287

    If you need more assistance, Logic Loader source code and Logic's linux BSP source code is also available for purchase.

    If you would like assistance with a specific application, Logic can support you through a support contract. Contact sales@logicpd.com for more information on any of these topics.
    -Kurt
    alexz
    New Member
    New Member
    Posts:


    --
    08 Jan 2007 03:20 AM
    This code example just initializes the flexbus and sets the address. But how do you actuaslly read and write data?
    kurtl@logicpd.com
    New Member
    New Member
    Posts:


    --
    08 Jan 2007 08:57 AM
    After the address space is initiallized, reads or writes to that address range will cause the CPU to use the flexbus controller to perform the operations on the external flexbus.

    For parts like a NOR flash chip, the devices respond to commands followed by data cycles. So to read from the NOR flash chip, write 0xFF to any NOR flash address which puts the NORchip into read mode, then read any NOR address to get the programmed data out of the device. Additional NOR flash commands and programming information can be found in the datasheet for the device on Intel's website.

    -Kurt
    alexz
    New Member
    New Member
    Posts:


    --
    08 Jan 2007 08:59 AM
    Sounds easy.
    I am actually going to interface a CPLD
    You are not authorized to post a reply.