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: TMS570LS3137 bootloader code for ethernet

Part Number: TMS570LS3137

Hi,

I was looking for TMS570LS3137 boot loader code for ethernet. reference given in forums is //processors.wiki.ti.com/index.php/Category:TMS570 but when i download code SafetyMCU_Ethernet_Bootloader.zip - it is empty. Can you please guide me to get the correct code of bootloader for ethernet.

Regards,

Suhail.B

  • Hello Suhail,

    I just tried the link in your post, it works. I downloaded /unzipped the zip file, and got the example projects.

  • Thanks for your response. I do got the example project. But i am facing compilation error. After importing the example project into CCS. I am using CCS version 5.4.0.00091

    I am getting below error. Even though all the header files are included in ARM compiler include paths. Can you please help me on this issue

     undefined        first referenced
      symbol              in file    
     ---------        ----------------
     inet_addr        ./sys_main.obj 
     ip_addr_any      ./tftp.obj     
     lwIPInit         ./sys_main.obj 
     lwIPRxIntHandler ./sys_main.obj 
     lwIPTxIntHandler ./sys_main.obj 
     mem_free         ./tftp.obj     
     mem_malloc       ./tftp.obj     
     pbuf_alloc       ./tftp.obj     
     pbuf_free        ./tftp.obj     
     udp_bind         ./tftp.obj     
     udp_connect      ./tftp.obj     
     udp_new          ./tftp.obj     
     udp_recv         ./tftp.obj     
     udp_remove       ./tftp.obj     
     udp_send         ./tftp.obj     
    error #10234-D: unresolved symbols remain
    error #10010: errors encountered during linking; "TMS570LS31x_Enet.out" not built
    Regards,
    Suhail.B
  • Hello Suhail,

    Please check the directories in #include search path:

  • Hi, 

    Thanks for the response. Please find the screenshots of include path and i have placed all the files in the path but still not able to compile and same error as mentioned earlier exists

    Regards,

    Suhail.B

  • Hi,

    Also can you please guide to the reference API documentation of the flash API used in ethernet bootloader code. It would be of great help if i can have a reference guide for flash API defined in bl_flash.c like Fapi_BlockProgram etc

    Regards,

    Suhail.B

  • Hello Suhail,

    Please refer to the F021 Flash API user guide located in API installation directory: