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.
Tool/software:
hello. I am developing with a TMS320F28386S.
In this project, I am working on moving data to flash using FlashApi after computing in RAM.
However, while moving the data to flash, I got an unexpected error, so I stopped the program, modified the program and tried to upload it again.
The following error is returned and I am no longer able to upload the program.
Why is this happening and how can I fix it?
Additionally, it would be great to know how to change the bootloader.
C28xx_CPU1: Error connecting to the target: (Error -1135 @ 0x0) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 20.1.0.3372)
Development Environment CCS 20.1.0
Hi Hyeon,
What hardware are you using? Is it a custom board or are you using our controlCARD. It seems your debugger is in a bad state, you may need to reprogram your XDS using the xdsdfu.exe firmware.
Regards,
Peter
안녕하세요 Peter Leung
우리는 맞춤형 보드를 사용했습니다.
디버거에 문제가 있다고는 생각하지 않습니다. 문제가 없는 보드에서 프로그램을 가져올 때는 문제없이 작동하기 때문입니다.
제 문제는 플래시에 많은 양의 데이터(10KB 이상)를 쓰고 있을 때 asm이 발생하면 더 이상 프로그램을 쓸 수 없다는 것입니다(칩이 다시 작동하지 않습니다).
제 추측으로는 부트로더가 플래시에 쓰는 중에 문제가 발생한 것 같습니다.
일단 칩을 새 것으로 교체했어요.
안녕하세요 Peter Leung
우리는 맞춤형 보드를 사용했습니다.
디버거에 문제가 있다고는 생각하지 않습니다. 문제가 없는 보드에서 프로그램을 가져올 때는 문제없이 작동하기 때문입니다.
제 문제는 플래시에 많은 양의 데이터(10KB 이상)를 쓰고 있을 때 asm이 발생하면 더 이상 프로그램을 쓸 수 없다는 것입니다(칩이 다시 작동하지 않습니다).
제 추측으로는 부트로더가 플래시에 쓰는 중에 문제가 발생한 것 같습니다.
일단 칩을 새 것으로 교체했어요.
Hello Peter Leung We used a custom board. I don't think there's a problem with the debugger. It works fine when you get the program from a problem board. My problem is that if I am writing a large amount of data (more than 10KB) to flash and ASM occurs, I can no longer write programs (the chip won’t work again) My guess is that the boot loader is having trouble writing to the flash. I replaced the chip with a new one
Hi Hyeon,
You are saying that you are only able to fix this issue by completely replacing the device? Let me consult with flash expert to understand why this may be happening
Regards,
Peter
Hi Peter Leung
Please just call me Thomas.
First of all, thank you very much for your response.
In the same code environment, I put an unset semaphore function inside the error function, and I no longer have the same problem.
Does the above issue happen to anyone else?
PS: I apologize for not answering in your language. I don't know what the problem is, but my previous answer was uploaded in Korean.
Hi Thomas,
Which error function are you referring to? Do you mean the DriverLib error file?
Regards,
Peter