This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

WINCE ARM A8 01 01 00 DEMO and BSP does not boot on DM3730 EVM

Other Parts Discussed in Thread: DM3730, OMAP3530

This worked on BSP_WINCE_ARM_A8-1.00.00.14, I upgraded to the latest and now broke:

The demo images and latest BSP compiled do not boot from SDCARD on DM3730 :


 Selection: 0
Init HW: controller RST
SDCARD: reqested speed 1000000, actual speed 1000000
SDCARD: reqested speed 25000000, actual speed 19200000
BLSDCardReadLogo:  cannot open Logo.bmp

BL_IMAGE_TYPE_BIN

Download file information:
-----------------------------------------------------------
[0]: Address=0x80002000  Length=0x0239b730  Save=0x80002000
-----------------------------------------------------------
Download file type: 1
....................................................................................................................................................................................................................................................rom_offset=0x0.
..ImageStart = 0x80002000, ImageLength = 0x239B730, LaunchAddr = 0x80012208

Completed file(s):
-------------------------------------------------------------------------------
[0]: Address=0x80002000  Length=0x239B730  Name="" Target=RAM
ROMHDR at Address 80002044h
Launch Windows CE image by jumping to 0x80012208...

Windows CE Kernel for ARM (Thumb Enabled) Built on Aug  4 2010 at 14:23:58
OAL: CPU revision 0x10:DM3730
OAL: CPU L2 Aux register 0x400042
****Profiler Build****
---High Performance Frequency is 26000975 hz---

 

  • Hi Mark,

    Are you not seeing the LCD display upon boot up?

    Could you enable retail messages from main menu (Enable/Disable OAL Retail Messages option) and see if any errors are being printed? As such, the console messages do not indicate any failure to boot up.

    Thanks,

    Aparna

  • Hi,

    I see the logo form eboot on the EVM display.

     

    With retail messages on:

     

    Selection: 0

    Init HW: controller RST

    SDCARD: reqested speed 1000000, actual speed 1000000

    SDCARD: reqested speed 25000000, actual speed 19200000

    BLSDCardReadLogo:  cannot open Logo.bmp

     

    BL_IMAGE_TYPE_BIN

     

    Download file information:

    -----------------------------------------------------------

    [0]: Address=0x80002000  Length=0x0239b730  Save=0x80002000

    -----------------------------------------------------------

    Download file type: 1

    ................................................................................       ................................................................................       ................................................................................       ....rom_offset=0x0.

    ..ImageStart = 0x80002000, ImageLength = 0x239B730, LaunchAddr = 0x80012208

     

    Completed file(s):

    -------------------------------------------------------------------------------

    [0]: Address=0x80002000  Length=0x239B730  Name="" Target=RAM

    ROMHDR at Address 80002044h

    Launch Windows CE image by jumping to 0x80012208...

     

    Windows CE Kernel for ARM (Thumb Enabled) Built on Aug  4 2010 at 14:23:58

    OAL: CPU revision 0x10:DM3730

    OAL: CPU L2 Aux register 0x400042

    ****Profiler Build****

    ---High Performance Frequency is 26000956 hz---

    Compensating OPP1 for 63mV Orig nvalue:0x99d5be New nvalue:0x99a895

    Compensating OPP2 for 63mV Orig nvalue:0xaafde0 New nvalue:0xaadac0

    Compensating OPP3 for 75mV Orig nvalue:0xaab5a2 New nvalue:0xaa9f8e

    Exception 'Raised Exception' (-1): Thread-Id=00410002(pth=871ff024), Proc-Id=004       00002(pprc=823b2308) 'NK.EXE', VM-active=00400002(pprc=823b2308) 'NK.EXE'

    PC=8001c480(NK.EXE+0x0001a480) RA=80033520(kernel.dll+0x00006520) SP=d001fd34, B       VA=00000000

     

  • Mark,

    (a) You are using an older rev of 3730 (1.0) which is not supported by this BSP.

    (b) Since its an older rev of 3730, looks like the Smartreflex data is not burnt in. Can you try the following change in EVM_OMAP3530\SRC\OAL\OALLIB\opp_map.c :

     

    static unsigned int SmartReflex_Adjust_EFUSE_nvalue(unsigned int opp_no,

                                                                            unsigned int orig_opp_nvalue,

                                                                            unsigned int mv_delta)

    {

                If (orig_opp_nvalue != 0)

    {

                unsigned int new_opp_nvalue;

                unsigned int senp_gain, senn_gain, rnsenp, rnsenn, pnt_delta, nnt_delta;

                unsigned int new_senn, new_senp, senn, senp;

     

                UNREFERENCED_PARAMETER(opp_no);         

     

                /* calculate SenN and SenP from the efuse value */

                senp_gain = ((orig_opp_nvalue >> 20) & 0xf);

                senn_gain = ((orig_opp_nvalue >> 16) & 0xf);

                rnsenp = ((orig_opp_nvalue >> 8) & 0xff);

                rnsenn = (orig_opp_nvalue & 0xff);

     

                senp = ((1<<(senp_gain+8))/(rnsenp));

                senn = ((1<<(senn_gain+8))/(rnsenn));

     

                /* calculate the voltage delta */

                pnt_delta = (26 * mv_delta)/10;

                nnt_delta = (3 * mv_delta);

     

                /* now lets add the voltage delta to the sensor values */

                new_senn = senn + nnt_delta;

                new_senp = senp + pnt_delta;

     

                new_opp_nvalue = cal_test_nvalue(new_senn, new_senp);

     

                OALMSG( TRUE, (L"Compensating OPP%d for %dmV Orig nvalue:0x%x New nvalue:0x%x \r\n",

                                        opp_no, mv_delta, orig_opp_nvalue, new_opp_nvalue));

                }

     

                return new_opp_nvalue;

    }

  • if this doesn't fix the crash, then please look at nk.map and see what the exception PC address points to?

  • Modifying opp_map.c solved the problem.

    Thanks!