2024-07-08 01:11 AM
Hi,
we have drive the st25dv64,it work fine,but when we use it transfer otafile to mcu use the st ftm protocol, it transefer ok in app,but we found that the FTM_FlushToFlash just call once in one segment(just write 512bytes in one segment transfer with 4951 bytes).
could you help on it.
the log is attached
2024-07-10 04:49 AM
Hello testtest,
some few first comments.
At first sight in your traces, your driver receives indeed all packets (~248 bytes each) and tries to flush the completed segment (4951bytes) in flash, but only the first packet is processed.
The FTM driver you are currently using seems a bit old. A new version embedding bug fixes and easing the porting in an application has been introduced in the newest version of ST25DV002 package (https://www.st.com/en/embedded-software/stsw-st25dv002.html). Could you please try this newest version and provide the related traces.
Could you please provide the callback being used by your driver when a new Segment is received ?
Could you please specify on which board you are running the test ? Is it and DV-Disco or your own board ?
In your message it is not clear which device (ST25DV04K, DV16K, DV04KC, DV16KC, ...), you are currently using, could you please provide the ICRef of the tag ?
BR,
Cedric