Other Parts Discussed in Thread: UNIFLASH, EK-TM4C1294XL
Hi everyone:
I think I’m making a mistake when generating the file to be used to program an EK-TM4C123GXL using LM Flash Programmer with USB DFU. For now, I don’t intend to make any custom implementation, neither on the uC nor in the host computer. I mean, I’ll stick to the vanilla functions of the ROM TivaWare, use the default USB id, based on project0, etc.
I guess what I'm finally need to resolve is: What should I set for the CCS Project to generate a file that can be used to program an EK-TM4C123GXL using the LM Flash Programmer via USB DFU?
This is what I have tried:
If I program the EK directly from CSS, the Bootloader on the uC runs and LM Flash Programmer is able to see it and make it available to be programmed again when selecting Manual configuration and USB DFU as the interface. This should mean that my uC app and the host Windows machine and its drivers are okay.
However, at this point, when loading the .bin (Taken from the output folder of the CSS Project) just leaves the uC not working and subsequently not being able to be programmed again via its Bootloader.
I think the problem is not the .bin. If I restore the uC (Programing it again directly from CSS) and then using LM Flash Programmer selecting the Profile: TM4C123G LaunchPad and the same .bin, the device works. But loading again the very same .bin from LM Flash Programmer but using DFU, leaves the device out of work.
I suspect that the LM Flash Programmer may need a different file (other than the .bin) that tells it something about the memory locations. By the way, I’m relaying on ROM_UpdateUSB(0) and I have checked that the .cmd file of the Project matches the TivaWare 2.2.0.295 version, and has this addresses:
#define APP_BASE 0x00000000 #define RAM_BASE 0x20000000
That makes me think that I have not to change the address field that has the value 0 on the LM Flash Programmer, which seems the only thing variable there.
Any help, would be greatly appreciated.