/**
* 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
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.