Struggled with how to title this post but essentially what I am trying to do is this:
- I want to send my board into the bootloader in ROM
- I then want to flash a new application via the LM Flash Programmer using its Ethernet interface
- It should finish the update, reset the board, and come back up with the new application fully functional, including its ethernet stack
What is currently happening:
- I am able to send it into the bootloader in ROM (based on the fact that LM Flash Programmer is able to connect)
// Disable all processor interrupts. HWREG(NVIC_DIS0) = 0xffffffff; HWREG(NVIC_DIS1) = 0xffffffff; HWREG(NVIC_DIS2) = 0xffffffff; HWREG(NVIC_DIS3) = 0xffffffff; HWREG(NVIC_DIS4) = 0xffffffff; // Also disable the SysTick interrupt. ROM_SysTickIntDisable(); ROM_SysTickDisable(); // Return control to the boot loader. ROM_UpdateEMAC(g_ui32SysClock);
- LM Flash Programmer seems to connect and actually send all the application (this is based on status message on LM Flash Programmer gui: Program Complete - 97512 Bytes Programmed)
- It does a reset (I see all my blinkies go off), BUTwhen my application comes back up, it never grabs an IP.
- The activity Etherent LED blinks a few times and then stops. The link LED stays on.
- If I hit it with a manual button reset my application works just fine (get an IP and all)
Any insight from someone that might already be doing this?
This is my configuration:
I am on the LaunchPad EK-TM4C1294XL (tm4c1294ncpdt) running at 100Mhz, using TI-RTOS 2.0.1.23, NDK 2.23.01.01, and TivaWare 2.1.0.12573c on CCS5.4. I can get an IP on every reboot (now that I have dealt with the emac issues: http://processors.wiki.ti.com/index.php/TI-RTOS_TM4C129_Emac_Issues ). I am on revision A1 and using build 1613 of the LM Flash Programmer tool.
I have read a bunch of threads regarding ethernet update but none seem to really address what I am seeing on my board.
Thanks for the help!