I tried the board.txt code and it doesn't work. I get a error
https://prnt.sc/nk1ah8 Output from debug output
=thread-group-added,id="i1"
GNU gdb (GNU Tools for ARM Embedded Processors) 7.6.0.20140228-cvs
Copyright (C) 2013 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-w64-mingw32 --target=arm-none-eabi".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
=cmd-param-changed,param="pagination",value="off"
The program '' has exited with code 42 (0x2a).
Output from micro build
Uploading 'Arduino_TX' to 'Generic STM32F103C series' using 'COM21'
Uploader started for board Generic STM32F103C series
Upload method will be: bootloader
Uploading via Bootloader
Resetting to bootloader via Serial
Serial reset
Reset via USB Serial completed
i-gcc\4.8.3-2014q1\bin\arm-none-eabi-gdb -cd "C:\Users\Natsuki\AppData\Local\Temp\VMBuilds\ARDUIN~2\ARDUIN~4\Debug" -b 230400 -ex "set debug remote 0" -ex "set target-async off" -ex "set remotetimeout 60" -ex "set mem inaccessible-by-default off" -ex "set confirm off" -ex "set height 0" -ex "target extended-remote \\.\COM21" -ex "monitor swdp_scan" -ex "attach 1" -ex "x/wx 0x8000004" -ex "monitor erase_mass" -ex "echo 0x8000004 expect 0xffffffff after erase\n" -ex "x/wx 0x8000004" -ex "file Arduino_TX.ino.elf" -ex "load" -ex "x/wx 0x08000004" -ex "tbreak main" -ex "run" -ex "echo \n\n\nUpload finished!" -ex "quit"
GNU gdb (GNU Tools for ARM Embedded Processors) 7.6.0.20140228-cvs
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
Target voltage: unknown
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-w64-mingw32 --target=arm-none-eabi".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Available Targets:
No. Att Driver
Remote debugging using \\.\COM21
1 STM32F1 medium density
Attaching to Remote target
0x080006a4 in ?? ()
0x8000004: 0x08001dfd
0x8000004 expect 0xffffffff after erase
0x8000004: 0xffffffff
Reading symbols from ino.elf...done.
Loading section .text, size 0x6d1c lma 0x8000000
Loading section .ARM.exidx, size 0x8 lma 0x8006d20
Loading section .data, size 0xd60 lma 0x8006d28
Loading section .rodata, size 0x664 lma 0x8007a88
Start address 0x8002068, load size 33000
Transfer rate: 18 KB/sec, 916 bytes/write.
0x8000004 <__stm32_vector_table+4>: 0x08002069
Temporary breakpoint 1 at 0x8004c5e: file \STM32F1\cores\maple\main.cpp, line 38.
Starting program: ino.elf
Note: automatically using hardware breakpoints for read-only addresses.
Temporary breakpoint 1, main ()
at \STM32F1\cores\maple\main.cpp:38
38 setup();
The upload process has finished.
# Copy build result to 'Project>Property Pages>Intermediate Directory'
# Destination: no_TX/Debug/
Upload finished!
# MI Debugger Properties
{
"serverLaunchTimeout": 5000,
"filterStdout": false,
"filterStderr": true,
"targetArchitecture": "ARM",
"stopAtEntry": false,
"externalConsole": false,
"MIMode": "gdb",
"MIDebuggerServerAddress": "",
"cwd": _genericSTM32F103C\\Debug",
"MIDebuggerPath": m-none-eabi-gcc\\4.8.3-2014q1/bin\\arm-none-eabi-gdb.exe",
"debugServerPath": "",
"debugServerArgs": "",
"program": STM32F103C/Debug/Arduino_TX.ino.elf",
"logging": {
"moduleLoad": true,
"trace": true,
"engineLogging": true,
"programOutput": true,
"exceptions": true,
"traceResponse": true
},
"setupCommands": [],
"visualizerFile": _genericSTM32F103C\\Debug\\debugger_tmp.natvis",
"showDisplayString": true
}