Gemalto is now part of the Thales Group, find out more.

You are here

How to load files into the module?

FAQ, March 4, 2014 - 4:27pm, 9463 views

Use the modules flash file system from a Windows PC

FAQ

How to load files into the module?

After installation of the so called Module Exchange Suite (MES) a Windows Explorer Plugin is available and via the grafical interface of the Windows PC the flash file system (FFS) can be accessed. As drag&drop is not suitable for industrial automation e.g. in the end of line of an production command line tools are available.The executable files are under ...\Program Files\Cinterion\Module Exchange Suite
  • MESClose.exe    -- release the comport
  • MESCopy.exe     -- copy a file
  • MESDel.exe        -- delete a file
  • MESDir.exe         -- list a directory 
  • MESFormat.exe  -- format
  • MESMkdir.exe     -- make a directory
  • MESPort.exe       -- set the comport of the PC connected to the module
  • MESRmdir.exe    -- remove directory
  • MESXCopy.exe   -- copy several files
  • MFSInit.exe         -- copy a complete file structure
 The other files in the directory are not for direct useA detailed help is displayed by execute the command in a DOS shell without arguments. I want to highlight MFSInit as this executable can run stand alone on a PC w/o installing the MES. Just copy and paste.It can be executed several times in parallel, so that one PC can update more than one module at the same time.This speeds up the factory process.
1 - 10 of 11 Comments

Pages

Alopez's picture
Alopez

Hi,

Any way to download/copy/delete files of the module FFS under Linux?

Regards

Alopez

Somewhere over the rainbow!!! Looking for the Oz Land!!!

howhow.chen's picture
howhow.chen

Hi, I think currently the Java CD is NOT available for Linux, the ONLY way is to write client application to transfer data to module under Linux. Regarding this:
1. copy file from Linux to module need additional app, you can refer to the "glinswup" source code
2. delete file I think it can be achieved by AT

Be the best or become to rest

Jędrzej Gemalto Moderator's picture
Jędrzej Gemalto...

Hi,
you can manage files on the FFS over AT command interface. AT^SJDL command provides the possibility to download or remove a file, whilst with AT^SFSA you can perform complex operations on FFS, including files and directories creation, reading, writing, removing and listing files.

For details please check the AT command reference in our knowledge base
http://developer.gemalto.com/documentation/cinterion%C2%AE-concept-board...

howhow.chen's picture
howhow.chen

I agree, meanwhile, current implementation will show our module file system mounted as disk "a:/" and it will confuse Linux user I think

Be the best or become to rest

Alopez's picture
Alopez

Hi,

The FFS can be handle under Linux with the OBEX file transmission protocol also. Some open source implementation can be found under internet. I will share my findings and tests

Regards

Alopez

Somewhere over the rainbow!!! Looking for the Oz Land!!!

Markus's picture
Markus

There is no official Gemalto tool to do so, but as the protocol is based on OBEX and ObexFTP there are some tools available, shared over the internet.
e.g. http://www.javacint.com/JObexFTP

....
I started out with nothing... I still have most of it.

pyth0n's picture
pyth0n

I'm currently using JObexFTP library to put my program onto the chip, it performs OK.

kartom's picture
kartom

How do i get the MES then?

Alopez's picture
Alopez

Hi,

The MES is included in the SDK installation of the module.
The MES will be installed like part of the SDK installation.

Regards

Alopez

Somewhere over the rainbow!!! Looking for the Oz Land!!!

gerrithuebbers's picture
gerrithuebbers

I came into the situation that even though I had deleted a file, it magically reappeared at the moment that Connector.open("file:///a:/somefile.txt") was called.

To completely delete a file from the device (e.g. by using MESdel.exe), make sure to also turn off the device after deletion.

1 - 10 of 11 Comments

Pages

Markus