I am using a ADSP-21469 Ez-Kit and I want to write an array of 16 chars into the serial flash. For this purpose I took the according code Examples.
The Problem is, that the function:
m25p16_Write( dac_vol_flash, FLASH_START_ADDR, 16 )
only writes the first element into the flash. If I use a for-loop it works just fine:
flash_error = m25p16_Write(dac_vol_flash + i,FLASH_START_ADDR + i, 0x1);
Am I doing something wrong, or is it a known issue? When I looked through the example code, I saw that the function in question is only used elementwise.
Thank you in advance.