Switch to full style
CompactFlash, SD, MMC, USB flash storage. Anything that does not have moving parts inside.
Post a reply

Cloning MMC issue!

October 25th, 2013, 16:17

Hello everybody!
I introduce myself, my name is Alessandro and i'm from Italy;
I'm looking for a little help to be able cloning a "special" Mmc multimedia card,
It is a simple mmc 128mb plus by Trascend, the problem is that this card is formatted in a proprietary (built in) file system,
It work exclusively for record data from a cash register... if i plug the memory on a simple laptop or pc is not readable by any O.S. (tried on Ms windows, Ubuntu, IOs and even android), it's visible as local disk but with unknown file system, i tried using a lot of software like clonezilla, gparted, acronis ecc..., HDD Raw Copy recognize the disk but if i select the target and click on "continue" don't start the operation and return on the initial screen without the disk (mmc) on the list.
Someone can help me, it's very important for me do this work.

Saluti. :)

Re: Cloning MMC issue!

October 26th, 2013, 7:51

did you try dd in linux?

Re: Cloning MMC issue!

October 26th, 2013, 9:17

Yes, i tried, dd can't read the drive, i also tried ddrescue but the result is the same, it seems that this mmc is unreadable and if unclonable from any known system except it's own closed system. Maybe it's time to think about a "hardware copy" solution? Or Maybe the problem is the standard usb card reader that I use for this work and I need a different kind of reader?

Re: Cloning MMC issue!

October 26th, 2013, 16:59

To clone a drive, card or other it's not important to read the file system.
Clone the card in Winhex to another card...should be no problem.
But if you need (will) read whats inside...thats another problem. :D

Re: Cloning MMC issue!

October 26th, 2013, 18:15

Can you view the contents of the card with a hex editor?

If so, could we see sector 0?

Re: Cloning MMC issue!

October 27th, 2013, 3:58

I'm not interested to read data inside the mmc, I just need a copy to use in other machines... WinHex can't read content of this drive, when i open Winex "open disk" it takes a long time to recognize the list of disks, after this i choose the mmc drive arleady takes a long long time (Meanwhile, I can see the green light on the card reader that flashes repeatedly, I think the reader try to read without success), after one hour of flashes without changes I unplug the reader from usb port and finally winhex is released with this messages:
Image

Does anyone have some idea?? :?:

Re: Cloning MMC issue!

October 27th, 2013, 9:46

Does this card actually work?

Doesn't look like it :-(

Re: Cloning MMC issue!

October 27th, 2013, 9:55

Yes it's working perfectly inside the cash register, this is very strange! i've a lot of these mmc all equal

Re: Cloning MMC issue!

October 27th, 2013, 13:50

Is the card password protected?

Google finds a CMD42 Lock/Unlock command ...

Re: Cloning MMC issue!

October 27th, 2013, 14:45

I don't know if there is a password, this CMD42 command is interesting, I've to learn how can be transmit on the mmc card!
Anyway it's not important for me read the content of this mmc, my target is to make a copy.

Re: Cloning MMC issue!

October 27th, 2013, 15:12

z4lumroF wrote:I don't know if there is a password, this CMD42 command is interesting, I've to learn how can be transmit on the mmc card!
Anyway it's not important for me read the content of this mmc, my target is to make a copy.

You can't make a copy if you can't read the content.

Re: Cloning MMC issue!

October 27th, 2013, 15:38

Yes this is true, now I'm very determined to solve this puzzle but I'm in stalemate... If there is a password and if there is a command to reset the password, how I can send this command to the mmc? On google i understand that action must be taken electronically from an EEPROM /datasheet or something like that?
there is nothing I can do from pc?
Anyway thanks for the help. :)

Re: Cloning MMC issue!

October 27th, 2013, 16:01

I don't know whether you can issue a CMD42 via a USB bridge (assuming that is what you have), but the following specification discusses password protection:

https://www.sdcard.org/downloads/pls/si ... t1_410.pdf

That said, you would need to crack the password, so that's something else altogether.

Re: Cloning MMC issue!

October 27th, 2013, 18:33

so I've to build a mmc programmer!

Re: Cloning MMC issue!

October 27th, 2013, 19:05

You probably want to clone or use another generic mmc as DGFE.
FORGET IT.
Also bear in mind that is not a good idea to tamper with fiscal data / ecr, especially on active equipment , in Italy. Understood?

Re: Cloning MMC issue!

October 27th, 2013, 20:25

fzabkar wrote:I don't know whether you can issue a CMD42 via a USB bridge (assuming that is what you have), but the following specification discusses password protection:

https://www.sdcard.org/downloads/pls/si ... t1_410.pdf

That said, you would need to crack the password, so that's something else altogether.


nice doc, thanks.

that is for SD though. MMC are different, though compatible with SD Slots. Some MMC have a type of DRM though Ive only ever seen 1 and it was in a GPS/Radio unit for a yacht. the owner had me fixing the laptop, and wanted to get the GPS working. We struggled with it and I remember the card was around $600 to replace because of the maps on it or some BS.

These cards are MMCplus and the part about the initialisation protocol is interesting...

Wikipedia wrote:"MMCplus and MMCmobile :The version 4.x of the MMC standard, introduced in 2005, brought in two very significant changes to compete against SD cards: support for running at higher speeds (26 MHz and 52 MHz) than the original MMC (20 MHz) or SD (25 MHz, 50 MHz) and a four- or eight-bit-wide data bus.

Version 4.x full-size cards and reduced-size cards can be marketed as MMCplus and MMCmobile respectively.

Version 4.x cards are fully backward compatible with existing readers but require updated hardware/software to use their new capabilities; even though the four-bit-wide bus and high-speed modes of operation are deliberately electrically compatible with SD, the initialization protocol is different, so firmware/software updates are required to support these features in an SD reader.


Also the controller doesn't need to be a standard card reader, MMC supports embedded controllers so the register could be doing its own funky stuff.

Re: Cloning MMC issue!

October 28th, 2013, 1:24

There is something else more in this case. The mmc is used to store the same data printed on the receipt out of the ecr instead of using paper, the funky stuff starts when priming the mmc and then at each use. This system this way, plus another add only fiscal data memory exist only in Italy so far. Probably the idea WAS to use common mmcs instead of the expensive custom mmcs. Or something else...
If it was so simple you could alter fiscal data like daily revenue , except for the internal unamovable and sealed add on fiscal memory.
Final note : ecr machines in Italy are sealed and every intervention
OR the subsequent return to service are to be recorded on an official log book bound to the machine and carried out by only authorized service personnel who have a personal unique seal , assigned by government . They have to extract data by request of the law enforcement authorities / tax agency and if there.are discrepancies the consequences are really bad , for the shopkeeper first. It is also strictly prohibited to modify in any way the characteristics or working mode of the ecr. If , just in case, data comes in but not out of the mmc during a random verification by authority, it will be a bad day.
The ecr will stop working if the mmc called DGFE becomes unresponsive or fails, internal failure recovery systems are implemented , though.
Many manufacturers sell mmc that can work as DGFE , the difference is that they are compliant to certain specifications, more or less like common smart card chips for use on certain applications.
Guess how I know all this and hence the warning also to who is trying to help...

Re: Cloning MMC issue!

October 28th, 2013, 2:59

Dear BlackST,
Last Time I checked, there are no legal issues to use a DGFE different from that selled by manufactuter,
Here we are no talking about modify characteristic or working mode of the ecr, we are just trying to save money in this times of economic crisis,said this if you want I can list you a lot of private companies that sell compatible DGFE for all cash registers brands, legally and with bill.

Thats all, if you want we can close the entire discussion here.
Best Regards

Re: Cloning MMC issue!

October 28th, 2013, 3:54

z4lumroF wrote:Dear BlackST,
Last Time I checked, there are no legal issues to use a DGFE different from that selled by manufactuter,
Here we are no talking about modify characteristic or working mode of the ecr, we are just trying to save money in this times of economic crisis,said this if you want I can list you a lot of private companies that sell compatible DGFE for all cash registers brands, legally and with bill.

Thats all, if you want we can close the entire discussion here.
Best Regards


COMPATIBLE AND COMPLIANT is not FORGED, in fact. You don't have to send me anything as I worked in the field first hand, now limiting only to service engineering (thank God...) 8)

Re: Cloning MMC issue!

October 28th, 2013, 19:06

thank you BlackST for the background info. I don't think the OP will save alot of money by making own MMC's as opposed to buying from on of the private companies selling compatible cards, but more than likely waste precious time on the pursuit.

Maybe a fun challenge, but really not very realistic on results/time ratio
Post a reply