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.

CCS/MSP432E401Y: Bootloader / Application firmware update via ethernet

Part Number: MSP432E401Y


Tool/software: Code Composer Studio

Hello

In the board I am developing, I will need to update the application firmware via ethernet. I am currently working with the launch pad, I have read the documentation about the ethernet bootloader and I  have tried the examples but I have some questions:

  1. Referring to the guide at this link: https://dev.ti.com/tirex/explore/node?node=AFJOFVW-5QUupgqIH9d--A__J4.hfJy__LATEST, I can download the boot loader with script_emac_bl.txt and then the application with script_emac_app.txt but while the "boot_emac_flash_app_magicpacket_update_MSP_EXP432E401Y_nortos_ccs.txt" application starts correctly immediately after the download, any other application (even  the samples present in the SDK) seems not to start even after a reset. Why?
  2. Instead, if I download the application after the main flash erase done via CCS script (without downloading BL first), the application starts correctly without manual reset...
  3. I noticed that when I perform a mass erase via CCS script, the target sends anyway BOOTP messages without the necessity to download the BL app, so wath's the added value of the "boot_serial_emac_flash_MSP_EXP432E401Y_nortos_ccs.txt" into the procedure linked at the point 1?
  4. Normally, my board will have only remote access, so my idea is to send an update command via eth in order to put the target in boot mode an then update the application firmware. I saw that BSL scripter does not support a MASS_ERASE command for E4 models, so, which is the fastest way to get an application firmware update using ethernet only?

Thank you

Reagrds

Matteo

  • Hi Matteo

    #1 What's your mean by "any other application (even  the samples present in the SDK) seems not to start even after a reset. Why?"  Make sure you have followed every steps in the guide.

    #2 how you download with? Ethernet or JTAG?

  • Hi Gary,

    #1 I suppose once I download bootloader firmware via "script_emac_bl.txt", it is possible to download any application firmware by modifying the script_emac_app.txt

    (e.g. LOG MODE Ethernet E4xx MAC=70:FF:76:1C:57:71 IPClient=128.247.87.208 IPServer=128.247.87.238 RX_DATA_BLOCK_32 <another_application>.txt)

     Is it wrong?

    #2 Download with ethernet

    Thank you

    Matteo

  • Hi Matteo

    Sorry for the late reply.

    I have setup the hardware and test it correctly.

    We do have a demo for your application. That is the demo named "boot_emac_flash_app_magicpacket_update" in the path 

    ..\simplelink_msp432e4_sdk_3_40_01_02\examples\nortos\MSP_EXP432E401Y\boot_loader

    This demo is based on flash based BSL. So you should download the flash based BSL first.

    If you don't download the flash based BSL, but download the application firmware first BSL will not work. You can see demo application code memory is start at 0x4000. I you down load a application code start at 0x0000 it should work but you can't go into ROM BSL or you configure the BOOTCFG register in your application code.

**Attention** This is a public forum