Hello,
My SDK version is 2.6.5(2022-3-10).
I modify the data in g_buffer(/* Set the buffer */
for (i = 0; i < PAGE_SIZE; i++)
{
g_buffer[i] = i;
}),
print the data in the flash(val = (uint8_t *)(FSL_FEATURE_SPIFI_START_ADDR + i);
PRINTF(" %d %d ", i, *val);) ,
download the program to the target board and open the serial terminal,the data read print is different from the data written.
So,i restore the original program,it also can not print the data .
Hello @paidaxing,
Just to confirm, which version of the SDK are you using?
Could you please clarify what do you mean with "can't read out stably"? Does the example without modifications work properly? Is it possible for you to capture the data transmission with a logic analyzer/oscilloscope?
Could you please help us with more details about the main modifications you have done to the base project? How are you modifying the source buffer?
Regards,
Eduardo.
Hello,
My SDK version is 2.6.5(2022-3-10).
I modify the data in g_buffer(/* Set the buffer */
for (i = 0; i < PAGE_SIZE; i++)
{
g_buffer[i] = i;
}),
print the data in the flash(val = (uint8_t *)(FSL_FEATURE_SPIFI_START_ADDR + i);
PRINTF(" %d %d ", i, *val);) ,
download the program to the target board and open the serial terminal,the data read print is different from the data written.
So,i restore the original program,it also can not print the data .