mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +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:
parent
565eff7f00
commit
e396fbbc6c
@ -326,8 +326,8 @@ OOCD_CL+=-c "fast enable"
|
|||||||
OOCD_CL+=-c targets
|
OOCD_CL+=-c targets
|
||||||
# commands to prepare flash-write
|
# commands to prepare flash-write
|
||||||
OOCD_CL+= -c "reset halt"
|
OOCD_CL+= -c "reset halt"
|
||||||
# increase JTAG frequency a little bit - can be disabled for tests
|
# Try to enable rclk for adaptive speed, fallback to 1Mhz
|
||||||
#OOCD_CL+= -c "jtag_khz 1200"
|
# OOCD_CL+= -c "jtag_rclk 1000"
|
||||||
# flash-write and -verify
|
# flash-write and -verify
|
||||||
OOCD_CL+=-c "flash write_image erase $(OOCD_LOADFILE)" -c "verify_image $(OOCD_LOADFILE)"
|
OOCD_CL+=-c "flash write_image erase $(OOCD_LOADFILE)" -c "verify_image $(OOCD_LOADFILE)"
|
||||||
# reset target
|
# reset target
|
||||||
|
Loading…
Reference in New Issue
Block a user