• 0 Votes
    3 Posts
    495 Views
    A
    For reference: Search for the post Firmware Files for Sequans LTE modem now are secured which contains the login and password
  • Failed to start STP mode!

    Discussion sqnsupgrade gpy gpy nbiot ubuntu
    7
    0 Votes
    7 Posts
    1k Views
    P
    @aen I had a different experience. This worked for me: >>> import sqnsupgrade >>> sqnsupgrade.info() <<< Welcome to the SQN3330 firmware updater [1.2.6] >>> >>> FiPy with firmware version 1.20.0.rc13 Your modem is in application mode. Here is the current version: UE5.0.0.0d LR5.1.1.0-46470 Then on the terminal: >>> sqnsupgrade.run('/dev/ttyACM0', 'NB1-41019.dup') <<< Welcome to the SQN3330 firmware updater [1.2.5] >>> Firmware file is too big to load via FFF method. Using ON_THE_FLY Attempting AT wakeup... Session opened: version 1, max transfer 8192 bytes Sending 5835531 bytes: [########################################] 100% Waiting for modem to finish the update... <<<=== DO NOT DISCONNECT POWER ===>>> Resetting............................. Your modem has been successfully updated. Here is the current firmware version: UE6.0.0.0 LR6.0.0.0-41019 When I tried your method (to upgrade) the result was an error: Upgrade failed with result failure[diffUpgrade,239] Patch didn't apply! So I figured I'd just upload the final image rather than a diff as the factory shipped firmware appeared to be some unknown number (46470) The documentation on all this is convoluted when its probably quite simple. Philip
  • 0 Votes
    7 Posts
    1k Views
    A
    Dear @kjm, @kjm said in lte.deinit(dettach=False) with machine.deepsleep: We've found it's not a good idea to routinely reset the modem in battery powered/deepsleep applications. If the modem is not reset attachments take only a second or two but after a modem reset they take 3-4 times longer. Sure. Sorry that I haven't told you that we are currently not using the modem at all and just want to turn it off as quickly and thoroughly as possible. When actually using the modem and going to deepsleep, it should probably not be reset and detached so it will keep its association with the cell infrastructure. Thanks and with kind regards, Andreas.
  • 0 Votes
    1 Posts
    359 Views
    No one has replied
  • Atom foibles.

    Support & Troubleshooting atom gpy repl
    4
    0 Votes
    4 Posts
    524 Views
    J
    @kjm But maybe since we are mentioning it... someone who already has a fix can pass it along. Or someone who didn't realize it was a problem can make the next version a little bit better. Hopefully shared misery will have a shared cure. ;)
  • No gpy wifi AP on power up

    Support & Troubleshooting gpy wifi flash
    4
    0 Votes
    4 Posts
    594 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.
  • External wifi antenna on the gpy

    Projects gpy ext wifi ant
    6
    0 Votes
    6 Posts
    1k Views
    robert-hhR
    @kjm wlan.antenna() return the value of in internal variable with the name antenna_type_selected, which is not change when you just set the value of the GPIO pin from your Python script.
  • Selecting external antenna on gpy

    GPy gpy wifi ext antenna
    1
    0 Votes
    1 Posts
    308 Views
    No one has replied
  • At Command to stop Cell Tower Handover

    GPy at commands gpy fipy antenna
    1
    0 Votes
    1 Posts
    371 Views
    No one has replied
  • 2 Votes
    34 Posts
    7k Views
    G
    @bqpd Thank you from the future.
  • random flash memory format

    Issues & Bugs gpy
    6
    0 Votes
    6 Posts
    541 Views
    G
    We've had some reports that using a low voltage (outside of spec, like using an empty battery) might corrupt the filesystem when using littleFS. In that scenario, fatFS is more stable (not sure of the exact workings)
  • Cannot init 2 UARTs on GPy

    GPy gpy uart
    4
    0 Votes
    4 Posts
    666 Views
    robert-hhR
    @andrejpekarcik UART0 is used for the REPL over USB. The regular speed is 115200. SO if you want to use that, you have to deinit REPL on UART, using uos.dupterm(None), and use Telnet for the REPL.
  • Is Gpy AT&T PTCRB certified?

    GPy ptcrb gpy at&t
    4
    1 Votes
    4 Posts
    643 Views
    C
    @pechan I used the CAT-M1 example code verbatim and it worked the first time through. https://docs.pycom.io/tutorials/lte/cat-m1.html import socket import ssl import time from network import LTE lte = LTE() # instantiate the LTE object lte.attach() # attach the cellular modem to a base station while not lte.isattached(): time.sleep(0.25) lte.connect() # start a data session and obtain an IP address while not lte.isconnected(): time.sleep(0.25) s = socket.socket() s = ssl.wrap_socket(s) s.connect(socket.getaddrinfo('www.google.com', 443)[0][-1]) s.send(b"GET / HTTP/1.0\r\n\r\n") print(s.recv(4096)) s.close() lte.disconnect() lte.dettach() Make sure you have updated the modem to latest: https://docs.pycom.io/tutorials/lte/firmware.html I had to use a micro SD card to update the modem. I couldn't figure out how to upload the files into the internal flash, but that was probably something I was doing wrong.
  • Weird issue when pinging an external server

    GPy gpy ping nb-iot
    5
    0 Votes
    5 Posts
    850 Views
    S
    @elizar said in Weird issue when pinging an external server: @shedaim Ping'ing takes time. Maybe the successful reply to the second ping is in fact the answer to the first ping? Using the newly added "delay" option should have fixed that, so I don't believe that's what's happening. This is what I managed to find out untill now: Trying a single ping message: Ping request UE --> Server Success Ping reply Server --> EPG Success Ping reply EPG --> MME Success Ping reply MME --> eNodeB Success Ping reply eNodeB --> UE Unknown (Doesn't show in Atom, but MME states that message has been sent) Trying two pings in rapid succession: Ping request UE --> Server Success Ping reply Server --> EPG Success Ping reply EPG --> MME Success Ping reply MME --> eNodeB Success ping reply eNodeB --> UE Unknown (Doesn't show in Atom, but MME states that message has been sent) Ping request UE --> Server Success ping reply Server --> UE Success (Arrives after 150 - 500 ms) Pinging from server to UE is successful continuously. eDRX is in state "NOT_CONFIGURED" - same as network. Tried to disable sleep of the modem using AT!="EE::disable" Additional information for the Pros: First Ping message is sent over S1AP/NAS-EPS in the initial message to the MME, which contains a Control Plane Service Request. Second ping message is sent over the same interface as an UplinkNasTransport message. Wireshark of MME messages - Download
  • Gpy AWS IOT Mqtt

    Guides gpy umqtt aws iot mqtt
    12
    0 Votes
    12 Posts
    2k Views
    R
    @randomrnti Figured out my issue was due to the AWS policy only allowing certain clients for the iot:Connect policy. Changing it to the wildcard * fixed my issue. Another issue though is I can only get it working for Wifi. The moment I attempt this on NB-IoT I'm getting the following errors: AWSIoTMQTTClient Socket create error: [Errno -78] MBEDTLS_ERR_NET_SEND_FAILED simple.py Traceback (most recent call last): File "main.py", line 90, in <module> File "main.py", line 79, in run File "/flash/lib/simple.py", line 56, in connect OSError: [Errno 113] ECONNABORTED This again is on the connect action and I've tried with connecting using both the IP Address and it's domain name.
  • Coredump Location

    Discussion coredump gpy python
    1
    0 Votes
    1 Posts
    391 Views
    No one has replied
  • lte.attach() doesn't work, but modem is attached

    GPy gpy attach nb-iot
    9
    0 Votes
    9 Posts
    2k Views
    P
    @wtrocel As @robert-hh has suggested using the pycom firmware update tool and selecting include development versions + development instead of stable is likely the easiest way to get the new Release candidate.
  • gpy with v2.1A dev board

    GPy gpy dev board
    2
    0 Votes
    2 Posts
    422 Views
    danD
    @kjm yes, it should work with it. Which part are you having issues with? Can you connect to the board? Which operating system are you using?