From: Rodrigo L. Rosa Date: Fri, 10 Jun 2011 19:24:55 +0000 (-0700) Subject: doxy more X-Git-Tag: v0.5.0-rc1~24 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=47aa65b3e8499ab17bc0bff05c2eae27b39457a3;p=openocd doxy more --- 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.