Other Parts Discussed in Thread: UNIFLASH
Hello everyone...
I am using the oad_offchip project. In a new task I try to use osal_snv_read but it never fails.
uint8_t status = SUCCESS; uint8_t temp_value[10]; status = osal_snv_read(0x80, 10, (uint8_t*)temp_value); if(status != SUCCESS) { // never reach here memcpy( temp_value, myConst, 10); status = osal_snv_write(0x80, 10, (uint8_t *)temp_value); } SimpleProfile_SetParameter(5, 10, temp_value); // here temp_value has random value.
I already erase all flash with Uniflash, it seems 0x80 ID SNV always is initialized.
Can anyone help me?
Best regards.