Keil™, An ARM® Company

Technical Support

ARTX: AR166 HANGS IN OS_SYS_INIT


Information in this article applies to:

  • ARTX-166 All Versions

QUESTION

My ARTX166 application fails to run. Even though I checked the stack and memory requirements, the system crashes on os_sys_init.

ANSWER

Make sure that you do not use the compiler directive STATIC. In µVision you disable STATIC by:

  • Go to Options for Target - C166.
  • Uncheck the option Use Static Memory for Non-register Automatics.

MORE INFORMATION

  • Refer to STATIC in the C166 User's Guide.
  • Refer to REENTRANT in the C166 User's Guide.

Last Reviewed: Tuesday, July 19, 2005


Did this article provide the answer you needed?
 
Yes
No
Not Sure