1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00

Added a line that should enable adaptive clocking over the JTAG and fall back to 1Mhz otherwise. Got this from the documentation, left it commented out as the current USB JTAG does not support rclk (return clock) and I have not tested this.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@77 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
dankers 2009-12-18 19:59:36 +00:00 committed by dankers
parent 565eff7f00
commit e396fbbc6c

View File

@ -326,8 +326,8 @@ OOCD_CL+=-c "fast enable"
OOCD_CL+=-c targets
# commands to prepare flash-write
OOCD_CL+= -c "reset halt"
# increase JTAG frequency a little bit - can be disabled for tests
#OOCD_CL+= -c "jtag_khz 1200"
# Try to enable rclk for adaptive speed, fallback to 1Mhz
# OOCD_CL+= -c "jtag_rclk 1000"
# flash-write and -verify
OOCD_CL+=-c "flash write_image erase $(OOCD_LOADFILE)" -c "verify_image $(OOCD_LOADFILE)"
# reset target