manish9161 0 Posted July 11, 2013 Share Posted July 11, 2013 Hello I am Manish .I am doing ARM cortex M4 Programming with STM32F4 discovery ,code flashes properly but it having problem when debgging with GDB.Following result i have found.please guide me how to slove that. manish@manish-Inspiron-1501:~/my-wow-adc$ arm-none-eabi-gdb obj/STM32F4_Test.elfGNU gdb (Sourcery CodeBench Lite 2013.05-23) 7.4.50.20120716-cvsCopyright © 2012 Free Software Foundation, Inc.License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>This is free software: you are free to change and redistribute it.There is NO WARRANTY, to the extent permitted by law. Type "show copying"and "show warranty" for details.This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-none-eabi".For bug reporting instructions, please see:<https://sourcery.mentor.com/GNUToolchain/>...Reading symbols from /home/manish/my-wow-adc/obj/STM32F4_Test.elf...done.(gdb) target extended-remote localhost:4242Remote debugging using localhost:42420x080077fc in Reset_Handler ()(gdb) monitor reset init(gdb) loadLoading section .isr_vector, size 0x188 lma 0x8000000Loading section .text, size 0x7e34 lma 0x8000188Loading section .ARM, size 0x8 lma 0x8007fbcLoading section .init_array, size 0x4 lma 0x8007fc4Loading section .fini_array, size 0x4 lma 0x8007fc8Loading section .data, size 0x5b0 lma 0x8007fccStart address 0x80077fc, load size 34172Transfer rate: 6 KB/sec, 4881 bytes/write.(gdb) b mainBreakpoint 1 at 0x80073f2: file src/main_temp.c, line 4.(gdb) cContinuing.Note: automatically using hardware breakpoints for read-only addresses. then program halts I am not getting why Note: automatically using hardware breakpoints for read-only addresses. above line prints and how to caime from that. manish9161 1 Quote Link to post Share on other sites
ntfreak 0 Posted July 11, 2013 Share Posted July 11, 2013 http://forum.stellarisiti.com/index.php?/topic/309-ICDI-support-in-OpenOCD#entry3483 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.