CCS6.0 above version of hex file generation, in the C2prog and IAP online programming can be successful

Source: Internet
Author: User

Many friends using the CCS software generated hex files can not be used in C2prog and IAP online programming, there are some inexplicable errors, because the resulting hex file format is incorrect

The following hex files are generated using two methods, and the pro-test is available

(1) Universal method

No matter which version of the. out file is generated by the CCS compiler, the translation can be used only with HEX2000.exe software. Method:

Hex2000-romwidth 16-memwidth 16-i-o 20170817chuankoudayin.hex 20170817chuankoudayin.out

However, this method needs to go into the multi-Windows DOS interface, in the start-and-run->CMD->CD to HEX2000 folder, using the above command, generated a

Hex file that can be used.


(2) setting in the compiler

Most friends want to directly edit the. out file, it is directly generated can use the hex file, you can follow the following methods (my CCS version is CCS6.0)

(i) Click on the project right click, select Properties, will enable C2000 Hex utility tick


(ii) The output format in the output format options is selected as-intel,-i


(iii) The General Options option will then need to be specify memory width = Specify rom width = 16, as shown in the figure


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.