Created
July 13, 2012 12:09
-
-
Save rogerz/3104570 to your computer and use it in GitHub Desktop.
ART development scripts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# J-LINK GDB SERVER initialization | |
# | |
# This connects to a GDB Server listening | |
# for commands on localhost at tcp port 2331 | |
target remote localhost:2331 | |
# Set JTAG speed to 30 kHz | |
# monitor speed 30 | |
# Set GDBServer to big endian | |
# monitor endian big | |
# Reset the chip to get to a known state. | |
monitor reset | |
# | |
# CPU core initialization (to be done by user) | |
# | |
# Set the processor mode | |
# Set auto JTAG speed | |
monitor speed auto | |
# Setup GDB FOR FASTER DOWNLOADS | |
# set remote memory-write-packet-size 1024 | |
# set remote memory-write-packet-size fixed | |
# Load the program executable called "image.elf" | |
# load image.elf | |
symbol rtthread-stm32f4xx.elf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
si 1 | |
r | |
h | |
speed 4800 | |
exec device = STM32F407VG | |
loadbin rtthread.bin 0x8000000 | |
r | |
g | |
qc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@set path=e:\develop\CodeSourcery\Sourcery G++ Lite\bin;D:\Program Files\SEGGER\JLinkARM_V450j;d:\Python25\Scripts;%PATH% | |
@set RTT_ROOT=e:\workspace\rt-thread | |
@set RTT_EXEC_PATH=e:\develop\CodeSourcery\Sourcery G++ Lite\bin | |
@set RTT_CC=gcc | |
@cmd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment