none
WEC2013 boot process hang RRS feed

  • Question

  • Platform: Freescale Vybrid VF6xx (ARM Cortex-A5)

    Log from output:

    rom_offset=0x0.
    ImageStart = 0x80200000, ImageLength = 0x1c67950, LaunchAddr = 0x80206291

    Completed file(s):
    -------------------------------------------------------------------------------
    [0]: Address=0x80200000  Length=0x1c67950  Name="" Target=RAM
    ROMHDR at Address 80200044h
    Got EDBG_CMD_JUMPIMG
    Got EDBG_CMD_CONFIG, flags:0x0
    Launch Windows CE image by jumping to 0x80206291...

    Windows CE Kernel for ARM (Thumb Enabled) Built on May 10 2013 at 10:57:20
    ProcessorType=0c05  Revision=1 CpuId=0x410fc051
    OEMAddressTable = 80201038
    WEC2013 BSP for Freescale Vybrid VF6xx, DAB-Embedded
    Initializing VFP, FPSID=41023051
    OALTimerInit
    NKStartup done, starting up kernel. nCpus = 1
    Windows CE KernelInit
    Error Reporting Memory Reserved, dump size = 0004b000
    Booting Windows CE version 8.00 for (ARM)
    Memory Configuring: Total pages: 24347, Filesystem pages = 12173
    Booting kernel with clean memory configuration:
    Total Memory Sections:1
    [0] (static): start: 81e96000, extension/attributes: 00018000, length: 05f1b000
    Scheduling the first thread.
    PagePoolInit Complete
    PID:00400002 TID:00410002 OSAXST0: Platform Name = TWR-VF65GS10
    PID:00400002 TID:00410002 OSAXST1: >>> Loading Module 'kd.dll' (0xC04030B0) at address 0xEFFE0000-0xEFFF9000 in Process 'NK.EXE' (0x81E7BFA0)
    PID:00400002 TID:00410002 KD: Starting kernel debugger software probe (KdStub) - KD API version 27
    PID:00400002 TID:00410002 OSAXST1: >>> Loading Module 'NK.EXE' (0x81E7BFA0) at address 0x80200000-0x80216000 in Process 'NK.EXE' (0x81E7BFA0)
    PID:00400002 TID:00410002 Message Queue support initialized, g_hMsgQHeap = c44a0010
    PID:00400002 TID:00410002 Tick going backward 0000d5e5 -> 000000c8
    PID:00400002 TID:00410002 Tick going backward 0000d5e5 -> 000000c8
    PID:00400002 TID:00530002 Tick going backward 000000c8 -> 00000095
    PID:00400002 TID:00530002 Tick going backward 000000c8 -> 00000095
    PID:00400002 TID:00550002 OSAXST1: >>> Loading Module 'filesys.dll' (0xC0403920) at address 0xEFD00000-0xEFD92000 in Process 'NK.EXE' (0x81E7BFA0)
    PID:00400002 TID:00550002 OSAXST1: >>> Loading Module 'fsdmgr.dll' (0xC0403A80) at address 0xEF9A0000-0xEF9D8000 in Process 'NK.EXE' (0x81E7BFA0)
    PID:00400002 TID:00550002 Tick going backward 0000029b -> 00000214
    PID:00400002 TID:00550002 Tick going backward 0000029b -> 00000214
    PID:00400002 TID:00570002 FileSystem Starting - starting with clean Object Store
    PID:00400002 TID:00570002 OSAXST1: >>> Loading Module 'romfsd.dll' (0xC0403E20) at address 0xEFCF0000-0xEFCF8000 in Process 'NK.EXE' (0x81E7BFA0)
    PID:00400002 TID:00570002 OSAXST1: >>> Loading Module 'k.locale.dll' (0xC0406D90) at address 0xEFDD0000-0xEFDFD000 in Process 'NK.EXE' (0x81E7BFA0)
    PID:00400002 TID:00570002 OSAXST1: >>> Loading Module 'k.normalize.dll' (0xC0407000) at address 0xEFDA0000-0xEFDAC000 in Process 'NK.EXE' (0x81E7BFA0)
    PID:00400002 TID:00570002 OSAXST1: >>> Loading Module 'device.dll' (0xC0407220) at address 0xEFB50000-0xEFB56000 in Process 'NK.EXE' (0x81E7BFA0)
    PID:00400002 TID:00570002 OSAXST1: >>> Loading Module 'devmgr.dll' (0xC0407380) at address 0xEFB20000-0xEFB48000 in Process 'NK.EXE' (0x81E7BFA0)
    PID:00400002 TID:00570002 OSAXST1: >>> Loading Module 'k.ceddk.dll' (0xC04074E0) at address 0xEF920000-0xEF92C000 in Process 'NK.EXE' (0x81E7BFA0)
    PID:00400002 TID:00570002 OSAXST1: >>> Loading Module 'pm.dll' (0xC0407680) at address 0xEFAC0000-0xEFAEF000 in Process 'NK.EXE' (0x81E7BFA0)

    OS timer and interrupts still working perfect.

    Can anybody helps with it?




    • Edited by A.Stolyarov Wednesday, July 9, 2014 8:25 PM
    Wednesday, July 9, 2014 8:23 PM

Answers

  • I don't think your timer is running correctly:

    PID:00400002 TID:00410002 Tick going backward 0000d5e5 -> 000000c8

    Did you get a JTAG already? Step step step...


    Good luck,

    Michel Verhagen, eMVP
    Check out my blog: http://guruce.com/blog

    GuruCE
    Microsoft Embedded Partner
    http://guruce.com
    Consultancy, training and development services.

    • Marked as answer by A.Stolyarov Thursday, July 10, 2014 11:42 AM
    Thursday, July 10, 2014 7:31 AM
    Moderator

All replies

  • I don't think your timer is running correctly:

    PID:00400002 TID:00410002 Tick going backward 0000d5e5 -> 000000c8

    Did you get a JTAG already? Step step step...


    Good luck,

    Michel Verhagen, eMVP
    Check out my blog: http://guruce.com/blog

    GuruCE
    Microsoft Embedded Partner
    http://guruce.com
    Consultancy, training and development services.

    • Marked as answer by A.Stolyarov Thursday, July 10, 2014 11:42 AM
    Thursday, July 10, 2014 7:31 AM
    Moderator
  • I solved problem. Yes, you are right. Problems in OS timer.

    If we are talking about realtime device, will better to use fixed timer?

    Thursday, July 10, 2014 11:42 AM
  • What do you mean with "fixed timer"? Do you have a flexible timer now?? ;-)

    Good luck,

    Michel Verhagen, eMVP
    Check out my blog: http://guruce.com/blog

    GuruCE
    Microsoft Embedded Partner
    http://guruce.com
    Consultancy, training and development services.

    Thursday, July 10, 2014 11:44 AM
    Moderator
  • Now fixed tick was implemented.

    (like " FIXED TICK" in http://blogs.msdn.com/b/ce_base/archive/2006/09/27/understanding-the-variable-tick-timer.aspx)


    • Edited by A.Stolyarov Thursday, July 10, 2014 3:41 PM
    Thursday, July 10, 2014 12:18 PM
  • Ah yes, of course. No, it would be very bad if the variable tick timer would break real-time performance! In fact the variable tick timer would cause BETTER real-time performance, simply because there will never be an unnecessary tick.

    You may have to review your variable tick implementation, and especially the calculation of the interval and possible rollover situations.


    Good luck,

    Michel Verhagen, eMVP
    Check out my blog: http://guruce.com/blog

    GuruCE
    Microsoft Embedded Partner
    http://guruce.com
    Consultancy, training and development services.

    Thursday, July 10, 2014 9:44 PM
    Moderator
  • Thank you. I will review timer policy.
    Monday, July 14, 2014 2:43 PM