JN5189

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
950件の閲覧回数
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 件の賞賛
返信
1 解決策
923件の閲覧回数
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 件の賞賛
返信
3 返答(返信)
938件の閲覧回数
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 件の賞賛
返信
924件の閲覧回数
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 件の賞賛
返信
922件の閲覧回数
paidaxing
Contributor III
Thank you for you replay,I change the SDK ,the problem has resloved.
0 件の賞賛
返信