pycom / pycom-micropython-sigfox

A fork of MicroPython with the ESP32 port customized to run on Pycom's IoT multi-network modules.
MIT License
199 stars 167 forks source link

SIPY build return invalid PAC #179

Closed syndycat closed 6 years ago

syndycat commented 6 years ago

Please include the following information when submitting a bug report:

SIPY 1.17.b3

  1. We bought the SIPY one year ago... opened now for the first time

  2. We tried update with latest pycom update tool (1.15.1) ... but that hangs on "checking firmware"

  3. we make the build 1.17.3.b1 using make and bootloader (with SIPY board)

  4. we erased the flash

  5. we flashed the build successfully

  6. After flash calling pac() method is always returning b'\xff\xff\xff\xff\xff\xff\xff\xff' as no mac is provisioned in the device

  7. we used again pycom update tool (1.15.1) and this time the tool recognized the device and flash 1.17.5.b6 build that at the end show Device ID: 240AC400F970 LoRa MAC: 70B3D5499CF0F763 Sigfox ID: 004D3A90 Sigfox PAC: C9230CD18B7848C0

  8. Then we did again the build with make and flash it... and this time was OK.

Xykon commented 6 years ago

That is normal, the firmware updater registers the device and assigns the Sigfox credentials during the first upgrade.

syndycat commented 6 years ago

It is not possible to do this from make procedure? We need this for continuous integration especially on L04 that will be planted on our PCB. If we have hundred pieces to flash we need automation.

Xykon commented 6 years ago

We provide Sigfox credentials through the firmware updater for development purposes. If you wish to integrate Sigfox connectivity into your own product you will need to get your own Sigfox licenses. We can provide assistance with deploying these.

danspndl commented 6 years ago

Hi @syndycat 👋 It looks like this issue has not had any recent activity, so I'll close it. Feel free to reopen it if you still need help!