Compiler/TMS320F28388D: Using CLA with ROM Symbols gives warning #17003-D (2024)

Part Number: TMS320F28388D
Other Parts Discussed in Thread: C2000WARE

Tool/software: TI C/C++ Compiler

Hi everyone,

I am trying to program a CLA of a TMS320F2838x with tables loaded into the CLA ROM, but a lot of warnings appear due to the CLA Table symbols loaded into the ROM section:

"/home/ubnuser/ti/repos/c2000ware/libraries/math/temp/source/CLAsinPU.asm", line 110: warning #17003-D: relocation from assembly function "CLAsinPU" to symbol "CLAsincosTable_TABLE_SIZE" overflowed; the 25-bit relocated address 0x1001e4c is too large to encode in the 16-bit unsigned field (type = 'R_CLA_ABS16' (16), file = "C:/Users/cinergia/repos/burriac/Shared/Shared_Global/lib/cla2_math_library_datarom_fpu32_eabi.lib<CLAsinPU.obj>", offset = 0x00000002, section = "Cla1Prog:_CLAsinPU")"/home/ubnuser/ti/repos/c2000ware/libraries/math/temp/source/CLAsinPU.asm", line 111: warning #17003-D: relocation from assembly function "CLAsinPU" to symbol "CLAsincosTable_TABLE_MASK" overflowed; the 25-bit relocated address 0x1001e52 is too large to encode in the 16-bit unsigned field (type = 'R_CLA_ABS16' (16), file = "C:/Users/cinergia/repos/burriac/Shared/Shared_Global/lib/cla2_math_library_datarom_fpu32_eabi.lib<CLAsinPU.obj>", offset = 0x00000004, section = "Cla1Prog:_CLAsinPU")"/home/ubnuser/ti/repos/c2000ware/libraries/math/temp/source/CLAsinPU.asm", line 128: warning #17003-D: relocation from assembly function "CLAsinPU" to symbol "CLAsincosTable_TwoPiDivTABLE_SIZE" overflowed; the 25-bit relocated address 0x1001e50 is too large to encode in the 16-bit unsigned field (type = 'R_CLA_ABS16' (16), file = "C:/Users/cinergia/repos/burriac/Shared/Shared_Global/lib/cla2_math_library_datarom_fpu32_eabi.lib<CLAsinPU.obj>", offset = 0x00000010, section = "Cla1Prog:_CLAsinPU")"/home/ubnuser/ti/repos/c2000ware/libraries/math/temp/source/CLAsinPU.asm", line 129: warning #17003-D: relocation from assembly function "CLAsinPU" to symbol "CLAsincosTable_Coef3" overflowed; the 25-bit relocated address 0x1001e5c is too large to encode in the 16-bit unsigned field (type = 'R_CLA_ABS16' (16), file = "C:/Users/cinergia/repos/burriac/Shared/Shared_Global/lib/cla2_math_library_datarom_fpu32_eabi.lib<CLAsinPU.obj>", offset = 0x00000012, section = "Cla1Prog:_CLAsinPU")"/home/ubnuser/ti/repos/c2000ware/libraries/math/temp/source/CLAsinPU.asm", line 139: warning #17003-D: relocation from assembly function "CLAsinPU" to symbol "CLAsincosTable_Coef2" overflowed; the 25-bit relocated address 0x1001e5a is too large to encode in the 16-bit unsigned field (type = 'R_CLA_ABS16' (16), file = "C:/Users/cinergia/repos/burriac/Shared/Shared_Global/lib/cla2_math_library_datarom_fpu32_eabi.lib<CLAsinPU.obj>", offset = 0x00000018, section = "Cla1Prog:_CLAsinPU")"/home/ubnuser/ti/repos/c2000ware/libraries/math/temp/source/CLAsinPU.asm", line 149: warning #17003-D: relocation from assembly function "CLAsinPU" to symbol "CLAsincosTable_Coef1" overflowed; the 25-bit relocated address 0x1001e56 is too large to encode in the 16-bit unsigned field (type = 'R_CLA_ABS16' (16), file = "C:/Users/cinergia/repos/burriac/Shared/Shared_Global/lib/cla2_math_library_datarom_fpu32_eabi.lib<CLAsinPU.obj>", offset = 0x0000001e, section = "Cla1Prog:_CLAsinPU")"/home/ubnuser/ti/repos/c2000ware/libraries/math/temp/source/CLAsinPU.asm", line 159: warning #17003-D: relocation from assembly function "CLAsinPU" to symbol "CLAsincosTable_Coef0" overflowed; the 25-bit relocated address 0x1001e54 is too large to encode in the 16-bit unsigned field (type = 'R_CLA_ABS16' (16), file = "C:/Users/cinergia/repos/burriac/Shared/Shared_Global/lib/cla2_math_library_datarom_fpu32_eabi.lib<CLAsinPU.obj>", offset = 0x00000024, section = "Cla1Prog:_CLAsinPU")"/home/ubnuser/ti/repos/c2000ware/libraries/math/temp/source/CLAcosPU.asm", line 117: warning #17003-D: relocation from assembly function "CLAcosPU" to symbol "CLAsincosTable_TABLE_SIZE" overflowed; the 25-bit relocated address 0x1001e4c is too large to encode in the 16-bit unsigned field (type = 'R_CLA_ABS16' (16), file = "C:/Users/cinergia/repos/burriac/Shared/Shared_Global/lib/cla2_math_library_datarom_fpu32_eabi.lib<CLAcosPU.obj>", offset = 0x00000002, section = "Cla1Prog:_CLAcosPU")"/home/ubnuser/ti/repos/c2000ware/libraries/math/temp/source/CLAcosPU.asm", line 118: warning #17003-D: relocation from assembly function "CLAcosPU" to symbol "CLAsincosTable_TABLE_MASK" overflowed; the 25-bit relocated address 0x1001e52 is too large to encode in the 16-bit unsigned field (type = 'R_CLA_ABS16' (16), file = "C:/Users/cinergia/repos/burriac/Shared/Shared_Global/lib/cla2_math_library_datarom_fpu32_eabi.lib<CLAcosPU.obj>", offset = 0x00000004, section = "Cla1Prog:_CLAcosPU")"/home/ubnuser/ti/repos/c2000ware/libraries/math/temp/source/CLAcosPU.asm", line 134: warning #17003-D: relocation from assembly function "CLAcosPU" to symbol "CLAsincosTable_TwoPiDivTABLE_SIZE" overflowed; the 25-bit relocated address 0x1001e50 is too large to encode in the 16-bit unsigned field (type = 'R_CLA_ABS16' (16), file = "C:/Users/cinergia/repos/burriac/Shared/Shared_Global/lib/cla2_math_library_datarom_fpu32_eabi.lib<CLAcosPU.obj>", offset = 0x00000010, section = "Cla1Prog:_CLAcosPU")"/home/ubnuser/ti/repos/c2000ware/libraries/math/temp/source/CLAcosPU.asm", line 135: warning #17003-D: relocation from assembly function "CLAcosPU" to symbol "CLAsincosTable_Coef3_neg" overflowed; the 25-bit relocated address 0x1001e5e is too large to encode in the 16-bit unsigned field (type = 'R_CLA_ABS16' (16), file = "C:/Users/cinergia/repos/burriac/Shared/Shared_Global/lib/cla2_math_library_datarom_fpu32_eabi.lib<CLAcosPU.obj>", offset = 0x00000012, section = "Cla1Prog:_CLAcosPU")"/home/ubnuser/ti/repos/c2000ware/libraries/math/temp/source/CLAcosPU.asm", line 145: warning #17003-D: relocation from assembly function "CLAcosPU" to symbol "CLAsincosTable_Coef2" overflowed; the 25-bit relocated address 0x1001e5a is too large to encode in the 16-bit unsigned field (type = 'R_CLA_ABS16' (16), file = "C:/Users/cinergia/repos/burriac/Shared/Shared_Global/lib/cla2_math_library_datarom_fpu32_eabi.lib<CLAcosPU.obj>", offset = 0x00000018, section = "Cla1Prog:_CLAcosPU")"/home/ubnuser/ti/repos/c2000ware/libraries/math/temp/source/CLAcosPU.asm", line 155: warning #17003-D: relocation from assembly function "CLAcosPU" to symbol "CLAsincosTable_Coef1_pos" overflowed; the 25-bit relocated address 0x1001e58 is too large to encode in the 16-bit unsigned field (type = 'R_CLA_ABS16' (16), file = "C:/Users/cinergia/repos/burriac/Shared/Shared_Global/lib/cla2_math_library_datarom_fpu32_eabi.lib<CLAcosPU.obj>", offset = 0x0000001e, section = "Cla1Prog:_CLAcosPU")"/home/ubnuser/ti/repos/c2000ware/libraries/math/temp/source/CLAcosPU.asm", line 165: warning #17003-D: relocation from assembly function "CLAcosPU" to symbol "CLAsincosTable_Coef0" overflowed; the 25-bit relocated address 0x1001e54 is too large to encode in the 16-bit unsigned field (type = 'R_CLA_ABS16' (16), file = "C:/Users/cinergia/repos/burriac/Shared/Shared_Global/lib/cla2_math_library_datarom_fpu32_eabi.lib<CLAcosPU.obj>", offset = 0x00000024, section = "Cla1Prog:_CLAcosPU")warning #10015-D: output file "ABR_CPU1.out" cannot be loaded and run on a target system

If I have a look into the *.map file I can see that the CLA Table has loaded as it should be. Here you can see the symbols fitted to the address range of the CLA ROM (0x01001000 to 0x01001FFF):

page address name ---- ------- ---- ....abs 01001e54 CLAsincosTable_Coef0 abs 01001e56 CLAsincosTable_Coef1 abs 01001e58 CLAsincosTable_Coef1_pos abs 01001e5a CLAsincosTable_Coef2 abs 01001e5c CLAsincosTable_Coef3 abs 01001e5e CLAsincosTable_Coef3_neg abs 01001d4a CLAsincosTable_Cos0 abs 01001d0a CLAsincosTable_Sin0 abs 01001e52 CLAsincosTable_TABLE_MASK abs 01001e4c CLAsincosTable_TABLE_SIZE abs 01001e50 CLAsincosTable_TwoPiDivTABLE_SIZE
...

I understand that the CLA data ROM address range (25 bits) exceeds the CPU address range (16 bits) but the compiler should be ready for this situation, isn't it?

For further understanding of the configuration I used, the compiler version used int his project is TI v20.2.2.LTS.

I also followed all the configuration steps in the file C2000Ware_3_02_00_00\libraries\math\CLAmath\c28\docs\CLA_MATH_LIB_UG.pdf and my project is configured this way:

  • CLAmath.h is included in the project
  • Correct CLA2 selected:
    Compiler/TMS320F28388D: Using CLA with ROM Symbols gives warning #17003-D (1)
  • Libraries included to the Linker:
    Compiler/TMS320F28388D: Using CLA with ROM Symbols gives warning #17003-D (2)
  • Predefined variables CLA_MATH_TABLES_IN_ROM=1 and CLA_C=1 activated in the Linker section.
  • *.CMD file without CLA1mathTables section.

Futhermore, I have tried to load the CLA math Table to RAM, without all the ROM configurations, and the error is gone, logically.

What should I do with that warning?

Thanks.

Compiler/TMS320F28388D: Using CLA with ROM Symbols gives warning #17003-D (2024)

References

Top Articles
Top 20 Barbershops in Netherlands - Treatwell
Dé 23 beste barbershops in Utrecht - Allebarbershops.nl
Otc School Calendar
Hk Jockey Club Result
Kool Online Offender Lookup
Greet In Cheshire Crossword Clue
Quadrilateral Angles Sum Property - Theorem and Proof
Futuretechgirls Contact
What You Need to Know About County Jails
Craislist Vt
Bank Of America Operating Hours Today
211475039
Cosmoprof Jobs
Icl Urban Dictionary
Last minute moving service van local mover junk hauling pack loading - labor / hauling / moving - craigslist
So sehen die 130 neuen Doppelstockzüge fürs Land aus
Kind Farms Reserve Medical And Recreational Cannabis Photos
American Eagle Store Locator
Craigslist For Cars Los Angeles
Holly Ranch Aussie Farm
Fishweather
Slmd Skincare Appointment
Edt National Board
SuperLotto Plus | California State Lottery
Pennys Department Store Near Me
Paying Cash for Comics, Sports Cards, Collections, Honest - Respectful - wanted - by dealer - sale - craigslist
Lenscrafters Westchester Mall
Nsa Panama City Mwr
Tri State Pediatrics Chippewa Pa
Jill Vasil Sell Obituary
Used Zero Turn Mowers | Shop Used Zero Turn Mowers for Sale - GSA Equipment
Bollywood Movies 123Movies
Sems Broward County
Roblox Roguelike
Harness Divine Power 5E Cleric
Keanu Reeves cements his place in action genre with ‘John Wick: Chapter 4’
Any Ups Stores Open Today
VMware accompagne ses partenaires et soutient leur transformation en faisant évoluer son programme « VMware Partner Connect » - Broadcom News & Stories - Français
Hispanic supermarket chain Sedano's now delivering groceries in Orlando
KOBALT K15CS-06AC MANUAL Pdf Download
Raz-Plus Literacy Essentials for PreK-6
Pixel Run 3D Unblocked
MyEyeDr. near Lind&lt;b&gt;ergh Center Metro Station
Plus Portal Ibn Seena Academy
CNA Classes & Certification | How to Become a CNA | Red Cross
Ny Lottery Second Chance App
Papajohnxx
Sport Clip Hours
Gen 50 Kjv
manhattan cars & trucks - by owner - craigslist
Rainfall Map Oklahoma
Wat is een Microsoft Tenant
Latest Posts
Article information

Author: Domingo Moore

Last Updated:

Views: 5625

Rating: 4.2 / 5 (73 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Domingo Moore

Birthday: 1997-05-20

Address: 6485 Kohler Route, Antonioton, VT 77375-0299

Phone: +3213869077934

Job: Sales Analyst

Hobby: Kayaking, Roller skating, Cabaret, Rugby, Homebrewing, Creative writing, amateur radio

Introduction: My name is Domingo Moore, I am a attractive, gorgeous, funny, jolly, spotless, nice, fantastic person who loves writing and wants to share my knowledge and understanding with you.