what all store in to mem…

19 thoughts on “what all store in to mem…

  1. Hi. 

    My last question is where I can find information what all Ge865-quad store in to internall memory. Or how to use internall free memory (used with PYTHON) to store my own information. is it possible???

     

    regards 

    1. The command AT#LSCRIPT will give you memory usage, and file objects can be used in Python to read/write files.

      However (From Easy Script in Python doc):

      NOTE:
      It is highly recommended not to use the module as a data logger since all flash

      memories have limited number of writing and deleting cycles.

       
      For settings files or such limited usage should be fine, for high volume data storage an external memory will be better (SD card, I2C, SPI memory  or similar).

       

       

      1. OK. 

        I want use internal flash memory only if need upgrade firmware in my own MCU or make 

        special function.  I know so this memory is flash and not good to use as logger. I use for this internal EEPROM.

         

        but what all  GE865-quad store in to internal memory NVM (setting)

        is use AT command  AT&W?

         

        regards. 

        1. You cannot use other internal memory than Python makes available; for small settings values you can use for example SMS or phonebook storage. AT&W deals with device factory and user profiles, which are pre-defineds items.

          1. I know but if use this :

            AT+CGDCONT=1,"IP","internet","0.0.0.0",0,0

            or AT#USERID=""

            and switch off the module and switch on again and try direct AT#GPRS=1

            then I connect in to GPRS and all work. where is this stored???

             

             

             

          2. These information are described in AT Commands Reference Guide in 3.3 Storage. For example +CGDCONT is in the list of:

             

            The values set by following commands are automatically stored in NVM, without issuing
            any storing command and independently from the profile (unique values), and are
            automatically restored at startup: 

             

             I suggest to do some readings for basic questions, there is no need to reproduce the whole documentation in forum Smile

  2. Sevc, search and read file methods in Python. I am using them to store files in internal Flash-memory. Memory endurance is 100000 cycles as usual flash memory. Taking in mind file system specific parameters (file tables, sector writing, etc.) the real endurance is even bigger.

     

    Sorry, Cosmin, but flash memory sticks have same endurance, but people use them as storage device.

    BTW, several questions:

     

    1. I2C related AT-commands work perfect, but SPI python commands – poor. Do you have hardware I2C in GE865-QUAD. 

     

    2. FTP upload speed in my application is arround 300 bytes/sec. Is it possible to increase speed?

     

    3. Finally, I have samples of GL865-DUAL. Is this module available in serial production. We have a customer that wants 865-DUAL instead of 865-QUAD.  

    1.  

      1. I2C related AT-commands work perfect, but SPI python commands – poor. Do you have hardware I2C in GE865-QUAD. 

       

      2. FTP upload speed in my application is arround 300 bytes/sec. Is it possible to increase speed?

       

      3. Finally, I have samples of GL865-DUAL. Is this module available in serial production. We have a customer that wants 865-DUAL instead of 865-QUAD.  

      Indeed Nikolay, memory wear can allow a lot of time, however the notice is there. The Python file/memory usage is a very complicated procedure, with not very much predictability, and deals with internal memory – a failure will render all the system inoperable. In my opinion an external memory is easier to use (well no file operations but a custom raw procedure can be put in place, Telit has a SD card library in raw mode), is changeable so can be replaced in the field and data managed in the lab.

       

      1. Python SPI and I2C are bit-banging, and with the low Python priority the speed is not fantastic 0-10-20KHz, see the limitation in Easy Script in Python doc.  However is usable in most of the cases, see for example this demo.

       

      2. Looks slow, is this the same with other networks and servers?

       

      3. Better ask to your distributor, local market availability is more important.

       

      1. Indeed Nikolay, memory wear can allow a lot of time, however the notice is there. The Python file/memory usage is a very complicated procedure, with not very much predictability, and deals with internal memory – a failure will render all the system inoperable. In my opinion an external memory is easier to use (well no file operations but a custom raw procedure can be put in place, Telit has a SD card library in raw mode), is changeable so can be replaced in the field and data managed in the lab.

         

        1. Python SPI and I2C are bit-banging, and with the low Python priority the speed is not fantastic 0-10-20KHz, see the limitation in Easy Script in Python doc.  However is usable in most of the cases, see for example this demo.

         

        2. Looks slow, is this the same with other networks and servers?

         

        3. Better ask to your distributor, local market availability is more important.

         

        Could you provide more details about file system and SD card library?.

  3. Nikolay

    I’m test Python on some Telit module but>

    realy don’t work good.

    I write all application but :

    1. very long time to upload scrypt to module

    2. if create scrypt and run in debugger work but if run on module don’t work

    3. internal scrypt initerpret work very slow

    4. don’t have interupt function (can use for fast respond)

     

    my idea is so internal python scrypt is not good idea.

    I use ATmega MCU 

    1. Nikolay

      I’m test Python on some Telit module but>

      realy don’t work good.

      I write all application but :

      1. very long time to upload scrypt to module

      2. if create scrypt and run in debugger work but if run on module don’t work

      3. internal scrypt initerpret work very slow

      4. don’t have interupt function (can use for fast respond)

       

      my idea is so internal python scrypt is not good idea.

      I use ATmega MCU 

      Well it all depends on the target project. For example remote metering is easy and appropriate for Python, while live monitoring a car engine temperature can fail.

       

      For 1: you aren’t aware of the .pyo pre-compiling and short "boot" file I think? 

      2. some machine specific cannot work of course, like I2C and SPI, ADC, but all the other functionalities are implemented.

      3. see above, and the demo link in the previous post.

      4. I cannot see how this can be implemented, see Python limitation.

       

      Of course for a lot of projects a microcontroller like Atmel can be more appropriate, faster and easier to implement. More expensive however.

       

  4. I compile python scrypt and set minimal time to boot time (5sec min) 

    Using Atmel mcu is more expensive?

    I don’t thik this.

    all telit module have only 2.8 V max input pin and output power is about 1mA.

     realy do you mean so using SD card with telit module (in SPI) mode is better like use SD card with any atmel or pic mcu??

    on my different project I use SDcard with FAT32 system and work good , faster and use as standard .

    on first I too plan to use only telit module with python scrypt but if test it then my result is external mcu.

     

     on atmega328 I have free pin for I2C , SPI , interrupt, ADC.

     

    regards 

      1. 1. Microcontroller price is not important for me – I am using PIC24FJ64GA102/4 that is in stock and cheap for its specifications. Here in Bulgaria Atmel products are very hard to obtain and … the price is … But we do not have real Atmel distributors here.

         

        2. After power on scripts are coppied from FLASH to RAM. Nothing to do, but how many times your device is powering on ?

         

        3. Python is not slow! Consider microcontroller with TCP/IP stack (at least) and additonal tasks!