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.
Hi,
I used CCS. I initial loaded using USB link to initially program the dev board with "boot_serial_emac_flash_MSP_EXP432E401Y_nortos_ccs.out". The devboard has wired ethernet connection to the same ethernet switch hub as my PC, and the switch hub is connected to the office LAN.
In the command prompt, I run this: D:\ti\workspace_v8\boot_emac_flash_app_magicpacket_update_MSP_EXP432E401Y_nortos_ccs\Debug>bsl-scripter script_2.txt
below is what appeared on my screen:
---------------------------------------------------------
BSL Scripter 3.3.0
PC software for BSL programming
2018-Oct-05 14:44:19
---------------------------------------------------------
Input file script is : D:/ti/workspace_v8/boot_emac_flash_app_magicpacket_update_MSP_EXP432E401Y_nortos_ccs/Debug/script_2.txt
//
// MSP432E4xx - Ethernet Bootloader Example (2st step)
//
// This script invoke the Custom Ethernet bootloder
// and download the boot_emac_flash_magicpacket_MSP_EXP432E401Y application
//
// Please insert the correct MAC address of the
// MSP432E4xx device,
// the IPClient parameter which is the IP that
// would be assigned to the MSP432E4xx device,
// and the IPServer parameter which is the local
// PC where the BSL-Scripter is executed.
//
// This application will be invoke the Custom Ethernet bootloader
// in flash when the magic packet is sent by the BSL-Scripter
// To try this feature, please execute the script_3.txt
//
LOG
MODE E4xx Ethernet MAC=70:FF:76:1C:5D:B4 IPClient=192.168.56.10 IPServer=192.168.56.1
Local IP Address is given in the parameter
Local IP Address of Host: 192.168.56.1
Waiting for BOOTP request!
Waiting for BOOTP request!
BOOTP request received!
Send BOOTP reply!
Ready to receive the Tftp read request!
Client IP address: 192.168.56.10
Waiting for TFTP read request!
[ERROR_MESSAGE]There is invalid TFTP Read Request in the packet received!
So what might be wrong?
Thanks,
Neiz
Hi Neiz,
Could you please check the IP Client that you chose for the board is correct?
Hi,
So to make the flash corrupted, I compiled a program with the address 0x00000004 = -1, and loaded it to the chip.
I used the supplied firmware with extension ".txt", in the folder \MSP432E4\MSPBSL_Scripter_win\Example\E4xx_ethernet.
I just changed the MAC, and ip numbers.
I, then followed your recommendation, and no success still.
Below is the log:
D:\Downloads\MSP432E4\MSPBSL_Scripter_win\Example\E4xx_ethernet>bsl-scripter script_1.txt
---------------------------------------------------------
BSL Scripter 3.3.0
PC software for BSL programming
2018-Oct-11 13:03:17
---------------------------------------------------------
Input file script is : D:/Downloads/MSP432E4/MSPBSL_Scripter_win/Example/E4xx_ethernet/script_1.txt
//
// MSP432E4xx - Ethernet Bootloader Example (1st step)
//
// This script invoke the ROM bootloder
// and download the Custom Ethernet Bootloader
// Please insert the correct MAC address of the
// MSP432E4xx device,
// the IPClient parameter which is the IP that
// would be assigned to the MSP432E4xx device,
// and the IPServer parameter which is the local
// PC where the BSL-Scripter is executed
//
// After the download is finished, reset the device
// and execute the script_2.txt
//
LOG
MODE E4xx Ethernet MAC=70:ff:76:1c:5d:b4 IPClient=125.1.1.110 IPServer=125.1.1.102
Local IP Address is given in the parameter
Local IP Address of Host: 125.1.1.102
Waiting for BOOTP request!
BOOTP request received!
Send BOOTP reply!
Ready to receive the Tftp read request!
Client IP address: 125.1.1.110
Waiting for TFTP read request!
[ERROR_MESSAGE]There is invalid TFTP Read Request in the packet received!
Any new idea?
Thanks,
neiz
Hi Neiz,
I could reproduce your problem and then found out that the IP address given is wrong. my apologize to reply this really late, as i was out of office for some time.
when you type "ipconfig" in your command prompt, this what would you see under LAN
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : fritz.box
IPv6 Address. . . . . . . . . . . : 2a02:810d:4ac0:5bfc:94de:c6ec:9dda:d8d2
Temporary IPv6 Address. . . . . . : 2a02:810d:4ac0:5bfc:e184:7f32:6f8d:7ea0
Link-local IPv6 Address . . . . . : fe80::94de:c6ec:9dda:d8d2%11
IPv4 Address. . . . . . . . . . . : 192.168.178.80
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : fe80::ca0e:14ff:fe88:85ae%11
192.168.178.1
Choose the IPv4 address as your IPServer in the script file. then I choose another IP 192.168.178.82 to be the IPClient.
other than that, there is a possibility that the UDP packet transfer is protected by the firewall. https://www.windowscentral.com/how-open-port-windows-firewall usually when you run the BSL Scripter for the first time, there is a pop up window to execute the application.
I hope this is also a solution for you.
don't forget to mass erase the device before running the script_1.txt. Mass Erase could be done by:
Hi,
I am running into the same error mode of the BSL Scripter. This is what I get in my prompt:
This is my ipconfig so you can see the ip is correct:
I have tried several things like changing the firewall configurations to allow the application and changing the client ip. None of them have worked. Something interesting that you can notice in the first image, is that the first time I run the BSL-Scripter it fails by not receiving a BOOTP request. The second time is the same error that Neiz has.
Just to add, I am using a local network with just one switch and no access to a router. Is this important? Is it necessary to have such device for dynamic IP allocation? My initial guess is that it isn't necessary cause this allocation is already done by the BSL Scripter, but it is good to ask.
Any other suggestions of what could be the issue?
I have been using the XDS110 (MSP-EXP432E401Y) to program a blank image and power the system. With no source code present the boot code thinks the device is blank and initiates the BSL.
I would recommend updating to the latest BSL. I did have some success with the first two scripts found in the BSL example but I am still working on the third.
C:\ti\BSL\ScriptExampleWindows\E4xx_ethernet
Please find the attached log files.
Regards,
Chris
--------------------------------------------------------- BSL Scripter 3.4.0.1 PC software for BSL programming 2018-Dec-03 11:44:04 --------------------------------------------------------- Input file script is : C:/ti/BSL/ScriptExampleWindows/E4xx_ethernet/script_1.txt //MODE E4xx Ethernet MAC=08:00:28:5a:8b:7f IPClient=137.167.191.10 IPServer=137.167.191.9 MODE E4xx Ethernet MAC=08:00:28:5a:8b:7f IPClient=192.168.2.4 IPServer=192.168.2.2 RX_DATA_BLOCK_32 boot_emac_flash_MSP_EXP432E401Y.txt Read Txt File : C:\ti\BSL\ScriptExampleWindows\E4xx_ethernet\boot_emac_flash_MSP_EXP432E401Y.txt Time elapsed of writing 12084 bytes : 0.2811 seconds Speed of writing data :41.98(kB/s)
--------------------------------------------------------- BSL Scripter 3.4.0.1 PC software for BSL programming 2018-Dec-03 11:48:09 --------------------------------------------------------- Input file script is : C:/ti/BSL/ScriptExampleWindows/E4xx_ethernet/script_2.txt //MODE E4xx Ethernet MAC=08:00:28:5a:8b:7f IPClient=137.167.191.10 IPServer=137.167.191.9 MODE E4xx Ethernet MAC=08:00:28:5a:8b:7f IPClient=192.168.2.4 IPServer=192.168.2.2 RX_DATA_BLOCK_32 boot_emac_flash_magicpacket_MSP_EXP432E401Y.txt Read Txt File : C:\ti\BSL\ScriptExampleWindows\E4xx_ethernet\boot_emac_flash_magicpacket_MSP_EXP432E401Y.txt Time elapsed of writing 48368 bytes : 1.063 seconds Speed of writing data :44.45(kB/s)
--------------------------------------------------------- BSL Scripter 3.4.0.1 PC software for BSL programming 2018-Dec-03 11:48:54 --------------------------------------------------------- Input file script is : C:/ti/BSL/ScriptExampleWindows/E4xx_ethernet/script_3.txt //MODE E4xx Ethernet MAC=08:00:28:5a:8b:7f IPClient=137.167.191.10 IPServer=137.167.191.9 MODE E4xx Ethernet MAC=08:00:28:5a:8b:7f IPClient=192.168.2.4 IPServer=192.168.2.2 [ERROR_MESSAGE]No BOOTP request received, exit the BSL-Scripter!
Hi all,
sorry for late response. here are some further results and summary to run the example of Ethernet bootloader.:
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!:)
Hi Richard,
when you type "ipconfig" in your command prompt, this what would you see under LAN
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : fritz.box
IPv6 Address. . . . . . . . . . . : 2a02:810d:4ac0:5bfc:94de:c6ec:9dda:d8d2
Temporary IPv6 Address. . . . . . : 2a02:810d:4ac0:5bfc:e184:7f32:6f8d:7ea0
Link-local IPv6 Address . . . . . : fe80::94de:c6ec:9dda:d8d2%11
IPv4 Address. . . . . . . . . . . : 192.168.178.80
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : fe80::ca0e:14ff:fe88:85ae%11
192.168.178.1
Choose the IPv4 address as your IPServer in the script file. then I choose another IP 192.168.178.82 to be the IPClient.
other than that, there is a possibility that the UDP packet transfer is protected by the firewall. https://www.windowscentral.com/how-open-port-windows-firewall usually when you run the BSL Scripter for the first time, there is a pop up window to execute the application.
I hope this is also a solution for you.
don't forget to mass erase the device before running the script_1.txt. Mass Erase could be done by:
**Attention** This is a public forum