summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRodrigo L. Rosa <rodrigorosa.lg@gmail.com>2011-06-10 12:24:55 -0700
committerØyvind Harboe <oyvind.harboe@zylin.com>2011-06-12 11:18:27 +0200
commit47aa65b3e8499ab17bc0bff05c2eae27b39457a3 (patch)
treefaa7f9707568cd323567747a4daa1830fe3c88f7 /src
parentd343941386bfa274cd64f8f384fc51a695f9f626 (diff)
downloadopenocd+libswd-47aa65b3e8499ab17bc0bff05c2eae27b39457a3.tar.gz
openocd+libswd-47aa65b3e8499ab17bc0bff05c2eae27b39457a3.tar.bz2
openocd+libswd-47aa65b3e8499ab17bc0bff05c2eae27b39457a3.tar.xz
openocd+libswd-47aa65b3e8499ab17bc0bff05c2eae27b39457a3.zip
doxy more
Diffstat (limited to 'src')
-rw-r--r--src/target/dsp5680xx.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/target/dsp5680xx.h b/src/target/dsp5680xx.h
index a5747240..3fbe90ec 100644
--- a/src/target/dsp5680xx.h
+++ b/src/target/dsp5680xx.h
@@ -226,10 +226,11 @@ static inline struct dsp5680xx_common *target_to_dsp5680xx(struct target *target
/**
* Writes to flash memory.
* Does not check if flash is erased, it's up to the user to erase the flash before running this function.
+ * The flashing algorithm runs from RAM, reading from a register to which this function writes to. The algorithm is open loop, there is no control to verify that the FM read the register before writing the next data. A closed loop approach was much slower, and the current implementation does not fail, and if it did the crc check would detect it, allowing to flash again.
*
* @param target
* @param buffer
- * @param address
+ * @param address Word addressing.
* @param count In bytes.
*
* @return
@@ -259,7 +260,7 @@ int dsp5680xx_f_erase_check(struct target * target,uint8_t * erased, uint32_t se
int dsp5680xx_f_erase(struct target * target, int first, int last);
/**
- * Reads the memory mapped protection register.
+ * Reads the memory mapped protection register. A 1 implies the sector is protected, a 0 implies the sector is not protected.
*
* @param target
* @param protected Data read from the protection register.