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.

Software update by FOE

Hello everybody,

I'm working with the following software configuration:

    • Code Composer Studio version CCS 6.1.1.00022
    • SYS/BIOS 6.42.2.29 Real Time Operating System
    • XDC Tool 3.31.2.38_core
    • Compiler GNU v4.8.4 (Linaro)
    • NDK 2.24.3.35
    • Sysbios sdk 2.1.1.2

Concerning hardware, I make my test on evaluation platform ice v2.

I would like to test FOE update.

So, I'm runnig the full ecat application which is provided by TI,

I use KPA server as ethercat master and I use KPA Studio interface to make the transfer.

I begin my test:

  • start the code on sitara
  • start kpa master,
  • attach TI slave
  • then I test if I can reach operational mode: everything is ok.

Then, I begin to test FOE:

  • I ask bootstrap mode
  • I dowload ECATFW__ (which is the nearly the same binary file that the one that is already running)
  • the transfert finish successfully
  • I ask INIT mode to finish the transfert and restart the target

The problem is that the target is not restarting !

In fact, if I switch off the card and switch on, the new program is starting and everything is ok but the restart doesn't occurs when I ask the INIT mode after the BOOTSTRAP mode.

I had a look at the code. In sdk 1.1.0.8, there was a restart flag in the function bsp_boot_2_init_handler() in tiescbsp.c file : " set_app_reload_flag(0xAA)" but this flag doesn't exist anymore in sdk 2.1.1.2 !

How does the restart target function after a FOE update ?

Thanks a lot for your help,

Laurence