We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello,
I am trying to find out GPIO mapping on a board with an STM32F407 (which firmware function is related to which GPIO). I know I could do it using a LA, but pins are note very accesible.
I have no access to source code so... I only have a firmware dump with no debug info (stripped firmware.bin) with current memory mappings:
- bootloader (0x08000000-0x80FFFFFF)
- app (0x80100000-0x8090A5F).
I also have a Black Magic Probe to debug through GDB.
So, I had thought of 2 ideas:
- Load firmware on keil - uVision emulator / IAR EW emulator and get GPIO status while debugging ARM ASM code.
To do this, I have followed these instructions: (http://www.keil.com/support/docs/2310.htm) without success (Load ".. \\ ET4 Firmwares \\ Dumps \\ firmware.bin" *** error 59: invalid absolute module)
I've also tried with IAR EW with no luck.
- Debug firmware through GDB (Black Magic Pro GDB server), using IAR EW only as a GUI, allowing me to control program flow and GPIO status.
Big questions are:
- are any of these options possible?
- How can I easily see the status (high / low) of a GPIO input / output on real time?
Thank you!