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.

TM4C1294NCPDT: TM4C1294XL EVK

Part Number: TM4C1294NCPDT

HI Team,

I am trying to integrate the bootloader code with my application code for Firmware upgrade using ethernet

So I changed the following program bl_config.h to enable ethernet 

I enabled following things 

#define ENET_ENABLE_UPDATE

#define ENET_ENABLE_LEDS

#define ENET_MAC_ADDR0 0x70
#define ENET_MAC_ADDR1 0xFF
#define ENET_MAC_ADDR2 0x76
#define ENET_MAC_ADDR3 0x1F
#define ENET_MAC_ADDR4 0x13
#define ENET_MAC_ADDR5 0x0D

#define ENET_BOOTP_SERVER       "tiva"

and  I build the code with application with 

and in .cmd file as 

  

and I load the code into the EVK

The I configured LM flash to 

and I tried to program my binary file with 0x00004000 as APP_BASE address

and when I start program iam always getting

After I pause the code it always stops here in while 

I exactly don't know why it is stopping here  can you please explain what can I do to transmit the firmware using ethernet in LM Flash with the mac address

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//*****************************************************************************
//
// bl_config.h - The configurable parameters of the boot loader.
//
// Copyright (c) 2013-2016 Texas Instruments Incorporated. All rights reserved.
// Software License Agreement
//
// Texas Instruments (TI) is supplying this software for use solely and
// exclusively on TI's microcontroller products. The software is owned by
// TI and/or its suppliers, and is protected under applicable copyright
// laws. You may not combine this software with "viral" open-source
// software in order to form a larger program.
//
// THIS SOFTWARE IS PROVIDED "AS IS" AND WITH ALL FAULTS.
// NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT
// NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. TI SHALL NOT, UNDER ANY
// CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
// DAMAGES, FOR ANY REASON WHATSOEVER.
//
// This is part of revision 2.1.3.156 of the DK-TM4C129X Firmware Package.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//*****************************************************************************
//
// bl_emac.c - Functions to update via Ethernet.
//
// Copyright (c) 2013-2020 Texas Instruments Incorporated. All rights reserved.
// Software License Agreement
//
// Texas Instruments (TI) is supplying this software for use solely and
// exclusively on TI's microcontroller products. The software is owned by
// TI and/or its suppliers, and is protected under applicable copyright
// laws. You may not combine this software with "viral" open-source
// software in order to form a larger program.
//
// THIS SOFTWARE IS PROVIDED "AS IS" AND WITH ALL FAULTS.
// NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT
// NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. TI SHALL NOT, UNDER ANY
// CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
// DAMAGES, FOR ANY REASON WHATSOEVER.
//
// This is part of revision 2.2.0.295 of the Tiva Firmware Development Package.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • Hi,

      What did you enter for the Client IP address? It will not work if you provide an empty IP. As I mentioned in the other post, you will need to first run a enet_lwip or enet_io or any Ethernet example that will acquire an DHCP address. Once that address is acquired it will remain leased to your NIC from your DHCP server on the network.  In this case, that IP address will remain associated with the MAC address you provide (70:FF:76:1F:13:0D). You cannot enter an arbitrary IP address because that may interfere with another NIC that may have the same address on your network. You need to enter that IP address and the MAC address pair in the BOOTP server in the LM flash programmer. Have you tried that?

      Please tell me if you have ever get the boot_emac_flash (example Ethernet booloader) and boot_demo_emac_flash t(example Ethernet application) o work?