MMC tools

SIMATIC S7-200/300/400, Step7, PCS7, CFC, SFC, PDM, PLCSIM,
SCL, Graph, SPS-VISU S5/S7, IBHsoftec, LOGO ...
MMCist

MMC tools

Post by MMCist »

See http://www.sps-forum.de/phpBB2/viewtopi ... 6a66893842

Das Tool liegt im VB6 Quellcode vor.
(und zwar nur im VB6 Code, keine EXE und so)
Gängige Tools, die es im Netz gibt, können folgendes nicht:
Anzeigen des SPS Programms das auf der karte ist (FC, DB, usw.)
Die gelesene Karte als Simatic Memory File Speichern.(mit Einschränkung)

Download: http://rothenbacher.dyndns.org/download/hdd4.zip


------- Siemens S7 MMC eprom utils -----------
http://members.aon.at/uteetz/
http://personal.telefonica.terra.es/web/suwe

To make a image file of your S7 MMC card place the card in a standard MULTICARD READER (recognized by your Win32 System) and
start the S7imgRD.exe. Select the drive letter of the card from the combo box and hit start.
If your system ask to format the Card – cancel !do not format!
Give a image file name to the save file dialog. Compress the image file and mail it together with the S7imgWR.exe to any place you want or
just keep the image file for later eprom replication in case you do not have access to the project files.
To bring the image file back to a eprom works same way, use the S7imgWR.exe.
I have tested the S7imgRD and S7imgWR with 128kb and 512kb. If you experience any difficulties feel free to send me a bug report.

MMC Images for S7imgWR and WinHex
Russian http://s7detali.narod.ru/MMC/MMC.html

English https://translate.google.ru/translate?s ... edit-text=

2006
http://s7detali.narod.ru/MMC/s7imgrd1.zip
http://s7detali.narod.ru/MMC/s7imgwr1.zip
2014
http://s7detali.narod.ru/MMC/s7imgrd2.zip
http://s7detali.narod.ru/MMC/s7imgwr2.zip
Nuevo / new / neu S7imgRD V2.0 Dec 2014 win7
http://members.aon.at/uteetz/
CoMod
Site Admin
Posts: 4055
Joined: Thu Feb 16, 2006 3:25 pm
Location: Russia

Re: MMC tools

Post by CoMod »

http://www.plctalk.net/qanda/showthread.php?t=21591

S7 Mmc
--------------------------------------------------------------------------------
Hi every body,

last two weeks I was working on understanding what are S7-31x MMCs. In the end I collected following information:

64KB-4MB SIEMENS MMC cards are standard 16MB MMCs with special SIEMENS format. Datasheet at http://www.tischer.cz/HB28D032MM2-RENESAS.pdf.

8MB SIEMENS MMCs are the same but 32MB MMCs.

You can make bit copy of these MMCs by using tools at http://personal.telefonica.terra.es/web/suwe in standard MMC/SD card reader. By using this tools you also copy the special SIEMENS format.

But in case you would like to use non SIEMENS 16MB or 32MB MMC, you cant use it in S7 as every MMC has private CID and CSD register where are stored informacion as OEM/APPLICATION ID, PRODUCT NAME, .... . The example of SIEMENS 64KB MMC is at http://www.tischer.cz/64kb.txt. CID is OTP register and first 14 bytes of CSD are programed only by manufacturer. S7 checks and compares stored info. from CID and CSD.

If you have SIEMENS MMC accidentaly formated in standard MMC/SD card reader/writer (for example as FAT format) you can repair it in this standard MMC/SD reader/writer.
1. read original SIEMENS MMC by S7imgrd (the same size as failed card)
2. write this image to failed MMC by S7imgwr

When I was analyzing MMCs I also find out how is the password stored at the MMC.

If you have any question, email me at tischer@atlas.cz

-------- http://www.tischer.cz/64kb.txt ----------------
64kb
Show

Code: Select all

==============================================================================
00:   FFh 01h FFh FFh FFh FFh FFh FFh
00:   FFh FFh FFh FFh FFh FFh FFh FFh
00:   FFh FFh FFh FFh FFh FFh FFh FFh
00:   FFh FFh FFh FFh FFh FFh FFh FFh
01:   FFh 00h FFh FFh FFh FFh FFh FFh
01:   FFh FFh FFh FFh FFh FFh FFh FFh
01:   FFh FFh FFh FFh FFh FFh FFh FFh
01:   FFh FFh FFh FFh FFh FFh FFh FFh
CID:  FFh 00h FEh 06h 00h 02h 41h 06h
CID:  41h 00h 00h 00h 25h 1Dh B9h 0Bh
CID:  20h 38h 87h 8Eh 36h FFh FFh FFh
CID:  FFh FFh FFh FFh FFh FFh FFh FFh
CSD:  FFh 00h FEh 48h 0Eh 01h 2Ah 0Fh
CSD:  F9h 81h E9h F6h D9h 01h E1h 8Ah
CSD:  40h 00h 5Dh BEh 4Fh FFh FFh FFh
CSD:  FFh FFh FFh FFh FFh FFh FFh FFh
----------------------CID STRUCTURE (10)-----------------------
Manufacturer ID           MID         : 06h 
OEM/Application ID        OID         : 00h 02h 
Product name              PNM         : 41h 06h 41h 00h 00h 00h 
Produkt revision          PRV         : 25h 
Product serial number     PNM         : 1Dh B9h 0Bh 20h 
Manufacturing date        MDT         : 38h     (MM/YY=03/05)
7-bit CRC checksum        CRC7 [7:1]  :	43h     (43h)
16-bit CRC checksum       CRC7 [32:1] : 8E36h	(8E36h) 
----------------------CSD STRUCTURE (09)-----------------------
CSD structure             CSD_STR     : `01`
Spec versione             SPEC_VER    : `0010`
Reserved                  00          : `00`
Data read access time 1   TAAC        : 0x0E    (reserved1ms)
Data read access time 2   NSAC        : 0x01
Max. data transfer rate   TRAN_SPD    : 0x2A    (2.0x10 Mbit/s)
Card command classes      CCC         : 0x0FF
Max read data block len   R_BLK_LEN   : 0x9     (512 bytes)
Partial bl read allowed   R_BLK_PAR   : 1       (Enabled)
Write block misalignment  W_BLK_MIS   : 0       (Disabled)
Read block misalignment   R_BLK_MIS   : 0       (Disabled)
DSR implemented           DSR_IMP     : 0       (Disabled)
Reserved                  00          : `00`
Device Size               C_SIZE      : 0x7A7
Max. read current Vdd min VDD_R_C_MIN : 0x06    (60 mA)
Max. read current Vdd max VDD_R_C_MAX : 0x02    (10 mA)
Max. write I at Vdd min   VDD_W_C_MIN : 0x06    (60 mA)
Max. write I at Vdd max   VDD_W_C_MAX : 0x06    (80 mA)
Device size multiplyer    C_SIZE      : 0x04    (64)
Erase group size          ERA_GRP_SI  : 0x00    (00 sectors)
Erase group siz. multip.  ERA_GRP_MU  : 0x05    (128)
Write protect grp. size   WP_GRP_SI   : 0x00	(00 sectors))
Write protect grp. ena.   WP_GRP_E    : 1       (Enabled)
Manufacturer default ECC  DEFAULT_ECC : 0x0  
Write speed factor        R2W_FACTOR  : 0x0     (1x)
Max. wr  data block len   WR_BLK_LEN  : 0x9     (512 bytes)
Partial blk. wr allowed   WR_BLK_PAR  : 0       (Disable)
Reserved                  --          : 0x00    (0x00)
Content prot. app         CO_PRO_ALL  : x0       (Disable)
File format group         F_FORM_GRP  : x0       (RESERVED)
Copy flag (OTP)           COPY        : x0       (ORIGINAL)
Permanent write protect   PE_WR_PRO   : x0       (NOT PROTECTED)
Temporary write protect   TE_WR_PRO   : x0       (NOT PROTECTED)
File format               FILE_FMT    : x0x0     (Reserved)
ECC                       ECC         : x0x0     (2 bits)
7-bit CRC checksum        CRC7 [7:1]  : 0x2Eh   (2Eh)
Not used                  --          : 0x1
16-bit CRC checksum       CRC7 [32:1] : BE4Fh  	(BE4Fh) 

==============================================================================
MMCist

Re: MMC tools

Post by MMCist »

smsasg

Re: MMC tools

Post by smsasg »

Сравнительная информация служебных регистров различных карт:
What difference insidr MMC
http://s7detali.narod.ru/MMC/MMC_Card.pdf
Tischer

Re: MMC tools

Post by Tischer »

Please read the rest of the topic about MMC. There wrere mistake as S7imgrd dont do true bit copy of MMC needed for reparation S7 MMC. Only WinHex do it.

http://www.plctalk.net/qanda/showthread.php?t=21591

tischer@atlas.cz
os1361
Posts: 4
Joined: Sat Jan 24, 2015 8:41 pm

Re: MMC tools

Post by os1361 »

dear author
thank you very much for s7imgrd2
very very thank you
its very helpful for me
best regard
zohair_ssuet
Posts: 1
Joined: Wed Aug 01, 2012 6:05 pm

Re: MMC tools

Post by zohair_ssuet »

Dear All,

I have accidently format S7-1500 SMC Card in Windows7. This card has two hidden files "crdinfo.bin" and "__LOG__" previously which has its serial number information matched with the physical serial number labelled on it.

I had another machine 4MB same card and try to make and restore image at this card using s7rd.exe and s7wr.exe utility, but this faulty card remains not working on the s7-1500 CPU. CPU shows "No memory card plugged" that is CPU is not booting up this card. Although the card is reading in USB card reader, its FAT32.

I used WinHEX to check the contents of the working and faulty smc card of s7-1500, there are some more files which are not visible in My Computer. These are " FAT 1, FAT 2, Boot Sector" etc. which will not be overwrite to another faulty card if I I restore image in winhex of correct card. I can't understand this encryption. I saw the SMC serial number is also written in "crdinfo.bin" file. If I change this SMC number in crdinfo.bin as per faulty card (after copy and paste of two hidden files from working card to faulty card), then same problem, CPU 1500 didn't detect such faulty card.

http://www.google.com.pk/imgres?imgurl= ... BsQMygCMAI

Please help someone !!! (sos) (sos)
Info
Faq & Info
Faq & Info
Posts: 429
Joined: Wed Oct 05, 2005 9:00 am

Re: Accidently format S7-1500 SMC in windows

Post by Info »

(sfaq)
how-do-you-detect-an-inconsistently-or-incorrectly-formatted-simatic-memory-card-smc-and-how-do-you-repair-it
https://support.industry.siemens.com/cs ... w/69063974
Seshu Vardhan
Posts: 1
Joined: Sun May 16, 2010 11:41 am

Re: MMC tools

Post by Seshu Vardhan »

use image file of another mmc card and put into the formatted one :) :)
bacel sehsah
Posts: 3
Joined: Tue Jul 24, 2018 9:31 pm

MMC IMAGE FILE

Post by bacel sehsah »

i am searching for siemens mmc flash image with part no 6ES7953-8LF30-0AA0 that

with size 64kB (actual size 32MB) so please if anyone have it or could

make an image from his original card please reply. And thanks anyway

With Best Regards
bacel sehsah
Posts: 3
Joined: Tue Jul 24, 2018 9:31 pm

Re: MMC IMAGE FILE

Post by bacel sehsah »

hi
i got the mmc image file in a private message from 2 members , but i think the image was taken from non blank mmc card this means it contains invalid data for my CPU( 312c firmware V3.3 ) because i still have slow blinking of the STOP LED which mean i need to reset the MMC to factory setting .
so i went to SIEMENS web site for search ,i got these information
how to reset a SIMATIC MMC for the S7-300 CPU.

With S7-300 CPUs, the communication data of the local interface (protocol, baud rate and station address) is retained if no MMC or an MMC with invalid data* is slotted at startup. The CPU can still be reached via the previous communication data.
The communication data is changed only in the case of a default reset or when starting up with an MMC with valid data*.

It is only possible to reset the MMC if it contains data* that is invalid for the CPU. Otherwise the MMC is only initialized by the procedure described.

All the user data is deleted when you reset the SIMATIC Micro Memory Card (MMC). Proceed as follows.

1-The MMC is slotted in the bay of the CPU. The CPU requests an overall reset (slow blinking of the STOP LED).
2-Set the switch to "MRES" and hold it there until the STOP LED lights continuously (approx. 9 seconds).
3-Within the next 3 seconds, you must let the switch go and set it again to "MRES". The STOP LED now blinks during the delete procedure.

If the CPU continues to request an overall reset after the procedure described above, then the MMC is defective.

Note on firmware V3.2 and V3.3
With these firmware versions you cannot reset the MMC with the CPU. In this case you need either a Field PG or a USB prommer to reset the MMC. Information about this is available in Entry ID 13992345. This behavior will be cleared with the next version of the firmware.


* Invalid system data is, for example, data stored for a different type of CPU.
my question is about the firmware V 3.2 and V 3.3 because my CPU firmware is V3.3 ,the question is : can i format MMC with CPU with firmware version less than V3.2 or V3.3 ? i mean is formatting MMC with S7 300 CPUs was available before firmware V 3.2 or V 3.3?
bacel sehsah
Posts: 3
Joined: Tue Jul 24, 2018 9:31 pm

Re: MMC IMAGE FILE

Post by bacel sehsah »

i got an answer for my question thru searching SIEMENS website ,there is an update V3.3.12 for my cpu 312c (6ES7312-5BF04-0AB0) the update of operating system as follow state that "because a project which does not match the CPU is saved on the MMC, formatting of the MMC through switch operation now functions again".

Update V3.3.12 (6ES7 312-5BF04-0AB0)
The above CPU version contains no new functions.

Information on STEP7 dependencies and upward compatibility:
STEP7 V5.5 or higher is required for configuration of these CPUs. When using the TIA Portal, V12 or higher should be used, where possible.
iMap V3.0 SP1 or higher is required for the CBA configuration.
Configurations with earlier STEP7, iMap and TIA versions are compatible with later releases.

The firmware update V3.3.12 provides the following corrections:

After a CLR instruction, set and reset commands no longer sporadically result in the setting or resetting of bit operands.
When monitoring logic operations sequences with an “O” instruction (Or), RLO views no longer change.
Connection interruptions with online functions will no longer sporadically result in the defect with Z1=F012.
For acyclic data exchange with the SFBs 52 and 53 in case of a high communication load the defect status with Z1=E800 is no longer occasionally triggered, instead the temporary RetVal 80C3 is signaled at the SFC.
Time synchronization of the master no longer leads to isolated cases of defects with Z1= F012 or Z1=8392.
Following a memory reset request, for example, because a project which does not match the CPU is saved on the MMC, formatting of the MMC through switch operation now functions again as described in the manual.
Dfcz
Posts: 928
Joined: Tue Dec 26, 2006 5:21 am
Location: Russia

Re: MMC IMAGE FILE

Post by Dfcz »

(clap)
teamplayer
Posts: 5
Joined: Mon May 22, 2017 4:34 pm

Re: MMC tools

Post by teamplayer »

Hello!
Can anybody share s7img file for 512kB MMC:

6ES7953-8LJ30-0AA0

Many thanks!
Akmal
Posts: 18
Joined: Fri Sep 25, 2009 8:33 am
Location: Pakistan

Re: MMC tools

Post by Akmal »

navidentezari
Posts: 6
Joined: Sat Feb 04, 2012 7:45 pm

Re: MMC tools

Post by navidentezari »

Hello
Please help me.
I need S7 imsge file for 16MB MMC.
Can anybody share s7img file for 16MB MMC.
Thanks.
(sos)
CoMod
Site Admin
Posts: 4055
Joined: Thu Feb 16, 2006 3:25 pm
Location: Russia

Re: MMC tools

Post by CoMod »

navidentezari wrote: Mon Jun 17, 2019 3:07 pm Can anybody share s7img file for 16MB MMC.
show Order No. Micro Memory Card 16MB 6ES7953-8L??????
https://support.industry.siemens.com/cs ... t/82098000
navidentezari
Posts: 6
Joined: Sat Feb 04, 2012 7:45 pm

Re: MMC tools

Post by navidentezari »

I need S7 imsge file for 16MB MMC.
Can anybody share s7img file for Simotion 16MB MMC.
6AU1700-0AA01-0AA0
Simotion Boot Software Memory Module
Manufacturer(s): Siemens
Model(s) :Siemens SIMOTION
Simotion card
Show
Image
navidentezari
Posts: 6
Joined: Sat Feb 04, 2012 7:45 pm

Re: MMC tools

Post by navidentezari »

Hello
I have a SIMOTION MEMORY CARD 16MB for C230-2.
Order No: 6AU1700-0AA01-0AA0
That formatted with windows.
I need image file from Simotion MMC 16MB for write to This MMC with s7 img writer.
Someone can help me.
Thanks.
:|
KARAVATI
Posts: 4
Joined: Tue Jun 11, 2019 7:44 am

Re: MMC tools

Post by KARAVATI »

HELLO FRIENDS
HOW TO READ S7 IMG FILE IN TIAPORTAL .wld
AND DEFINE HARDWARE
I READ THIS FILE BUT NOT CONFIGURE HARDWARE.
THANKS
Last edited by KARAVATI on Sat Mar 06, 2021 11:43 am, edited 1 time in total.
mohdabshr
Posts: 180
Joined: Sat Jul 23, 2011 2:02 pm

Re: MMC tools

Post by mohdabshr »

Hi all

i have mmc card 64kb for s7 300 i make image but i can not find password i am using unlock_and_converter_mmc_image_s7 v6.01 i need you help
azhar_ali_429
Posts: 1
Joined: Mon Jun 21, 2021 1:31 pm

Re: MMC tools

Post by azhar_ali_429 »

Hello!
Can anybody share s7img file for 4 MB MMC?

6ES7953-8LM20-0AA0
Windoze
Posts: 17
Joined: Sat Aug 27, 2016 7:51 am

Re: MMC tools

Post by Windoze »

See http://www.sps-forum.de/phpBB2/viewtopi ... 6a66893842

Das Tool liegt im VB6 Quellcode vor.
(und zwar nur im VB6 Code, keine EXE und so)
Gängige Tools, die es im Netz gibt, können folgendes nicht:
Anzeigen des SPS Programms das auf der karte ist (FC, DB, usw.)
Die gelesene Karte als Simatic Memory File Speichern.(mit Einschränkung)

Download: http://rothenbacher.dyndns.org/download/hdd4.zip
Anyone got a Mirror for this Tool?
patxiu
Posts: 4
Joined: Tue Dec 23, 2014 8:46 am

Re: MMC tools

Post by patxiu »

I also need the image for s7img file for simotion 16MB MMC (6AU1700-0AA01-0AA0).
My machine has stopped and I think the SD is corrupt (only 5 folders are read but empty).
I already have my USER files, but not the KEYS and SIEMENS folders.
Thanks in advance,
gladiator
Posts: 23
Joined: Thu Dec 22, 2005 11:27 am
Location: Asia

Re: MMC tools

Post by gladiator »

Hi, I used s7imgrd2.01 to read an 8M MMC fom a regular reader, during reading blocks to img file, it found two passwords but when I open the MMC from Field PG slot, both passwords is incorrect when I try to copy blocks to wld file. Can you find the correct password for me? Thanks so much!

Please open the file below:
https://drive.google.com/file/d/1L9i2R8 ... sp=sharing
aziz
Posts: 1
Joined: Fri Dec 08, 2017 4:22 pm

Re: MMC tools

Post by aziz »

Hi
How did you find the password for the blocks, help me please!
fran72hk
Posts: 13
Joined: Sat Dec 14, 2013 11:00 am

Re: MMC tools

Post by fran72hk »

Hello everyone, please someone can share the image winhex or s7img of the card 6ES7953-8LG11-0AA0 of 128kb

Thanks
CoMod
Site Admin
Posts: 4055
Joined: Thu Feb 16, 2006 3:25 pm
Location: Russia

Re: MMC tools

Post by CoMod »

fran72hk wrote: Tue Jul 16, 2024 5:58 pm Hello everyone, please someone can share the image winhex or s7img of the card 6ES7953-8LG11-0AA0 of 128kb
https://s7detali.narod.ru/MMC/MMC.html
128 KB 6ES7953-8LG11-0AA0_MMC_128KB.ZIP real size 16 MB
Kubanez
Posts: 7
Joined: Tue Aug 23, 2022 11:45 am

Re: MMC tools

Post by Kubanez »

Hello everyone, please someone can share the image winhex or s7img of the card 6es7953-8lm31-0aa0 of 4mb

Thanks
georg_demmler
Posts: 99
Joined: Wed Nov 18, 2009 4:02 pm

Re: MMC IMAGE FILE

Post by georg_demmler »

Hello,

the post is very old - hope you get help

Thanks
Fernando_Meka
Posts: 1
Joined: Mon Sep 01, 2025 8:56 pm

Re: MMC IMAGE FILE

Post by Fernando_Meka »

i am searching for siemens mmc flash image with part no 6ES7953-8LF30-0AA0 that

with size 64kB (actual size 32MB) so please if anyone have it or could

make an image from his original card please reply. And thanks anyway

With Best Regards
Dfcz
Posts: 928
Joined: Tue Dec 26, 2006 5:21 am
Location: Russia

Re: MMC IMAGE FILE

Post by Dfcz »

Dfcz
Posts: 928
Joined: Tue Dec 26, 2006 5:21 am
Location: Russia

Re: MMC IMAGE FILE

Post by Dfcz »

gigi10
Posts: 45
Joined: Fri Aug 10, 2007 1:18 pm
Location: Europe

Re: MMC IMAGE FILE

Post by gigi10 »

Hello guys,
somebody have image of 6es7953-8lj31-0aa0 512kB MMC card?
Thanks

gigi10