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

no example with AP / STA connection (wifi) ...and i have issues #6

Open
picpic020960 opened this issue Oct 2, 2020 · 5 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@picpic020960
Copy link

Bonjour ,

some issues with AP / STA connection on last prebuild firmware.
(MicroPython v1.9.4-2811-gf0cb439ba-dirty on 2020-07-23; LilyGO-TTGO-T-Watch-2020-V1 with ESP32)

simple sketch never connect at local network :
sta.isconnected() ==> false
but some time (not clear) sta.status() ==> 1001 = connected

help or debug mode ?

Thank's a lot &
Regards

@OPHoperHPO OPHoperHPO added the bug Something isn't working label Oct 3, 2020
@OPHoperHPO OPHoperHPO self-assigned this Oct 3, 2020
@OPHoperHPO
Copy link
Owner

I know about this bug. I have updated micropython and lvgl to the latest versions. You can see it in the 1.13 branch. Can you check this bug on the updated micropython?

@picpic020960
Copy link
Author

I'm watching this this weekend

@picpic020960
Copy link
Author

picpic020960 commented Oct 14, 2020

Bonjour ,

bin 1.13 upload with :

esptool.py --chip esp32 --port /dev/ttyUSB0 --baud 2000000 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0x1000 firmware113.bin

and with thonny ... bad :

rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:5204
load:0xc8400780,len:469762102
1162 mmu set 00010000, pos 00010000
1162 mmu set 00020000, pos 00020000
1162 mmu set 00030000, pos 00030000
1162 mmu set 00040000, pos 00040000
1162 mmu set 00050000, pos 00050000
1162 mmu set 00060000, pos 00060000
1162 mmu set 00070000, pos 00070000
1162 mmu set 00080000, pos 00080000

────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Could not enter REPL. Trying again with 1 second waiting time...
Could not enter REPL. Trying again with 3 second waiting time...
Could not enter REPL. Trying again with 5 second waiting time...
Could not enter REPL. Giving up. Read bytes:

Your options:

  • check connection properties;
  • make sure the device has suitable firmware;
  • make sure the device is not in bootloader mode;
  • reset the device and try again;
  • try other serial clients (Putty, TeraTerm, screen, ...);
  • ask for help in Thonny's forum or issue tracker.

Backend terminated or disconnected. Use 'Stop/Restart' to restart.

return to release bin version :

MicroPython v1.9.4-2811-gf0cb439ba-dirty on 2020-07-23; LilyGO-TTGO-T-Watch-2020-V1 with ESP32
Type "help()" for more information.

More test ?:

@OPHoperHPO
Copy link
Owner

Hi @picpic020960,

It looks like there are errors in the instructions for flashing the image. And it doesn't work for the new version of micropython. I will fix it soon.
So currently there is only one way to launch a new micropython. You need to rebuild it yourself and flash it via "make -C ports/esp32 deploy".

@picpic020960
Copy link
Author

not easy to switch to ESP-IDF. I will need courage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants