/* Write to the user flash. 
Writes words to the 0.5k user flash area. Must be performed only when the system clock is 18Mhz. */
uint32_t flash_write(uint32_t *dest, uint32_t *src, uint8_t cnt)
/* Write to the user flash. 
Writes words to the 0.5k user flash area. Must be performed only when the system clock is 18Mhz. */
uint32_t flash_write(uint32_t *dest, uint32_t *src, uint8_t cnt)
{
	return iap_write_read(dest, src, cnt, 1);
}