**** BEGIN LOGGING AT Mon Apr 15 02:59:57 2013 Apr 15 14:21:26 Hi, I am getting problems with GDB and debug board on Freerunner: GDB don't stop after a stepi... How can I debug what is happening? Apr 15 15:38:43 txor: does openocd say something interesting during that? Apr 15 17:17:38 PaulFertser, Mmmm apparently not (with -d 3). It did not happened anymore since I issuing "monitor gdb_breakpoint_override hard" each time I remote connect to the target. Apr 15 17:18:26 txor: great you found a workaround :) Probably you was debugging code in ROM (not RAM) but it wasn't marked properly in the gdb memory map as non-writable. Apr 15 17:19:31 PaulFertser, How to know if it was on ROM? I uploding the images with dfu-util -a 0 Apr 15 17:20:17 PaulFertser, I know where the binary is loaded, I told him with ld scripts. Apr 15 17:20:31 And mkimage Apr 15 17:21:01 txor: look at $pc and the memory map in the datasheet. Apr 15 18:29:57 PaulFertser, Yes, I was using bank 6 starting at 0x30000178. Apr 15 18:31:14 txor: and what is it? Apr 15 18:33:27 PaulFertser, SRAM Apr 15 18:33:47 txor: strange, so do you mean software breakpoints do not work there? Apr 15 18:33:49 PaulFertser, Ops sorry! SROM Apr 15 18:34:05 txor: ah, right, so gdb shouldn't be trying using software breakpoints there if memory map is right. Apr 15 18:34:24 txor: is yours coming from OpenOCD? Apr 15 18:35:01 PaulFertser, Sorry another time xD it's SROM/SDRAM... I need to see which one is configured, right? Apr 15 18:35:29 PaulFertser, Yes, from OpenOCD. Apr 15 18:35:42 txor: but you have sdram, that's for sure. Apr 15 18:36:18 PaulFertser, Well the program allocated a stack and used it to store some variables... Apr 15 18:40:08 I have to go, today I get eCos write to serial port on Freerunner! :D Apr 15 18:40:21 Thanks and see you! Apr 15 18:41:20 txor: bye Apr 15 18:41:27 txor: congrats :) **** ENDING LOGGING AT Tue Apr 16 02:59:58 2013