Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

esptool fails in linux #1747

Closed
mikee47 opened this issue Jul 6, 2019 · 1 comment
Closed

esptool fails in linux #1747

mikee47 opened this issue Jul 6, 2019 · 1 comment

Comments

@mikee47
Copy link
Contributor

mikee47 commented Jul 6, 2019

Linux esptool.py no longer works since #1724. The sizes were updated as the current version of the tool has deprecated them.

Should we include a current version of esptool.py in the repo?

mike@UbuntuME:~/sming/samples/Basic_Blink$ make flash

Basic_Blink: Invoking 'flash' for Esp8266 (debug) architecture

Building /home/mike/sming/samples/Basic_Blink/out/Esp8266/debug/lib/clib-App-3a6c5ec2da870ffbcb4e119f5b5bef48.a
make[1]: Nothing to be done for 'build'.
/home/mike/sming/Sming/component.mk:43: ! SSL support is not enabled. To enable it type: 'make clean; make ENABLE_SSL=1'
Basic_Blink: Linking out/Esp8266/debug/build/app_0.out
   Section|                   Description| Start (hex)|   End (hex)|Used space
------------------------------------------------------------------------------
      data|        Initialized Data (RAM)|    3FFE8000|    3FFE8372|     882
    rodata|           ReadOnly Data (RAM)|    3FFE8380|    3FFE857C|     508
       bss|      Uninitialized Data (RAM)|    3FFE8580|    3FFEE6B8|   24888
      text|            Cached Code (IRAM)|    40100000|    40105EB7|   24247
irom0_text|           Uncached Code (SPI)|    40202010|    40233077|  200807
Total Used RAM : 26278
Free RAM : 55642
Free IRam : 8539
ESPTOOL2 out/Esp8266/debug/firmware/rom0.bin
(!) Spiffs support disabled. Remove 'DISABLE_SPIFFS' make argument to enable spiffs.
Killing Terminal to free /dev/ttyUSB0
/home/mike/sming/Sming/Components/terminal/component.mk:29: recipe for target 'kill_term' failed
make: [kill_term] Killed (ignored)
WriteFlash  0x002000=out/Esp8266/debug/firmware/rom0.bin 
/home/mike/esp-open-sdk/esptool/esptool.py -p /dev/ttyUSB0 -b 115200 write_flash -ff 40m -fm qio -fs 512KB  0x002000 out/Esp8266/debug/firmware/rom0.bin 
usage: esptool write_flash [-h] [--flash_freq {40m,26m,20m,80m}]
                           [--flash_mode {qio,qout,dio,dout}]
                           [--flash_size {detect,4m,2m,8m,16m,32m,16m-c1,32m-c1,32m-c2}]
                           [--no-progress] [--verify]
                             [  ...]
esptool write_flash: error: argument --flash_size/-fs: invalid choice: '512kb' (choose from 'detect', '4m', '2m', '8m', '16m', '32m', '16m-c1', '32m-c1', '32m-c2')
/home/mike/sming/Sming/Arch/Esp8266/app.mk:99: recipe for target 'flash' failed
@mikee47 mikee47 closed this as completed Jul 6, 2019
@mikee47
Copy link
Contributor Author

mikee47 commented Jul 6, 2019

Closed duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant