New firmware release v1.12.0.b1 (Sigfox and LoRa coexistency on the FiPy)
-
Hello,
This release mainly adds Sigfox and LoRa coexistency on the FiPy. There are some additional bug fixes included:
- esp32: LoRa+Sigfox coexistency on the FiPy.
- esp32: Allow pin interrupts to be triggered even when the cache is disabled.
- esp32: Do not allow timer alarms ISR to run with the cache disabled.
Otherwise the CPU crashes when writing to flash and the interrupt triggers. - esp32: Solve BLE hang when searching for services.
- esp32: Correct behaviour of Alarm.callback(None). The alarm is correctly cancelled now.
- modpycom.c/pulses_get(): prevent lock-up at long pulses. Thanks to @robert-hh.
- esp32: Use spi_flash_get_chip_size() to determine the flash size. Thanks to @robert-hh.
Cheers,
Daniel
-
@daniel
Wipy2
I give another try with recent software compared to 1.7.2.b1 {which is stablest for me for wipy2}.
After flash (today):- connection to router give me timeout (30seconds) but if i ignore this i can connect to the socket in the network - i use static ip setting.
- i2c (
i2c=I2C(0, I2C.MASTER, baudrate=100000, pins=("P9", "P10"))
)
- bh1750 ok,
- pcf8574 ok
- read from bmp180 read only 0 for preasure but temperature is ok
flashed 3 times and tested 30 times with removing cables (5 times and also simple reset 5 for every flash).
downgraded to 1.7.2.b1 all work ok.
I must bring back my logic analyser to see issue on i2c but maybe you have some hint here?
And also what can be the reason of issue from point 1?
-
@naveen we will add Japan with the next release of the updater tool. In the meantime, please select Europe as Sigfox region. Thanks.
-
OK, I am trying to upgrade/register again. Now I see an option "Country Selection" and I choose "Japan" where I live. Next is "SigFox region selection" but I do not find "Japan" in the available options.
-
@naveen It seems your sigfox credentials haven't been properly generated during the initial upgrade/device registration.
I have removed your device... can you please try to upgrade/register again?
-
Mac address: <removed by admin>
-
@naveen please let us know your WLAN mac address so that we can reset and you can get your Sigfox ID and PAC again.
Please run:
import binascii from network import WLAN print(binascii.hexlify(WLAN().mac()))
And let us know your MAC address. Thanks.
Cheers,
Daniel
-
Everytime I run "os.uname()", FiPy disconnects and only gives partial output as below:
(sysname='FiPy', nodename='FiPy', release='1.12.0.b1', version='v1.8.6-849-fcbbfe3 on 2018-01-03', machine='FiPy with ESP32' , lorawan=' > Failed to connect (Connection was reset)
-
After updating and doing:
import os os.uname()
What do you get?
Cheers,
Daniel
-
I am getting the message shown below but no id or pac info:
Result:
Your device was successfully updated!
Please remove the wire and reset the board.
-
@naveen did you get the Sigfox ID and PAC printed on the screen after the updater tool completed?
-
Why am I getting sigfox.id() and sigfox.pac() as b'ffffffff' and b'ffffffffffffffff' respectively?
-
@danielm You can do that with the command line version of the tool. I will post some more details about that with the next beta release.
-
@Xykon
Can this currently developed upgrade/downgrade tool be used to flash custom image as well?
-
@robert-hh thanks. Found the cause. Will fix ASAP.
-
@daniel uos.uname causes a core dump on FiPy. See https://github.com/pycom/pycom-micropython-sigfox/issues/118
-
Just in case anyone needs it, I have updated the download links under downgrading for advanced users to include the previous 1.10.2.b1 major release.
I am working on a new firmware update tool that will have downgrade functionality. You should see another beta being released later this week.