??? 02/13/08 06:47 Read: times |
#150697 - descriptors in the code are defined Responding to: ???'s previous message |
Hi Tsuneo,
In IAR, these lines are part of the XCL file that defines the segment locations for the compiler. The descriptors in the code are defined as follows. #pragma dataseg= TUSB_BC_DEVCFG_DESC_SEG, #pragma location= F840 static tusbDevDesc tUsbDevDesc; static tusbBootConfigDesc tUsbBootConfigDesc; static tusbDevConfigDesc tUsbDevConfigDesc; #pragma dataseg= TUSB_BC_STRING_DESC_SEG, #pragma location= FB00 static BYTE tUsbStringDescriptors[128]; Here the descriptors are stored in default memory location. i.e. Xdata if large model and Idata if Small model. The error message is not related to this. It is related to CODE areas definition which is in fact defined in the lnk_base.xcl. This code actually build and works perfectly on IAR 5.50B(older version). We are having problems when porting trhis code to new IAR i.e. IAR 7.20 (current release). Regards, Mahesh |
Topic | Author | Date |
TUSB3410 Linker file issue | 01/01/70 00:00 | |
Post the mem map & grap XCL from vendor | 01/01/70 00:00 | |
Memory map for TUSB3410 | 01/01/70 00:00 | |
I don't know, but... | 01/01/70 00:00 | |
Descriptors on XDATA space ? | 01/01/70 00:00 | |
descriptors in the code are defined | 01/01/70 00:00 | |
problems porting code to new IAR i.e. 7.20 (curren![]() | 01/01/70 00:00 | |
are You working in asm? | 01/01/70 00:00 |