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.
Dear Sir/Madam,
I have two issue when I upload code using OLIMEX XDS100V3 Emulator in microcontroller using TI 14pin JTAG.
1) I'm facing Sector violation (0x0 len=0x10) error while I'm uploading hex file using C2Prog.I'm also attached screenshot for your reference. As I study about this error it is something related to Linker file but I'm unable to get solution for this anywhere,how to solve this issue please provide me step by step solution.
2) When I'm using CCS for upload the code using emulator the Load program error is shown and few other error for this I attached screenshot.
Hello,
I'm facing Sector violation (0x0 len=0x10) error while I'm uploading hex file using C2Prog
I can't comment much on this error as I am not very familiar with c2prog. I will defer to the device experts on this one.
When I'm using CCS for upload the code using emulator the Load program error is shown and few other error for this I attached screenshot.
There are a lot of errors here. The one most of note is the one about flash not being available for this device. Are you using some custom F28379D board? What is the exact device being used? Provide the full name (ex: TMS320F28379DZWTT).
Thansk
ki
1693890725550.pdf This is specification of microcontroller board having serial number given in manual 220221091/220221092
I tried with both 1)6.2.5 2)22.6.0.LTS
None of these are valid CCS verisons. #2 is definitely a compiler version.
What is the actual CCS IDE version?
Code Composer Studio IDE C2000 Components 12.4.0.202306011800 com.ti.ccstudio.c2000.feature.group Texas Instruments
This issue sounds similar to the one reported in the thread below:
You may want to try the suggestions by Vamsi in the thread.
I will also bring this thread to the attention of the C2000 experts who can help further.
Thanks
ki
Hi Zaid,
1) Regarding Sector Violation error: Can you check your linker command file to ensure that all the initialized sections are mapped to valid flash address space?
2) Regarding CCS Load Program Error: Are you able to load to RAM if not to flash? Please confirm so that we can analyze further.
Thanks and regards,
Vamsi
Hello Vamsi
1) I'm not good in backend coding I attached link for you my entire CCS project folder files including linker file for your reference, Github_link can you please check in this link, weather the linker file mapping is correct or not? or else give me suggestion how to check correct mapping
2)Yes, I tried also in RAM but still is there error.
for your reference I want to tell you the code provided in GitHub link is verified with my TI28379D launchpad and I'm able to executed code properly ,it working fine
Hi Zaid,
I reviewed your linker file - it is ok.
If you are not able to load to RAM, then it might be a board issue.
Thanks and regards,
Vamsi
Hi Zaid,
Could send the snipshot of your setup how the JTAG is connected to your main board?
Secondly, is there any switch between JTAG and MCU on the board?
Thanks & Regards,
Uttam
Hi Vamsi,
Thanks for review my linker file, Can you please check my RAM linker file. I uploaded this time in the Github_link (file named as 2837x_RAM_lnk_cpu1.cmd) But issue is that the vender is provided me a LED Blinky hex file when I upload using C2Prog it is uploaded properly, so I think MCU Board is fine
JTAG_setup_.pdf Hi uttam, PFA of setup snapshot.
for your reference I attached Pdf manual for OLIMEX Emulatoremulator TMS320-XDS100_V3_INS.pdf
connection as follows Laptop USB port →USB_Isolator (Wrapped in Black color) →OLIMEX XDS100V3 Emulator(RED color) →MCU Board(Green Color).
No switch is present between JTAG&MCU Board.
by following this connection as mentioned above I uploaded the LED Blinky Hex file provided me by vender from where I buy this MCU board. I also tried to ask they said please contact to TI support.
I'm still waiting for your response. Please tell me any further information is required from my side
Hi Zaid,
Looks good to me and as you mentioned LED blinky was working fine.
If you have some LEDs on main board, could you modify the code and run it over RAM to see if it's a board or software issue?
Thanks & Regards,
Uttam
Hi Zaid,
following up to see, if your issue got resolved or not?
Thanks
Uttam
Hi Uttam,
I have only HEX file which provided by vender, I'm unable to edit that HEX file. Do you have any method by which we can convert it into ccs .c file?
Zaid,
Since you only have an executable you cannot make any changes to the project and rebuild. without the project, HEX file editing is not possible.
Try to run one of the C2000ware examples to validate and can test further case.
Thanks
Uttam
Hi Uttam,
is there any issue of Memory mapping.?
CAN you please tell me these two boards have different memory mapping
TMS320F28379DZWTT and TMS320F28379DPTPT?
Zaid,
379D has the same memory mapping as per Datasheet. the only difference between the devices is the package QFP (DPTPT) and BGA(379DZWTT).
Is there a specific concern here? To be more sure let me route this query to memory experts.
Thanks
Uttam
Hello Zaid,
The memory expert is currently out-of-office, please give them until January 8th to respond.
Hi Zaid,
There is no any memory difference between those two units.
1) Were you successfully able to load to RAM and execute? Please confirm.
2) Were you able to successfully program this unit at least once?
3) Are there any DCSM settings as part of the image?
Thanks and regards,
Vamsi
Hi Zaid,
Do you have any update on this?
Can I close this post?
Thanks and regards,
Vamsi