0

Pyportal Pynt IO and SSL
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Re: Pyportal Pynt IO and SSL

by oldblackcrow on Mon Feb 15, 2021 5:55 pm

My latest methodology is as follows:

1. Double tap button to get into Bootloader mode
2. Run PyBadge_QSPI_Eraser.UF2
3. Double tap button for Bootloader
4. Run PyPortal_ESP32_Passthru.UF2
5. Connect with Adafruit ESPTool
6. Use NINA_W102-1.7.1.bin & NINA_W102-1.6.0.bin in separate sessions
7. Version 1.6 gets to about 50% and 1.7 gets to around 70% pretty consistently.

Also, if I move update-bootloader-pyportal_m4-v3.10.0.uf2 file over while PyPortal is in Boot mode, it seems no data is being installed. The screen goes blank and the file folder disappears. However, I can move the adafruit-circuitpython-pyportal_pynt-en_US-6.1.0.uf2 file over and it installs normally. I don't know if this information is useful, but as I was taught in the AF... document everything. :-)

oldblackcrow
 
Posts: 121
Joined: Tue Jun 20, 2017 5:54 pm

Re: Pyportal Pynt IO and SSL

by oldblackcrow on Mon Feb 15, 2021 6:16 pm

And when I run the https://github.com/adafruit/Adafruit_Ci ... io_post.py code, I get this:

Failed to connect, retrying
ESP32 timed out on SPI select

When I try the ISS tracker example, the map shows up fine, but I get the following:

Connecting to AP Ross Family
Could not connect to internet Timed out waiting for SPI char

oldblackcrow
 
Posts: 121
Joined: Tue Jun 20, 2017 5:54 pm

Re: Pyportal Pynt IO and SSL

by oldblackcrow on Wed Feb 17, 2021 12:13 pm

If this can't be resolved, can I please get another PyPortal Pynt *with the esp32 chip updated before it ships*? I now have two PyPortal Pynts that cannot connect to the internet.

But if you think we can resolve this soon, that's fine. Thank you very much.

oldblackcrow
 
Posts: 121
Joined: Tue Jun 20, 2017 5:54 pm

Re: Pyportal Pynt IO and SSL

by oldblackcrow on Thu Feb 18, 2021 4:03 pm

I've been playing with the port settings in Windows Device Manager to see if any of that can affect it. So far I've changed the following:

1. Turned OOF "Use FIFO buffers" in Advanced Tab
2. Changed Flow Control to "Hardware"
3. Changed Parity to "Even"

No change in results.

Then I reset the defaults, changed the baud rate back to 115,200 and turned the "Use FIFO buffers" back ON. But this time, I reduced the buffers down to 1. Still no change in result.

oldblackcrow
 
Posts: 121
Joined: Tue Jun 20, 2017 5:54 pm

Re: Pyportal Pynt IO and SSL

by brubell on Fri Feb 19, 2021 11:36 am

oldblackcrow wrote:If this can't be resolved, can I please get another PyPortal Pynt *with the esp32 chip updated before it ships*? I now have two PyPortal Pynts that cannot connect to the internet.

But if you think we can resolve this soon, that's fine. Thank you very much.


I'm unsure if we've discussed this, but have you tried this on another wireless network yet? Can you use your phone as a hotspot?

brubell
 
Posts: 1256
Joined: Fri Jul 17, 2015 10:33 pm

Re: Pyportal Pynt IO and SSL

by oldblackcrow on Fri Feb 19, 2021 12:24 pm

We haven't discussed it... But I'll try anything. I'm at work now but will try tomorrow.

Just to be clear... This is for the update and not just connecting to the internet? If for the update, what would be different? If just connecting to the internet, would the previous ESP32 firmware still be active?

Thank you!

oldblackcrow
 
Posts: 121
Joined: Tue Jun 20, 2017 5:54 pm

Re: Pyportal Pynt IO and SSL

by oldblackcrow on Fri Feb 19, 2021 6:20 pm

Yea, I got home early!

Using my Hotspot on my phone, I changed the secrets file to that information. I pasted the ISS tracker code, which I know worked with no issues last week before the ESP32 update process. Unfortunately, it does not connect to the internet, giving the following code:

"Could not connect to internet Timed out waiting for SPI char
Retrying in 3 seconds..."

I waited 2 or 3 minutes, checked the WIFI credentials and still no-go.


And then I ran the Internet Connect code:

ESP32 SPI webclient test
Traceback (most recent call last):
File "code.py", line 50, in <module>
File "adafruit_esp32spi/adafruit_esp32spi.py", line 335, in status
File "adafruit_esp32spi/adafruit_esp32spi.py", line 324, in _send_command_get_response
File "adafruit_esp32spi/adafruit_esp32spi.py", line 243, in _send_command
File "adafruit_esp32spi/adafruit_esp32spi.py", line 238, in _send_command
RuntimeError: ESP32 timed out on SPI select

oldblackcrow
 
Posts: 121
Joined: Tue Jun 20, 2017 5:54 pm

Re: Pyportal Pynt IO and SSL

by oldblackcrow on Wed Feb 24, 2021 4:48 pm

So, are now assuming these Portals are a no-go for ESP32 update? Just trying to get my project done in a reasonable time.

Maybe there was a bad run on the ESP32 board? Again, I would like to get a new PyPortal with the ESP32 already updated before it ships to me if there is no solution we can work out here. Thank you for your understanding.

oldblackcrow
 
Posts: 121
Joined: Tue Jun 20, 2017 5:54 pm

Re: Pyportal Pynt IO and SSL

by oldblackcrow on Wed Mar 03, 2021 3:13 pm

Hello... I have been very patient with this... with due respect, it seems this thread has been abandoned. I really need to know if there are any options here. I feel like I just wasted $100 on two boards that don't work. Please let me know as soon as possible. Thanks.

oldblackcrow
 
Posts: 121
Joined: Tue Jun 20, 2017 5:54 pm

Re: Pyportal Pynt IO and SSL

by tannewt on Thu Mar 04, 2021 2:19 pm

Have you tried using miniesptool to update the ESP32s? I prefer to use it instead of the pass through method.

Try loading this example in CircuitPython as code.py along with the library and the nina firmware:

https://github.com/adafruit/Adafruit_Ci ... pletest.py

tannewt
 
Posts: 2189
Joined: Thu Oct 06, 2016 8:48 pm

Re: Pyportal Pynt IO and SSL

by oldblackcrow on Thu Mar 04, 2021 3:57 pm

I haven't tried this... I'll give it a go now. Thanks!

oldblackcrow
 
Posts: 121
Joined: Tue Jun 20, 2017 5:54 pm

Re: Pyportal Pynt IO and SSL

by oldblackcrow on Thu Mar 04, 2021 4:14 pm

Can you provide me with a more detailed instruction? I copied the library files and the nina file to the PyPortal and then ran the example... but I'm getting the following error:

code.py output:
ESP32 Nina-FW
Traceback (most recent call last):
File "code.py", line 13, in <module>
AttributeError: 'module' object has no attribute 'TX'

Code done running


When I comment out lines 13, 14, and 15, then I get the following:
code.py output:
ESP32 Nina-FW
Traceback (most recent call last):
File "code.py", line 16, in <module>
AttributeError: 'module' object has no attribute 'D10'

Code done running.

Then when I comment out line 16, it states:
code.py output:
ESP32 Nina-FW
Traceback (most recent call last):
File "code.py", line 18, in <module>
NameError: name 'tx' is not defined

Code done running.

oldblackcrow
 
Posts: 121
Joined: Tue Jun 20, 2017 5:54 pm

Please be positive and constructive with your questions and comments.