Tool/software:
Hi
I am using Project Lab 11 in MotorWare, and I'm encountering some errors in the f28027.cmd file. Could someone please provide some assistance?
Description Resource Path Location Type #10010 errors encountered during linking; "proj_lab11.out" not built proj_lab11 C/C++ Problem #10099-D program will not fit into available F28027.cmd /proj_lab11 line 135 C/C++ Problem gmake: *** [proj_lab11.out] Error 1 proj_lab11 C/C++ Problem gmake: Target 'all' not remade because of errors. proj_lab11 C/C++ Problem #10247-D creating output section ".cio" without a SECTIONS proj_lab11 C/C++ Problem
Hi Kishor,
Have you made any modifications to the project files? From the error provided, it says the rom_accessed_data is too large to fit into the RAMM0_M1 memory region. You can add another memory region that the compiler will put the code into by appending memory locations with the | symbol. Or you can put it in a different part of memory that is unused
Regards,
Peter
Hi Peter Luong1
"Yes, I made the modifications by adding a UART command to run the motor. I have written the code; please review it and let me know if any changes are needed."
Hi Peter Luong1
"Yes, I made the modifications by adding a UART command to run the motor. I have written the code; please review it and let me know if any changes are needed."
Hi Kishor,
For security reasons, we cannot access Google Drive links.
Have you tried to allocate more memory to the rom_accessed_data ?
Regards,
Peter
Hi Peter Luong1
Could you please send me your mail. I will send to project zip file to you.
Hi Kishor,
You can include the project as a code using the code formatting capability in E2E. Or you can directly include the zip file on this thread.
Regards,
Peter
Hi Peter Luong1
How to increase RAM size. Please let me know.
Description Resource Path Location Type #10010 errors encountered during linking; "proj_lab11.out" not built proj_lab11 C/C++ Problem #10099-D program will not fit into available F28027.cmd /proj_lab11 line 135 C/C++ Problem gmake: *** [proj_lab11.out] Error 1 proj_lab11 C/C++ Problem gmake: Target 'all' not remade because of errors. proj_lab11 C/C++ Problem #10247-D creating output section ".cio" without a SECTIONS proj_lab11 C/C++ Problem
Hi Kishor,
It would be good for you to review the Linker Command File Primer https://software-dl.ti.com/ccs/esd/documents/sdto_cgt_Linker-Command-File-Primer.html
This describes how to make edits to the .cmd file
Specifically you want to refer to the Allocate to Multiple Memory Ranges and Split an Output Section Across Multiple Memory Ranges sections
Regards,
Peter
Hi Peter Luong1
"I need some clarification about the .cmd file.". How to changes the memories.
Hi Kishor,
You can directly change the memory by editing the .cmd file.
For example, you can add additional memory to the rom_accessed_data like below
rom_accessed_data : > RAMM0_M1 | {different memory location} PAGE = 1
When you run the compiler, you will see the error message removed if the updated memory allocation is valid.
Seems you also need a .cio section based on the error message from the compiler.
Regards,
Peter
Hi Kishor,
When you use pipe |, you need to provide another block of memory, such as D_RAML0. This will partition that memory allocation across multiple memory blocks
Regards,
Peter