This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28027F: Errors in building the project proj_lab05a_with_SCI_and_eCAP

Part Number: TMS320F28027F
Other Parts Discussed in Thread: MOTORWARE

Hello,

I am using TMS 320F28027F with DEV 8305 booster pack for motor control and I want to implement interrupt driven motor control solution. I tried to build the project github.com/.../instaspin_foc-SCI-eCAP  but it gives linking error: "error #10234-D: unresolved symbols remain", such as follows:

_econst_end ./proj_lab05a.obj, _econst_ram_load ./proj_lab05a.obj, _econst_start ./proj_lab05a.obj, _switch_end ./proj_lab05a.obj, _switch_ram_load ./proj_lab05a.obj, _switch_start ./proj_lab05a.obj

Does anybody know how to resolve this? My linker command file is: F28027F.cmd, do I need to change it?

Any help is greatly appreciated!

Thanks

 

  • This example was not created by the C2000 team, so I'm not sure what's been declared in terms of linker sections in the source code. It does appear to be a problem with the linker command file, that the sections have not been allocated correctly. You should try either removing the memory section declarations if they're not necessary, or allocate space for them in the linker command file you are using.

    Sean
  • Thanks a lot Sean for the answer. I just wanted to add interrupt driven UART functionality to lab2b and run the motors using UART interrupts sending from PC. Would you be able to direct me to a code/ project that works? I already followed the motorware_hal_tutorial for setting up the interrupts for UART but no luck. Thanks!
  • When you say no luck, what is the issue you are seeing? The tutorial should have led to successful integration, so I'm not sure what the issue is.

    Sean
  • I have implemented the code as the tutorial suggested in lab 2b and used matlab to send a character with correct serial port settings. I changed the GPIO setting to 12 for nFault as it was using 28, which is required for UART RX. Everything else is set up as the tutorial specified. Still I cant see any updates of the SCIRXBUF buffer or SCITXBUF, neither when I read the serial port. Thanks