iceman1001 / proxmark3

[Deprecated] Iceman Fork, the most totally wicked fork around if you are into proxmark3
http://www.icedev.se/pm3.aspx
GNU General Public License v2.0
463 stars 116 forks source link

Flash memory with rdv4 #265

Closed vdwel closed 5 years ago

vdwel commented 5 years ago

When I load data in the flash memory, for example a binary file containing 4 bytes on offset 0: 00 00 00 00 And then load 4 bytes containing: AA BB CC DD The memory keeps at: 00 00 00 00

Further observation has made me come to the conclusion that data written to the flash memory can only change bits from 1 to 0, but not back to 1. So wiping the memory first and then loading the data, does work.

Since I am writing a standalone application for the pm3 rdv4, which I would like to build in such a way that it can remember data (UID's). This is rather inconvenient. I did look at the flash memory code, but couldn't find a fix for this.

Some help would be appreciated.

iceman1001 commented 5 years ago

First of all I would say you are in the wrong repo. The dedicated repo for RDV4: https://github.com/RfidResearchGroup/proxmark3

Secondly, flashmem isn't like ram. Read this issue to understand better: https://github.com/RfidResearchGroup/proxmark3/issues/34

vdwel commented 5 years ago

Thanks!! I'll dive into those.

vdwel commented 5 years ago

Exactly what I was experiencing. :-) Thanks for pointing out the links.