Hi,
6678 can build to generate 32 bit code and 16 bit code, and I hope there is only 32 bit code in the assembly program. Is there build and link configuration option can achieve this function?
Thanks,
Regards,
Na Li
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.
Hi,
6678 can build to generate 32 bit code and 16 bit code, and I hope there is only 32 bit code in the assembly program. Is there build and link configuration option can achieve this function?
Thanks,
Regards,
Na Li
Hi Na Li,
Yes, In CCS, there is an option to generate both 16 bit and 32 bit assembly code. In CCS, go to help option and search for "32 bit code" without codes, you will get an assembler option like below:
--code_state={16|32} | Generates 16-bit Thumb code. By default, 32-bit code is generated. When Cortex-R4, Cortex-M0, Cortex-M3, or Cortex-A8 architecture support is chosen, the --code_state (or -mt) option generates Thumb-2 code. For details on indirect calls in 16-bit versus 32-bit code, see Section 2.3.1. |
Note: This approriate forum to post this question is on compiler forum.
Regards,
Shankari
-------------------------------------------------------------------------------------------------------
Please click the Verify Answer button on this post if it answers your question.
--------------------------------------------------------------------------------------------------------
My earlier post in this space was full of errors. This edit replaces it with this apology for my earlier misunderstanding. -George
Hi,
Thanks for your reply.
1.I don't know where is the no_compress option,could you tell me how to set the no_compress option?
2.We develop a debugger software in CCS, the difference is the communication mode is PCIE bus or Internet ,not J-tag.
3.The reason I must use 32 bit code is that I realize 32 bit breakpoint,but my 16 bit code breakpoint is not stable,sometimes the 16 bit code breakpoint will lead to instability of CCS. So I want to use only 32 bit code, and if 32 bit code breakpoint is stable, our debugger software also can meet basic debug requirement.
Thanks,
Regards
Na Li