Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openocd_nrf52_patch
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sam Calisch
openocd_nrf52_patch
Commits
f4b9a2fc
Commit
f4b9a2fc
authored
14 years ago
by
Rodrigo L. Rosa
Committed by
Øyvind Harboe
14 years ago
Browse files
Options
Downloads
Patches
Plain Diff
flash speed improved
parent
ca76e4a4
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/target/dsp5680xx.c
+8
-0
8 additions, 0 deletions
src/target/dsp5680xx.c
with
8 additions
and
0 deletions
src/target/dsp5680xx.c
+
8
−
0
View file @
f4b9a2fc
...
@@ -1230,6 +1230,9 @@ int dsp5680xx_f_wr(struct target * target, uint8_t *buffer, uint32_t address, ui
...
@@ -1230,6 +1230,9 @@ int dsp5680xx_f_wr(struct target * target, uint8_t *buffer, uint32_t address, ui
// -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
// -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
// Setup registers needed by pgm_write_pflash
// Setup registers needed by pgm_write_pflash
// -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
// -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
context
.
flush
=
0
;
retval
=
eonce_move_long_to_r3
(
target
,
address
);
// Destination address to r3
retval
=
eonce_move_long_to_r3
(
target
,
address
);
// Destination address to r3
err_check_propagate
(
retval
);
err_check_propagate
(
retval
);
eonce_load_TX_RX_high_to_r0
(
target
);
// TX/RX reg address to r0
eonce_load_TX_RX_high_to_r0
(
target
);
// TX/RX reg address to r0
...
@@ -1256,6 +1259,11 @@ int dsp5680xx_f_wr(struct target * target, uint8_t *buffer, uint32_t address, ui
...
@@ -1256,6 +1259,11 @@ int dsp5680xx_f_wr(struct target * target, uint8_t *buffer, uint32_t address, ui
retval
=
ERROR_FAIL
;
retval
=
ERROR_FAIL
;
err_check
(
retval
,
"Cannot handle odd number of words."
);
err_check
(
retval
,
"Cannot handle odd number of words."
);
}
}
context
.
flush
=
1
;
retval
=
dsp5680xx_execute_queue
();
err_check_propagate
(
retval
);
uint32_t
drscan_data
;
uint32_t
drscan_data
;
retval
=
eonce_tx_upper_data
(
target
,
buff16
[
0
],
&
drscan_data
);
retval
=
eonce_tx_upper_data
(
target
,
buff16
[
0
],
&
drscan_data
);
err_check_propagate
(
retval
);
err_check_propagate
(
retval
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment