ARM Technical Support Knowledge Articles

ADS 1.1 Compiler reports "Fatal error: Internal fault: 0xca5f"

Applies to: ARM Developer Suite (ADS)

Answer

This problem is caused by the C compiler trying to cast a one-char structure to a one-word structure (int), for example:

typedef struct { char x; } X;
typedef union { int y; X x; } Y;
void f(Y *p, X q) { p->x = q; }

This is fixed in ADS 1.2 . If you have ADS 1.1 you can download a compiler patch (build 723) from the ADS 1.1 Support Downloads pages. Note this patch is not compatible with the Evaluation version of ADS 1.1.

Article last edited on: 2008-09-09 15:47:28

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential