Navigation

    Welcome to the Pycom forum

    Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Tags
    3. flash
    Log in to post

    • W

      Memory loses all data when the battery is empty
      WiPy 2&3 • wipy expansion board flash • • Wolli01  

      6
      0
      Votes
      6
      Posts
      18
      Views

      W

      Thank You
    • S

      External Flash lose files
      WiPy 2&3 • wipy3.0 flash • • serafimsaudade  

      93
      0
      Votes
      93
      Posts
      341
      Views

      G

      @robert-hh Many thanks for this detailed analysis and testing. The results are promising, based on your tests and also information from others I think it is clear that enabling wear-leveling does not have any significant negative effect.
    • T

      noob question regarding Flash and Memory
      Comments & Feedback • flash memory memoryerror memory size • • troy salt  

      3
      0
      Votes
      3
      Posts
      78
      Views

      T

      @jcaron Thanks for the clarification. Okay, Then how about the second part of my question? If I import a library, does the whole library (including unused functions) get loaded into / waste memory? Thanks, Troy
    • E

      Storing variables in between deepsleep
      FiPy • deep sleep flash • • Edward Dimmack  

      6
      0
      Votes
      6
      Posts
      877
      Views

      C

      @edward-dimmack said in Storing variables in between deepsleep: @elizar Do you mean to a file on an SD card? Because we are not using an SD card in this application. You can use the filesystem of the internal flashl. Your program files are stored there as well. But mind the wear. Depending on your task, the NVRAM shall be the better solution.
    • K

      deepsleep & memory
      GPy • gpy deepsleep flash rtc memory • • kjm  

      3
      0
      Votes
      3
      Posts
      624
      Views

      rcolistete

      From the pycom module documentation : "pycom.nvs_erase_all() Erase the entire NVRAM memory area." AFAIK, there is no way to see all of the contents of nvram on ESP32/Pycom boards.
    • K

      No gpy wifi AP on power up
      Support & Troubleshooting • gpy wifi flash • • kjm  

      4
      0
      Votes
      4
      Posts
      555
      Views

      K

      @kjm I just double checked this. Beware boys & girls. pycom.wifi_on_boot(0) not only permanently disables the power up ad hoc wifi it breaks the gpy FTP server so that it won't work on any wifi network you subsequently join.
    • O

      View files created on flash
      LoPy • lopy flash • • oved.yavine  

      2
      0
      Votes
      2
      Posts
      541
      Views

      robert-hh

      @oved-yavine you can connect by ftp using tools like filezilla for plain ftp you can use "import uos;uos.listdir()" to get a list of files there is a useful python script called upysh.py which offers a small set of shell like commands at the REPL prompt. Import it with "from upysh import *", and then you have commands like ls, cat, .. (https://github.com/micropython/micropython-lib/tree/master/upysh)
    • C

      Flash > 508k?
      Discussion • flash 508k 8mb • • cmisztur  

      7
      0
      Votes
      7
      Posts
      991
      Views

      C

      @robert-hh Whew, OK, LoPy4 on 1.19.0.b4 has 4MB flash!
    • J

      Always the same problem of file upload flash !!!!
      LoPy • lopy firmware update serial flash firmware upgrad • • james  

      20
      0
      Votes
      20
      Posts
      3026
      Views

      nespressif

      Hi, I tried via ftp and it works perfectly. Regards
    • P

      Storing certificates on WIPY
      Discussion • wipy flash certificate • • p3pp3d0m  

      1
      0
      Votes
      1
      Posts
      388
      Views

      No one has replied

    • N

      Pybytes flash upload
      Ideas • pybytes flash upload web page editor • • nicoloboatto  

      2
      0
      Votes
      2
      Posts
      643
      Views

      dan

      Hi @nicoloboatto, Indeed it is not supported currently, but it's on our list.
    • T

      How to store data in flash
      LoPy • lopy flash • • tushar44  

      4
      0
      Votes
      4
      Posts
      1616
      Views

      Marco Moraes 0

      @seb Is it possible to use this method with encrypted flash? I mean, is application capable of writing/modifying the json file if the flash is encrypted? And if so, does these changes count for those 3 FW flashs overs USB?
    • P

      Flash Wipy with own build
      Discussion • firmware wipy flash wipy 2 build • • profra  

      13
      0
      Votes
      13
      Posts
      3320
      Views

      robert-hh

      @charly86 For OTA you just need appimg.bin, if the other two files are already loaded. The esptool.py command line for that would look like: esptool.py --chip esp32 --port /dev/ttyUSB0 --baud 460800 write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0x10000 appimg.bin
    • W

      Frequent use of pycom.nvs_set.
      LoPy • flash • • wstallwood  

      2
      0
      Votes
      2
      Posts
      962
      Views

      jmarcelino

      @wstallwood There is wear levelling mechanism on nvs_set, it uses the Non-volatile library from ESP-IDF: http://esp-idf.readthedocs.io/en/latest/api-reference/storage/nvs_flash.html
    • D

      Efficiency of Flash vs NVRAM (and some NVS questions)
      LoPy • lopy flash nvram file system nvs • • dbrgn  

      6
      1
      Votes
      6
      Posts
      2844
      Views

      J

      @dbrgn The library may also have a local cache, which would be used for reading, and could compare values against the cache before actually writing to flash. There could also be some way to write only a few bytes rather than full sectors like a filesystem would do, not sure if that's actually possible with the flash interface used.
    • C

      Flashing 1.7.8.b1 (containing frozen code) LoPy 4M from MSYS is not working
      LoPy • lopy flash msys • • Colateral  

      3
      0
      Votes
      3
      Posts
      1302
      Views

      robert-hh

      @Colateral Before föashing your own image, you have to erase flash completely. So with the Pycom IDF, issue: make erase make flash You have to reset the device again between the two commands. I noted that already as an issue, but is is not fixed yet.
    • C

      get free flash space
      WiPy 2&3 • flash • • crankshaft  

      3
      0
      Votes
      3
      Posts
      2274
      Views

      C

      @robert-hh - Yes, thanks, I am using that on the esp8266 ( see my first code snippet df() ) and it works just fine, what I am asking is how can I get the freespace on the pycom port as statvfs() is not available ?
    • livius

      Flash was erased without the reason
      Issues & Bugs • wipy2.0 flash erased • • livius  

      8
      0
      Votes
      8
      Posts
      2594
      Views

      S

      I was seeing this developing a BT app for no apparent reason using 1.6 Updating to 1.7.3 solved it. Haven't seen it since.
    • 1 / 1