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/MSP-EXP432E401Y: Error using boot loader over ethernet for MSP-EXP432401Y

Part Number: MSP-EXP432E401Y
Other Parts Discussed in Thread: MSP432E401Y

Tool/software: Code Composer Studio

Hi,

I am having problems replicating this workshop:

http://dev.ti.com/tirex/content/simplelink_academy_msp432e4sdk_2_30_01_01/modules/msp432/msp432e4_bootloader/msp432e4_bootloader.html

I am trying to upload the bootloader and application image over ethernet. This task is of crucial importance given that my final application will be a network of 100 of these devices - it would be very convenient to have all my devices connected to an ethernet switch and being able to update the images of these devices from a single host computer.

The specific issue I am having is in task 4. This is the message I get from prompt:

You can see that my server IP is correct and that I made sure that the client IP was not allocated in my network:

 Take note that my network is isolated and in that sense I don't connect the ethernet switch to the network of the building. No router device is available for dynamic IP allocation but based on what I read from the BSL-Scripter documentation, the BOOTP protocol is implemented in the scripter itself.

Also, I want to make sure I understand how the boot loader works. According to the BSL-Scripter documentation, I initiate communication with a BOOTP request. Am I required to upload some firmware in the device so it responds to this ethernet requests?

Regards,

- Oscar

  • Hello Oscar,

    According to the log it looks like the BSL scripter is waiting for a TFTP request from the MSP432E4 and has received an invalid TFTP packet. Is it possible to collect Wireshark log of the communication?

    Which step in Task 4 of (Running the Ethernet Boot Loader ...) does this error occur - Step 6 or step 8? If you have followed the steps in the SimpleLink Academy (that you have linked in your original post), then the BSL scripter will programm the MSP432E4 with:
    * the Flash bootloader (using the ROM bootloader) in Step 6
    * the application (using the Flash bootloader) in Step 8

    Thanks,
    Sai
  • I get the error in step 6.

    I will get Wireshark log and post it here once I have it.

    Thanks!
  • Hello Sai,

    This is the wireshark log I got:

    You can notice that after the scripter receives the BOOTP request, the TI device is not sending a TFTP package back.Why is the Scripter registering a TFTP package then?

    I also disconnected other devices in the network to make sure that is not an issue, but the problem persists. 

    Thanks,

    - Oscar

  • Hello Oscar,

    I apologize for not replying earlier. I was able to replicate your issue.

    As your wireshark log shows, the BSL scripter is not responding to a BOOTP request. The BSL scripter should respond with the client IP address. After that the TFTP transaction takes place.

    I will contact the developer to see if we can identify the issue and hopefully have a quick fix. But since it's holiday season please give us some more time.

    Thanks for bringing this to our notice!

    Regards,
    Sai
  • Hi Sai,

    I have some experience in reading analog channels of MSP432E401Y board. I want to work on Ethernet part of this board, to transmit and receive data. I am facing the same issue as mentioned by Oscar, i am waiting for your valuable solution.
    can you also provide me any document on how to work with Ethernet examples.

    Regards,
    L.Kalyani.
  • Hello Kalyani,

    If you want documentation on Bootloader, then the link in the first post on this thread is a good starting point. Please refer the "Further Reading" section for other documentation.

    If you are looking for generic Ethernet examples, then please start a separate thread and we will be more than happy to help!

    Since it's holiday season in US and Europe we will need more time to find the root cause of this issue.

    Thanks,
    Sai
  • Hi all,

    sorry for late response. here are some further results and summary to run the example of Ethernet bootloader.:

    1. Download the Ethernet flash bootloader to the empty device: boot_serial_emac_flash_MSP_EXP432E401Y_nortos_ccs and download it by using script_1.txt in BSL Scripter example package, or script_bl.txt as shown in SimpleLink Academy page.
    2. Download app using the Ethernet flash bootloader from step (1). Under BSL Scripter example, there are 2 examples provided, under script_2.txt and script_3.txt. They are independent from each other
        1. Download the emac app example (script_2.txt)  boot_serial_emac_flash_MSP_EXP432E401Y_nortos_ccs
        2. Download the blink led example (script_3.txt) boot_serial_flash_app2_MSP_EXP432E401Y_nortos_ccs
    3. Understanding the emac app example (2A)
        1. Before downloading the (2A), the MAC address has to be programmed correctly on the device
        2. Open the Tera Term / hyper terminal to see the if the (2b) is programmed correctly. The expected output in Tera Term / hyper terminal shown in the SimpleLink academy page

    I hope this helps you to proceed with the ethernet bootloader application. let me know if you have further question. I recommend to take a look into the SimpleLink academy, as it shows step by step the setup from very beginning.

    I wish you all happy holiday and happy new year 2019!:)

**Attention** This is a public forum