Re: [Fx2lib-devel] Some bugs
Status: Beta
Brought to you by:
mulicheng
From: Dennis M. <de...@ub...> - 2009-07-28 17:50:24
|
On Jul 28, 2009, at 2:47 AM, Maarten Brock wrote: > Dennis, > >>> 2. usbjt.a51 has several areas defined without specifying the memory >>> type. >>> I advise to change them to (CODE, ABS, CON) so they will not end >>> up in >>> xdata by accident and the linker can check for overlaps. >> >> Which areas? _INT2AV,_INT4AV are ( ABS, OVR ) > > So they are at an ABSolute address and OVeRlayable by any other > area. In > what memory should the linker put it? XDATA? Or IDATA? Have you > found in > the asxxxx documentation that it defaults to CODE memory? And what > do you > think will happen if another area is put at the same address as this > one? > You've told the linker that this is OK. Perhaps I misunderstood the asx8051 docs. I thought ABS and CON were mutually exclusive. I just re-read and found that it used to be that way, but now is OK. I tried changing _INT2AV anD _INT4AV to (CODE, ABS, CON) and it seems to have worked fine. Is that what you were suggesting? > > P.S. You might want to change the "reply to" address, because my > mailer > wanted to reply to you personally instead of the mailing list. I think it tried to reply to me because I put your email address in the "to" field as well as the list email address. This email is just responding to the list. I think it'll work correctly. -Dennis |