Search

Technical Discussion Group Forum

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

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

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

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 20 Oct 2008 08:23 AM by  mikea@logicpd.com
Reading bmp from CF. Unable to Open
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

audint



New Member


Posts:
New Member


--
03 Oct 2008 11:16 AM
    Hello,

    I am just getting started with the SDK and have gone through draw-test with a custom LCD. Everything is fine. Now I have formatted a 2g CF on xp using FAT (not FAT32) and copied some bmps from my pc to cf, inserted the cf into the sdk, rebooted, mounted fatfs /cf (no problems) and below are the results:

    losh> mount fatfs /cf
    losh> video-init test84 8
    video-init display: width: 640 height: 480 bpp: 8 disp: test84
    losh> video-open test84 8
    closing old display
    video-open display: width: 640 height: 480 bpp: 8 disp: test84
    losh> bitmap /cf_card/bmp1.bmp
    error: bitmap: failed to open (/cf_card/bmp1.bmp)
    error: bitmap: failed to open
    losh>

    Why can't LoLo open the file? It is acting like it doesn't see the file. Is 2gig too large for the cf?

    FOUND THE PROBLEM....the path is not /cf_card/, it is just /cf/

    Thank You

    mikea@logicpd.com



    New Member


    Posts:
    New Member


    --
    20 Oct 2008 08:23 AM
    Try this:

    losh> bitmap /cf/bmp1.bmp

    You mounted the CF card as '/cf', not '/cf_card'.
    You are not authorized to post a reply.