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 27 Jun 2008 04:13 PM by  sam.siciliano@gmail.com
Strange Issues with NK.bin Persistance in SDRAM
 3 Replies
Sort:
You are not authorized to post a reply.
Author Messages
sam.siciliano@gmail.com
New Member
New Member
Posts:


--
25 Jun 2008 06:33 PM
    While developing an OS, I have been using a TFTP server to develop a WinCE 6.0 OS image on my kit. My sequence typically goes:

    1 Develop/Add stuff to the OS image
    2 Perform a makeimg (or whatever build steps are needed)
    3 Reboot the kit
    4 Use a TFTP server and the "Load" command to transfer the NK.bin to the kit
    5 Exec the NK.bin
    6 Test
    7 Go back to step #1

    Strangely though, I had images where the NK.bin wouldn't "update". Even though the OS image is loaded in LoLo properly, it's like the "prior" OS image for the last reboot was actually running. I would see files and registry keys that shouldn't be there.

    To get around this issue, I simply unplugged the kit for a few moments, then plugged it back in. I'm wondering if the "reset" button on the TI-OMAP kit is actually performing a soft reset instead of a hard reset.

    Very strange!
    richard.laborde@logicpd.com
    Basic Member
    Basic Member
    Posts:247


    --
    26 Jun 2008 09:06 AM
    Sam,

    Have you tried using bootme & instead of load?
    I'd be very interested to see if you still get the same results that way.
    Thanks
    nathank
    New Member
    New Member
    Posts:11


    --
    26 Jun 2008 11:24 AM
    Sam

    The reset button on the OMAP35x kit is tied to the processor's SYS_nRESPWRON, so it performs a power on reset. What it does not do, is reset the PMIC. Therefore, when you use the reset button, only the processor gets reset and the PMIC does not. That means all voltages remain valid/stable during a reset and the device memory could be held. Instead of actually removing the power cable each time, can you just use the Power On/Off button, S3? It should provide the same functionality.
    Another possibility is that since the PMIC does not get reset, there are still valid voltages on the OMAP processor; I know this processor has a complex Boot ROM that functions differently if powering from no voltage, backup voltage, software reset, hardware reset, etc. It's possible that your software needs to program the Boot ROM such that it does a full reset when SYS_nRESPWRON is pressed.

    Nate
    sam.siciliano@gmail.com
    New Member
    New Member
    Posts:


    --
    27 Jun 2008 04:13 PM
    Nathan-thanks for the tip, I'll use the power button from now on.
    Richard-I haven't tried this yet, although I just got KITL up and going today, so I'll keep you updated if I notice/don't notice this.

    The thing I don't understand is why LoLo wouldn't overwrite the prior image in SDRAM upon the reload after the reset. It's like the load command checked to see if the OS image was still in SDRAM, and then put the new one in a different location as to not overwrite it. But then "exec" stuck with booting the original one.
    You are not authorized to post a reply.