Tool/software:
Hello Experts,
Is there a way to put MCU in debug and access the memory and registers and possibly disassembly without reflashing any new code? I am using TMS320F28379D and XDS110 JTAG.
Regards
Vishal Kakade
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 Experts,
Is there a way to put MCU in debug and access the memory and registers and possibly disassembly without reflashing any new code? I am using TMS320F28379D and XDS110 JTAG.
Regards
Vishal Kakade
Yes, you can start a debug session by opening the corresponding .ccxml file (under C2000 Ware, device_support/f2837xd/common/targetConfigs), then run -> debug and after you've connected to the target, you can Run -> Load -> Load Symbols ... and pick your linker output. Last step is optional, but would give you access to the symbols, if you have the linker output.
Hi,
Torsten, I tried this. I can access the disassembly and the memory map. With the .out file, I can see expressions as well. But it doesn't tell memory allocation.
So If I understand this correctly, We have a built-in disassembler that reads binary from Flash and converts it to Assembly.
Similarly, Do we have a decompiler that can convert this assembly to High-level C code?
Regards
Vishal
Hi Vishal,
We do not have a de compiler that I am aware of to convert assembly to high level c code.
Memory allocation should be given from the .map file and linker command file (.cmd file).
Best,
Ryan Ma
In general, it's never possible to generate High-Level C code from assembly, that comes close to the original code, as there is a lot of information that gets lost during compilation.