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.

TM4C129XNCZAD: Debug flash ethernet bootloader

Part Number: TM4C129XNCZAD
Other Parts Discussed in Thread: LMFLASHPROGRAMMER

Hello,

I am working on getting my (flash based) ethernet bootloader working with my custom TM4C129XNCZAD board.

my setup:

- I load my bootloader boot_emac_flash via JTAG at the beginning of flash

- next, I load my application (which includes the call to "SoftwareUpdateBegin") at address 0x00004000.

- next, I run eflash to start off the bootloading process.

what happens:

I can see that application receives the eflash BOOTP commands and goes into "SoftwareUpdateBegin", where it calls (*((void (*)(void))(*(uint32_t *)0x2c)))();

However, it seems that the bootloader does not send anything back and seems not to work properly. (I see no reaction at "eflash" and it keeps resending the "Magic" packet. I also see no packets from my app on wireshark).

my questions:

is it possible to debug the (custom flash) bootloader in CCS and step through it??

when I try to debug and dive into "0x2c" I only see disassembly code.

Thank you very much.

  • Hello Robert

    If the board and the PC are connected to the switch, can you first make sure that the IP address being allocated for the board is available. In other words, run an existing example like enet_lwIP and get an IP address. The flash in the boot loader and with the eflash use the same IP address for upgrade.

    Also as a backup measure; please try to use the LMFlashProgrammer Ethernet Boot Loader function.