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.

TMS570LS3137-EP: ETHERNET BOOTLOADER IMAGE TRANSMITTED BUT APPLICATION NOT EXECUTING.

Part Number: TMS570LS3137-EP
Other Parts Discussed in Thread: TMDS570LS31HDK, UNIFLASH

Hi TI Support,

I'm currently working on a Ethernet Bootloader  in TMDS570LS31HDK board.

I have downloaded the example coding from the below link.

tidc817.zip

I have dumped the ethernet Bootloader code into the microcontroller. They have already provided the blinking application program inside that files .I have transmitted that image file via ethernet. The file was transmitted and was executed correctly. And then i have created the application image bin file for on board led blink. I found several problems. (Note: Application start address 0X0002 0000 .Below i have mentioned the linker file memory location for the application file)

MEMORY
{
VECTORS (X) : origin=0x00020000 length=0x00000020
FLASH0 (RX) : origin=0x00020020 length=0x0015FFE0
FLASH1 (RX) : origin=0x00180000 length=0x00180000
STACKS (RW) : origin=0x08000000 length=0x00001500
RAM (RW) : origin=0x08001500 length=0x0003EB00

/* USER CODE BEGIN (2) */
/* USER CODE END */
}

1.The image was transmitted through ethernet and application was not executing(led not blinking).Here i have used the erase option as entire flash.I have seen the memory location of the microcontroller in UNIFLASH and compare it with bin file.I found that data was presented in that location was same.

2.Then I have changed the erase option into neccessary sectors only. Again the image file was transmitted through ethernet and not executing. But found data located at the memory in uniflash.

3.Then i have loaded the application code through JTAG.Here i have setted erase option as neccessary sectors only.Now the led was blinking.

4.Then I transmit the image bin through ethernet.It was transmitted and application was executing(LED blinking).(Erase option : neccessary flash)

5.Again I created bin.Here erase option as entire flash. It was transmitted and not executing.

6.Sometimes,When i pressed the reset pushbutton on HDK board. Application code was fully erased.

Here,Is my question is that,The image bin was created using erase option neccessary sectors only and  entire flash was found same data viewed in HexEdit.

What is the process or actually what happening behind the entire flash and neccessary sector only? Why the image executed in neccessary sectors only and not executing in entire falsh?

Why image was not executing when there is no previous application code and its upgrading and executing when it as already a application code?

Why the application code is present in the memory location but not executing?

Why sometimes when pressing reset button app. code fully erased?

Please Support me,

Thanks in advance.

Regards,

Ajith Kumar A