I'm using the latest version of DKARM kit and I'm still getting the L138 Error message. I've tried to get the attached files but it doesn't accept my serial number
If you're referring to a previous post, please provide a link. Otherwise, more info is needed to make any sense of this!
Sorry...The link is http://www.keil.com/support/docs/2867.htm I get exactly the line where it happens. I use a macro defined like this: #define Chunk(type,variable,offset) (*((type*)(&(variable))+(offset))) I've used it to get a short var in the middle of a int, Chunk(char,longvar,1)=Chunk(uint8,shortvar,0); Chunk(char,longvar,2)=Chunk(uint8,shortvar,1); The problem is that shortvar is a function argument. I've copied it in a static local variable and the program now runs correctly Why??? I really don't know...
uint8 is a typedef for unsigned char
but it doesn't accept my serial number Did it not occur to you that this is something nobody in this forum can help you with, and which you really should be make contact with Keil themselves about?
I don't want help about my serial number, I just want to understand what is the problem with my program. I've just mentioned the fact.