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 04 Jan 2017 01:06 PM by  Adam Ford
Load from RAM and interrupt gpio_pin
 10 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Sergey Brandis
New Member
New Member
Posts:79


--
24 Nov 2016 04:05 AM

    Hi ! 

     I have  situation. I have a folder in Nand memory,which I have my application.I  want in lboot.lol script copy my folder from Yaffs to RAM and load  my application. Can you suggest me , how I copy this  folder from RAM?   

     I have more questions.  Can you suggest  me  how i use external interrupt  gpio_pin ? Where can i found information about external interrupt in reference manual ? 

     

    Thanx a lot ! 

    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    08 Dec 2016 08:05 AM
    Sorry about the delay. I missed this because it came in over a holiday.

    I am not entirely sure I understand the first part of your question, but I would like to direct you to the Logic Loader User Guide section 13. It has instructions on how to mount a YAFFS partition, load a file from the YAFFS partition and execute it. That guide is located:

    http://support.logicpd.co...d=0&EntryId=1346


    For the interrupts, are you trying to use the interrupts with Windows or just a custom application executed from Logic Loader without an operating system?

    adam



    Sergey Brandis
    New Member
    New Member
    Posts:79


    --
    12 Dec 2016 06:14 AM
    Sorry for my English . The first part of my questions. I have a folder with many exe in YaffsPart1 . I have to copy this folder from YaffsPart1 to RAM memory , when located folder "Windows". Can I copy this folder automatically ?

    The second part . I need interrupts in my application in OS Windows Ce.

    Thanx a lot !
    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    14 Dec 2016 10:50 AM

    One of my collegaues is looking into the GPIO interrupt stuff.


    Have you looked at the Logic Loader guide that I sent in my previous message to get the YAFFS partition to mount and load files?

    If you can manually, the guide has scripting instructions.

    adam

    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    16 Dec 2016 02:35 PM
    We don't have any good interrupt based GPIO examples for this platform. If you'd like our software design group to develop something or help you with your code, we can do that, but it would require a services contract. We have some older WinCE tools for other platforms that we could port, but there would be some cost to that. If you want, I can have one our account managers discuss options with you.

    TI does has a Web Site setup for the OMAP3 (of which the DM37 is) and WinCE. You might be able to find some information from TI at http://processors.wiki.ti.com/index.php/WinCE

    adam
    Sergey Brandis
    New Member
    New Member
    Posts:79


    --
    19 Dec 2016 05:40 AM
    Posted By Adam Ford on 14 Dec 2016 10:50 AM

    One of my collegaues is looking into the GPIO interrupt stuff.


    Have you looked at the Logic Loader guide that I sent in my previous message to get the YAFFS partition to mount and load files?

    If you can manually, the guide has scripting instructions.

    adam


    Ok I   have looked Logic Loader about Yaffs partition . I know how to mount and load NK.bin , but I can not copy to RAM ,because  I want to copy from YaffsPart1 to RAM  exe , but  I don't know how to do it. 

    Example : If I want  to copy from Sd to YaffsPart  I do next step : 

    mount yaffs /dev/nand0 /YaffsPart1 

    mount fatfs /sd/sdmmc0a /sd 

    cp /sd/NK.bin  /YaffsPart1 , 

    but how to mount RAM memory , then I have to look my exe in  directory "/".

    Can you help me ?  

    bradb
    Basic Member
    Basic Member
    Posts:203


    --
    19 Dec 2016 04:33 PM
    Sergey,

    The 'load' command allows you to load a file into RAM. If you can explain what you are trying to accomplish we might be able to provide some additional information to assist.

    Thanks,
    Brad
    Sergey Brandis
    New Member
    New Member
    Posts:79


    --
    20 Dec 2016 03:30 AM
    OK. I have myapplicattion.exe in YAFFS_PART1 and I don't know how to do that myapplication.exe load in RAM before Windows Ce boot-up.

    If you have additional questions ,please ask me .

    Thanks,
    Sergey
    bradb
    Basic Member
    Basic Member
    Posts:203


    --
    20 Dec 2016 10:57 AM
    Sergey,

    Is myapplication.exe a WinCE application? If so, are you looking to launch your myapplication.exe instead of the WinCE desktop?

    Thanks,
    Brad
    Sergey Brandis
    New Member
    New Member
    Posts:79


    --
    04 Jan 2017 09:20 AM
    Yes ! It is WinCe application . Yeah I am looking launch myapplication .exe instead of the WinCe desktop .Do you have a example with gpio_interrupt ?
    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    04 Jan 2017 01:06 PM
    Unfortunately, as I stated before, we don't have any good interrupt based GPIO examples for this platform. If you'd like our software design group to develop something or help you with your code, we can do that, but it would require a services contract.

    I do think I can point you in the right direction to load your Application instead of the Windows Desktop for Windows CE.

    One of the CE developers posted instructions on how to use Kiosk mode. The original CE 5 blog post is here: https://msdn.microsoft.com/en-us/library/aa446914.aspx

    There are some additional posts https://blogs.msdn.microsoft.com/mikehall/2005/08/03/windows-ce-kiosk-mode-part-11/

    and the updated for Win CE 6 is here https://blogs.msdn.microsoft.com/mikehall/2007/06/01/kiosk-mode-for-ce-6-0/

    Hopefully that will help. This would allow you to load the OS the same way and not modify your boot scripts or bootloader.

    adam

    You are not authorized to post a reply.