Random crashes Windows CE 6.0 Illegal instruction, Data abort, Datatype misalignment, Prefetch abort. RRS feed

  • Question

  • Hi,

    What are the most common causes when getting random crashes due to errors such as:

    Illegal instruction, Datatype misaligment, Data abort, Prefetch abort.

    Could it be hardware (such as memory timings) related or is it software related?

    How to do tests that can trap these errors?

    Pleas help I am desperate to find a solution.


    Thursday, August 30, 2018 11:05 AM

All replies

  • Data aborts are usually null pointer references, and they are easy to find.

    Prefetch aborts are much more difficult to find. Could be related to instruction caching issues, but we've also seen very weird things like having data inside a hardware FIFO that gets pushed out at the wrong time. Can be hardware, or bad cache maintenance (thus software).

    Datatype misalignment exceptions are also quite easy to find, and should always be a software related issue.

    Some of these can be found using KITL and carefully examining the exception output. For some issues you will need JTAG because KITL just won't do.

    Show us more info so we may be able to help you further.

    Good luck,

    Michel Verhagen, eMVP
    Check out my blog:

    Microsoft Embedded Partner
    NXP Proven Partner
    Consultancy, training and development services.

    Interested in WEC on i.MX6?
    Get the only 100% stable and best performing i.MX6 BSP for WEC7 and WEC2013 here:

    Thursday, August 30, 2018 11:24 AM