2016-11-28 05:42 AM
Hello,
I am using eclipse with a Nucleo F103 and OpenOCD (or alternativly TrueStudio) and would like to do the following. I have a .bin file without the sourcecode. Now I would like to step through the disassembly to see where it jumps to in the code. I am not reverse engineering. Its just two bootloaders and the actual code. I have the source to one Bootloader nut not the other. So I just want to see what addresses the combined code jumps through. I dont have any other options. I can only flash the first bootloader, then with that falsh the rest and read back the binary file. This read file I would like to step through. Is this possible? #stm32 #eclipse #nucleo2016-11-28 08:14 AM
One can step arbitrary code in the disassembly view of Keil, I'd imagine other debuggers would support similar functionality. Uncheck ''run to main()'' type options, and start stepping in the Reset_Handler
It would probably be easier to do static analysis from a disassembly listing of the .BIN