JN5189

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
949 Views
paidaxing
Contributor III
Hello, my question:When i use the jn5189dk6_spi_polling_transfer in SDK example,i change the data I change the written data, it can't read out stably.
0 Kudos
Reply
1 Solution
922 Views
paidaxing
Contributor III

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 .

 

 

View solution in original post

0 Kudos
Reply
3 Replies
937 Views
EduardoZamora
NXP TechSupport
NXP TechSupport

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.

0 Kudos
Reply
923 Views
paidaxing
Contributor III

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 .

 

 

0 Kudos
Reply
921 Views
paidaxing
Contributor III
Thank you for you replay,I change the SDK ,the problem has resloved.
0 Kudos
Reply