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 C2000 Team,
I made three output images file using hex utility by --romwidth and --memwidth setting.
1. Default (--romwidth = --memwidth = N/A)
"C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/hex2000" --diag_wrap=off --intel -o "launchxl_ex1_f280039c_demo.hex" "launchxl_ex1_f280039c_demo.out"
2. --romwidth = --memwidth = 8
"C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/hex2000" --memwidth=8 --romwidth=8 --diag_wrap=off --intel -o "launchxl_ex1_f280039c_demo.hex" "launchxl_ex1_f280039c_demo.out"
3. --romwidth = --memwidth = 16
"C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/hex2000" --memwidth=16 --romwidth=16 --diag_wrap=off --intel -o "launchxl_ex1_f280039c_demo.hex" "launchxl_ex1_f280039c_demo.out"
All three images are different.
I understand that 8-bit and 16-bit are different, but I don't understand that 16-bit is different from the default setting.
Also, the data in the memory view and disassembly window is different from the image files.
Which setting is correct?
Thanks.
For the explanation, please search the C28x assembly tools manual for the sub-chapter titled Understanding Memory Widths.
Which setting is correct?
The setting --romwidth=16 does what most users expect. Because the default --memwidth=16, this matches what you see when you use ...
--memwidth=16 --romwidth=16
Thanks and regards,
-George