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 31 Jan 2006 04:11 PM by  yingbohu
CompactFlash Driver on MCF5485EvB
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages
yingbohu
New Member
New Member
Posts:


--
25 Jan 2006 11:38 AM
    I tried to develop our own CompactFlash driver on MCF5485EvB, I have the CPLD code and I can successfully read out the CPLD hardware and software revision and signture. I can also read/write the CompactFlash ATA register but after I issue IDENTIFY DEVICE command, the data returned is not correct I could not find the CompactFlash signture there and other information, all the 512 bytes data contains the same data pattern. I also try to use the sample code in the linux BSP CompactFlash driver but there is no progress.

    Who has successfully make their own CompactFlash driver on this board? could you give me some tips, for example, CS5 timing settings or ATA register read/write rountine?

    Thanks in advance.
    yingbohu
    New Member
    New Member
    Posts:


    --
    31 Jan 2006 04:11 PM
    we have resolved this problem. the root cause is that the data cache is enable for the CPLD memory space, after I disable all the data cache, it can work now. but we meet other issue, I could not only disable the CPLD data cache, such as 0x50000000. I tried to use the following code to do it but failed. cache seams still work.

    mcf5xxx_wr_acr1(0x5000C060);

    but the following code is OK for disable MBAR space located at 0x10000000:

    mcf5xxx_wr_acr0(0x1000C060);

    who can help me?

    Thanks.
    You are not authorized to post a reply.