A new way to flash the modules

The Annex CNN channel
User avatar
cicciocb
Site Admin
Posts: 2056
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 439 times
Been thanked: 1355 times
Contact:

Re: A new way to flash the modules

Post by cicciocb »

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Thu Nov 03, 2022 5:09 pm Francesco,

I am testing with the Annex32 firmware.
I find out that the firmware for the DS18B20 and DHT22 does not work correctly with Annex32 BLE CAN 1.47.2 and Annex32 CAN 1.47.2 the .bin version.
It works well with the Annex32 BLE CAN 1.44.2 version and Annex32 CAN 1.44.2 the .bin version.
Tested with Firefox and Chrome shows no differences.
Sorry for bad english is due to google translate.

Jan Volk
Thanks for your feedback, I'll try to understand why, I have these devices at home so I can test with the real H/W
User avatar
cicciocb
Site Admin
Posts: 2056
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 439 times
Been thanked: 1355 times
Contact:

Re: A new way to flash the modules

Post by cicciocb »

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Thu Nov 03, 2022 5:09 pm Francesco,

I am testing with the Annex32 firmware.
I find out that the firmware for the DS18B20 and DHT22 does not work correctly with Annex32 BLE CAN 1.47.2 and Annex32 CAN 1.47.2 the .bin version.
It works well with the Annex32 BLE CAN 1.44.2 version and Annex32 CAN 1.44.2 the .bin version.
Tested with Firefox and Chrome shows no differences.
Sorry for bad english is due to google translate.

Jan Volk
Finally I found that this problem comes from the SDK that I'm using actually, the version 2.0.4.
I tried with latest 2.0.5 and it works but now all must be retested again as some other regressions could arrive.
Jan Volk
Posts: 89
Joined: Wed Mar 03, 2021 1:35 pm
Been thanked: 27 times

Re: A new way to flash the modules

Post by Jan Volk »

Francesco,

That's good news that you've discovered the problem and less good news that everything needs to be retested.
Note: With version 1.44.2 the DHT22 works, but not stable, so many times a "nan" measurement and the DS18B20 works stable.

Jan Volk
User avatar
cicciocb
Site Admin
Posts: 2056
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 439 times
Been thanked: 1355 times
Contact:

Re: A new way to flash the modules

Post by cicciocb »

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Fri Nov 04, 2022 3:03 pm Francesco,

That's good news that you've discovered the problem and less good news that everything needs to be retested.
Note: With version 1.44.2 the DHT22 works, but not stable, so many times a "nan" measurement and the DS18B20 works stable.

Jan Volk
This is just the beginning.
I'm not yet sure that it really works (tested only on the simulator) but I already saw other problems
User avatar
Electroguard
Posts: 860
Joined: Mon Feb 08, 2021 6:22 pm
Has thanked: 274 times
Been thanked: 323 times

Re: A new way to flash the modules

Post by Electroguard »

I've had problems configuring S2 pins as sensor interrupt inputs, although the same pins work fine for other purposes such as i2c.
BeanieBots
Posts: 345
Joined: Tue Jun 21, 2022 2:17 pm
Location: South coast UK
Has thanked: 183 times
Been thanked: 112 times

Re: A new way to flash the modules

Post by BeanieBots »

autorefresh does not appear to be working in 1.47.2
Is this the correct thread to be posting 1.47.2 bug reports?
User avatar
cicciocb
Site Admin
Posts: 2056
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 439 times
Been thanked: 1355 times
Contact:

Re: A new way to flash the modules

Post by cicciocb »

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Sat Nov 05, 2022 5:56 pm autorefresh does not appear to be working in 1.47.2
Is this the correct thread to be posting 1.47.2 bug reports?
Yes you can post here.
I cannot reproduce the problem (but I'm not in this version right now).
this simple code works for me

Code: [Local Link Removed for Guests]

cls
a = 10
html textbox$(a)
autorefresh 100
I can see the variable that changes when setting it in the immediate window and its value changes back when modified in the output window.
Are you sure that the command autorefresh xx is after the CLS ?
BeanieBots
Posts: 345
Joined: Tue Jun 21, 2022 2:17 pm
Location: South coast UK
Has thanked: 183 times
Been thanked: 112 times

Re: A new way to flash the modules

Post by BeanieBots »

Works if editor and output are on different tabs/browser but fails when switching between editor output page.
Does/should autorefresh need to be repeated in htmlload routine when using OnHtmlReload ?
User avatar
cicciocb
Site Admin
Posts: 2056
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 439 times
Been thanked: 1355 times
Contact:

Re: A new way to flash the modules

Post by cicciocb »

Yes, it is lost after each reset and refresh of the page
User avatar
cicciocb
Site Admin
Posts: 2056
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 439 times
Been thanked: 1355 times
Contact:

Re: A new way to flash the modules

Post by cicciocb »

I updated the online flasher enabling the selection of the flash memory size.
If someone want test, it should enable the full memory of the modules
Post Reply