Other Parts Discussed in Thread: UNIFLASH, C2000WARE
Tool/software: Code Composer Studio
So I'm trying to develop a DFU Bootloader application to exist on my F28069/M based project. Currently I have a semi-working set of programs, one for my host side that sends the DFU commands/stores the program and the example code for the F28069 that can enumerate as a DFU device and write to flash.
I'm trying to get my application to compile down to a .bin that I can send over to be written to flash using the above programs. I am debugging why this isn't working and the steps I'm trying to get through before trying to load using the bootloader are.
- Use the hex-utility to output a .hex file that I can then upload to my board using CCS + XDS110
- Use method mentioned here to generate a .bin file from that .hex file
- Use Uniflash to load my .bin into flash(with the correct offset address) and get it to boot correctly.
Once I can do these things I will try using the DFU bootloader. However I'm stuck at step 1. I have the hex utility enabled and dropping out a .hex file but every time I load it the processor drops to address 0x0000 according to the XDS110 and then will get locked in the BOOT_ROM indicating something went wrong in flashing. Any help on what to do here would be much appreciated. I think once I get it to boot this .hex I can figure it out from there but I can't seem to get that working.