Part Number: TMS570LS3137
Other Parts Discussed in Thread: TMS570LC4357, HALCOGEN,
Dear Sir/Madam,
I have the code that I am able to compile without any error. I can build the CCS project and generate the ".out" file of the code and I am able to load it in my TMS570LC4357ZWT MCU without any problem. The code is run properly on this MCU. Then I tried to switch MCU type from TMS570LC4357ZWT to TMS570LS3137ZWT. I have configured HalcoGen file according to TMS570LS3137 version correctly and created the project file. Then, I have built the same code and generated the ".out" file for TMS570LS3137 MCU. When I loaded the ".out" file into the TMS570LS3137 MCU, I have encountered the problem which I have never encountered with TMS570LC4357 MCU. The problem is when the code comes to the "errn = writeEXIHeader(stream)" line, I can not see the values of "stream" in the expression window as seen in Figure1. The error is "Memory map prevented reading 0x07FFFF38", I have not see this error in the TMS570LC4357 MCU in the "encode_appHandExiDocument" function . This caused the code to go into "sys_intvecs.asm - > prefetchEntry -> b _dabort" without going into the function "writeEXIHeader(stream)". In the "encode_appHandExiDocument" function, the "stream" memory cannot be achieved and code goes and stuck at "b _dabort". I have not encountered this problem in the TMS570LC4357 MCU. The same code, same functions, nothing is changed but the problem arises when I have changed the MCU type. I did not intend to change the code because the code can be compıled wıthout any error and works fıne in the TMS570LC4357 MCU. How can I solve this issue? I am waiting for your advises. Thank you in advance.
I have attached the code block as Figure2 and the expression window as Figure1.
Best regards.
Kemal
Figure2 Figure1



