Hi
I am Using J-link edu & GDB Server to debug my SW from command line.
I use the command line with Code sourcery GDB "arm-stellaris-eabi-gdb"
"
E:\....\test programming using GDB>arm-stellaris-eabi-gdb Monnit2BuzzerTesting
GNU gdb (Sourcery G++ 4.4-104) 6.8.50.20090630-cvs
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <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-mingw32 --target=arm-stellaris-eabi".
For bug reporting instructions, please see:
<support.codesourcery.com/GNUToolchain/>...
(gdb) target remote localhost:2331
Remote debugging using localhost:2331
0x00000000 in ?? ()
(gdb) monitor interface SWD
Select SWD as target interface
(gdb) monitor flash download=1
Flash download enabled
(gdb) load
Loading section .text, size 0x15b0 lma 0x1000
Loading section .rodata, size 0x180 lma 0x25b0
Loading section .data, size 0x128 lma 0x2730
Start address 0x10f0, load size 6232
Transfer rate: 154 bytes/sec, 2077 bytes/write.
(gdb) q"
But it seams that the program is not written to the Flash ,
Also I used "monitor Flash device = LM3S6938" and "monitor flash breakpoint=1" before load but I have the same results?
Is there anything missing?
Regards
Hossam Alzomor
I am Using J-link edu & GDB Server to debug my SW from command line.
I use the command line with Code sourcery GDB "arm-stellaris-eabi-gdb"
"
E:\....\test programming using GDB>arm-stellaris-eabi-gdb Monnit2BuzzerTesting
GNU gdb (Sourcery G++ 4.4-104) 6.8.50.20090630-cvs
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <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-mingw32 --target=arm-stellaris-eabi".
For bug reporting instructions, please see:
<support.codesourcery.com/GNUToolchain/>...
(gdb) target remote localhost:2331
Remote debugging using localhost:2331
0x00000000 in ?? ()
(gdb) monitor interface SWD
Select SWD as target interface
(gdb) monitor flash download=1
Flash download enabled
(gdb) load
Loading section .text, size 0x15b0 lma 0x1000
Loading section .rodata, size 0x180 lma 0x25b0
Loading section .data, size 0x128 lma 0x2730
Start address 0x10f0, load size 6232
Transfer rate: 154 bytes/sec, 2077 bytes/write.
(gdb) q"
But it seams that the program is not written to the Flash ,
Also I used "monitor Flash device = LM3S6938" and "monitor flash breakpoint=1" before load but I have the same results?
Is there anything missing?
Regards
Hossam Alzomor