Hi,
I have a custom board and TI-RTOS based code that currently launches 3 main threads that reads ADC ports, send values via ethernet and controlls LEDs. The code works perfectly fine but I also want to add capability to update the code over ethernet. I used bootloader examples given and achieved to send examples with no problem and were able to update the code. When I try to send my own code for the first time I can do it with no problem, Bootloader and the application code works just fine. However, when I try to resend the same application code again bootloader writes it to address 0x0 instead of 0x4000. What might be the cause of this problem?
I've tried to explain it with a flowchart as well.