Migrating STM32L073Z-EVAL example to Nucleo-L073
Hello all,
Just getting started here, and a few issues/questions to note:
1) I am getting a “Unable to retreive data from the backend” when debugging my code. It happens with any breakpoint set after ~ line 69 here: http://pastebin.com/E840H157
Any ideas as to why? The debugger just gives up?...
2) Once in a while (every ~ 5-6 runs) the gdb server seems to get stuck and refuses to re-launch a new debugging session, forcing me to re-start openstm32. Is there a faster way to do this? Or avoid it?
Ultimately, I am trying to port the demo for the STM32L073Z-EVAL to the Nucleo board with the same chip, so this should be really easy! (The STM32L073Z_EVAL/DualBank example BTW)
However, the Eval demo seems to be coded to be locked to USART2 (PA2 & PA3) which are the same pins ST-Link is using? Is that the case? Why would that be the way the example is made??
Anytime I try and change the port, it seems to hardfault, which is also not great, but probably I haven’t solved everything.
Thanks for the help!