2022-04-18 05:56 PM
Hi - would like to use android ST25 app to change a large memory area (using Memory Fill and a source file) on a ST25DV04 transponsder and so I don't have to change byte by byte. How do I go about doing that and what file format is used for this? Also would like to offload a large memory area (using memory dump) to a file and would like to know how to do that, and what can I use to read the file contents?
thanks
Alex
Solved! Go to Solution.
2022-04-24 10:28 PM
Hi Alex,
Do you mean that the "Fill memory from file" feature is not working on your side? From what I understand , it should be able to do what you want. No special format is used: This is raw binary data that you will put wherever you want in tag's memory. For example put it in Download directory of phone's internal memory. No need to include it in app's folder used by Android Studio.
Here is a simple way to use it:
First use the "Dump memory to file" feature. It will create a "data.bin" file in phone's internal memory.
Modify the binary file if you wish (for example with an hex editor on PC).
Then tap another tag and use "Fill memory from file" to write the data to this tag.
BTW what kind of tag are you using?
Regards
Olivier
2022-04-18 11:35 PM
Hi Alex,
In ST25 NFC Tap, you can go to "Memory" tab and then click on "Fill memory from file". You can then select the binary file (previously loaded in phone's memory) and it will be loaded at the offset you want.
You might be also interested by the cloning feature which allows to clone the NDEF content of one tag to an other. Go to "NDEF" tab and then click in the top right corner, on the icon with 2 rectangles. If will proprose to clone the content of the current tag.
A side comment: It works even if the targette tag is of a different type (as long as the NDEF fits in its memory).
Regards
Olivier
2022-04-20 03:37 PM
Hi Oliver - thanks for the quick reply. So, per my previous question, it does not seem like I can create or modify a file of my own to load memory with contents of my own, and then call that file whatever.bin to then use with the "fill memory from file" feature of the app, correct? Or is there a way to do that? Is the .bin file currently in the app's folder a text file with a .bin extension, or is a file created/compiled by ST with a unique format for demo purposes?
thanks
Alex
2022-04-24 10:28 PM
Hi Alex,
Do you mean that the "Fill memory from file" feature is not working on your side? From what I understand , it should be able to do what you want. No special format is used: This is raw binary data that you will put wherever you want in tag's memory. For example put it in Download directory of phone's internal memory. No need to include it in app's folder used by Android Studio.
Here is a simple way to use it:
First use the "Dump memory to file" feature. It will create a "data.bin" file in phone's internal memory.
Modify the binary file if you wish (for example with an hex editor on PC).
Then tap another tag and use "Fill memory from file" to write the data to this tag.
BTW what kind of tag are you using?
Regards
Olivier
2022-04-25 06:30 PM
HI Olivier - I think you've just provided the answer to my intitial question. I did not know how to edit the .bin file with any data of my own, but per your comments, I can use a hex editor to do, and then just use that file on the tag using "fill memory from file" from the phone.
thanks for the feedback.
Alex
2022-04-26 01:39 AM
Hi Alex,
ok good! You're welcome.
Best regards
Olivier