Advertisement
Snake8140

Flash SLS on ESP32 4MB

Oct 5th, 2020
1,330
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.48 KB | None | 0 0
  1. snake@MacBookPro:firmware % ls -lart
  2. total 1440
  3. -rw-r--r--   1 snake staff    8192 Sep 13  2019 boot_app0.bin
  4. -rw-r--r--   1 snake staff    3072 Sep 16  2019 partitions.bin
  5. -rw-r--r--   1 snake staff   17392 Oct  2  2019 bootloader_qout_80m.bin
  6. -rw-r--r--   1 snake staff   17408 Oct  2  2019 bootloader_qout_40m.bin
  7. -rw-r--r--   1 snake staff   17392 Oct  2  2019 bootloader_qio_80m.bin
  8. -rw-r--r--   1 snake staff   17408 Oct  2  2019 bootloader_qio_40m.bin
  9. -rw-r--r--   1 snake staff   15856 Oct  2  2019 bootloader_dout_80m.bin
  10. -rw-r--r--   1 snake staff   15872 Oct  2  2019 bootloader_dout_40m.bin
  11. -rw-r--r--   1 snake staff   15856 Oct  2  2019 bootloader_dio_80m.bin
  12. -rw-r--r--   1 snake staff   15872 Oct  2  2019 bootloader_dio_40m.bin
  13. -rw-r--r--   1 snake staff 1309488 May 11 20:53 firmware.bin
  14. -rw-r--r--   1 snake staff     319 May 11 22:35 flash.sh
  15. drwx------+ 61 snake staff    1952 Oct  5 21:08 ..
  16. drwxrwxrwx  14 snake staff     448 Oct  5 21:08 .
  17. snake@MacBookPro:firmware %
  18. snake@MacBookPro:firmware % esptool.py  --chip esp32 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode qout --flash_freq 80m --flash_size detect 0xe000 boot_app0.bin 0x1000 bootloader_qout_80m.bin 0x10000 firmware.bin 0x8000 partitions.bin
  19.  
  20. esptool.py v2.7
  21. Found 3 serial ports
  22. Serial port /dev/cu.usbserial-0001
  23. /dev/cu.usbserial-0001 failed to connect: [Errno 16] could not open port /dev/cu.usbserial-0001: [Errno 16] Resource busy: '/dev/cu.usbserial-0001'
  24. Serial port /dev/cu.SLAB_USBtoUART
  25. Connecting........_____.
  26. Chip is ESP32D0WDQ6 (revision 1)
  27. Features: WiFi, BT, Dual Core, Coding Scheme None
  28. Crystal is 40MHz
  29. MAC: 24:0a:c4:0c:76:34
  30. Uploading stub...
  31. Running stub...
  32. Stub running...
  33. Changing baud rate to 921600
  34. Changed.
  35. Configuring flash size...
  36. Auto-detected Flash size: 4MB
  37. Compressed 8192 bytes to 47...
  38. Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.0 seconds (effective 4907.2 kbit/s)...
  39. Hash of data verified.
  40. Flash params set to 0x012f
  41. Compressed 17392 bytes to 11187...
  42. Wrote 17392 bytes (11187 compressed) at 0x00001000 in 0.1 seconds (effective 984.2 kbit/s)...
  43. Hash of data verified.
  44. Compressed 1309488 bytes to 743141...
  45. Wrote 1309488 bytes (743141 compressed) at 0x00010000 in 12.7 seconds (effective 825.3 kbit/s)...
  46. Hash of data verified.
  47. Compressed 3072 bytes to 144...
  48. Wrote 3072 bytes (144 compressed) at 0x00008000 in 0.0 seconds (effective 1660.8 kbit/s)...
  49. Hash of data verified.
  50.  
  51. Leaving...
  52. Hard resetting via RTS pin...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement