cancel
Showing results for 
Search instead for 
Did you mean: 

how to use android ST25 app to change a large memory area (using Memory Fill and a source file)?

ASanc.5
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions
Olivier L
ST Employee

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

View solution in original post

5 REPLIES 5
Olivier L
ST Employee

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

ASanc.5
Associate II

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

Olivier L
ST Employee

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

ASanc.5
Associate II

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

Olivier L
ST Employee

Hi Alex,

ok good! You're welcome.

Best regards

Olivier