OTA flash types for MySensors
-
@Koresh I have just tried it and it works nicely.
Start...Init OK! DeviceID: EF30 Flash content: FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF. WriteByte(1) WriteByte(2) WriteByte(3) WriteByte(4) WriteByte(5)Flash content: FF.BB.BB.BB.AA.BB.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF.FF. Erasing Flash chip ... DONEThe only disadvantage to me is voltage given that nrf24l01+ can run down to 1.9V
Features
- 2.3V to 3.6V supply
- 1mA active current,
- <1μA Power-down
Aliexpress: $0.25 a piece + postage ($2.50 to Europe)
-
I found the following one which is now offered in a breakout board.
I read the datasheet and compared the characteristics and instruction set with the ones for W25X40CLSNIG. I also checked against the SPIFlash.h file in github.
Datasheet: http://www.elinux.org/images/f/f5/Winbond-w25q32.pdf
To me everything seems consistent and am planning to order one to check. Does anyone see something what might prevent it from working?
I'll report on what I find - it will be in some weeks since the delivery time is long.
-
I found the following one which is now offered in a breakout board.
I read the datasheet and compared the characteristics and instruction set with the ones for W25X40CLSNIG. I also checked against the SPIFlash.h file in github.
Datasheet: http://www.elinux.org/images/f/f5/Winbond-w25q32.pdf
To me everything seems consistent and am planning to order one to check. Does anyone see something what might prevent it from working?
I'll report on what I find - it will be in some weeks since the delivery time is long.
@manutremo you can save nearly 40% of your money on AliExpress for those:
https://www.aliexpress.com/item/Memory-Module-W25Q32B-High-Capacity-SPI-Interface-Flash-Memory-32M/32767512974.html -
@manutremo you can save nearly 40% of your money on AliExpress for those:
https://www.aliexpress.com/item/Memory-Module-W25Q32B-High-Capacity-SPI-Interface-Flash-Memory-32M/32767512974.html@Nca78 Thanks for the hint. I actually purchased from this seller who is chaper:
While the ebay seller shipped for free, Aliexpress would charge me 1.24€ for shipping to my country so the total price would be 2.63, significantly more expensive.
Many thanks anyways!
-
@gohan said in OTA flash types for MySensors:
What do you think would be the best solution to fit a flash chip on the easypcb board?
The best solution IMHO is to use MYSBootloader so you don't need a flash chip ;)
-
@gohan said in OTA flash types for MySensors:
What do you think would be the best solution to fit a flash chip on the easypcb board?
The best solution IMHO is to use MYSBootloader so you don't need a flash chip ;)
-
@Nca78 I thought about that, but there are quite some limitations like no encryption and signing support
-
@Anticimex does it? How about encryption?
-
also note:
so far MysBootloader is available for nrf24 only.
And for rfm69 FOTA, it's dualoptiboot bootloader based (from Lowpowerlab) which needs a flash ic.
It has been answered by tekka in another thread, but I don't think there is an eta for rfm69 MysBootloader yet..as the todolist isn't short ! -
@Nca78 Thanks for the hint. I actually purchased from this seller who is chaper:
While the ebay seller shipped for free, Aliexpress would charge me 1.24€ for shipping to my country so the total price would be 2.63, significantly more expensive.
Many thanks anyways!
@manutremo said in OTA flash types for MySensors:
@Nca78 Thanks for the hint. I actually purchased from this seller who is chaper:
@manutremo I am getting trouble with W25Q32B. Can you help me to get success? I am struggling to get jedec id for this chip.UPDATE: I included the following lines on the sketch it works,
//Enable OTA feature #define MY_OTA_FIRMWARE_FEATURE #define MY_OTA_FLASH_JDECID 0x00 -
@manutremo said in OTA flash types for MySensors:
@Nca78 Thanks for the hint. I actually purchased from this seller who is chaper:
@manutremo I am getting trouble with W25Q32B. Can you help me to get success? I am struggling to get jedec id for this chip.UPDATE: I included the following lines on the sketch it works,
//Enable OTA feature #define MY_OTA_FIRMWARE_FEATURE #define MY_OTA_FLASH_JDECID 0x00 -
@tbowmo I thought same things...
@ahmedadelhosni : translation roughly done ;) Here http://forum.mysensors.org/topic/3503/sensebender-dualoptiboot-ota-howto-in-mysensorsHi, old thread but I hope a question not too far off the mark. I'm using Easy PCB nodes and looking to use OTA on the reverse side. I'm having some issues finding a source in Australia for the SPI chip mentioned, I am seeing this one very easily available. From the data sheet on the page, it appears to be pretty much the same, just the lower end of the acceptable voltage is up to 2.6V. Any thoughts welcome if you can see if it would/wouldn't work, my tech knowledge is limited on this sort of thing.
https://au.rs-online.com/web/p/flash-memory/8228477
Cheers!
-
Hi, old thread but I hope a question not too far off the mark. I'm using Easy PCB nodes and looking to use OTA on the reverse side. I'm having some issues finding a source in Australia for the SPI chip mentioned, I am seeing this one very easily available. From the data sheet on the page, it appears to be pretty much the same, just the lower end of the acceptable voltage is up to 2.6V. Any thoughts welcome if you can see if it would/wouldn't work, my tech knowledge is limited on this sort of thing.
https://au.rs-online.com/web/p/flash-memory/8228477
Cheers!
@p359 - not really good at these external flash either... but as you said its a 2.8-3.6v chip meaning you limit the EasyPCB to a regulated 3.3v 8mhz Pro mini. Battery operations will be hard to achieve (not impossible though). But since you are aiming for OTA i guess you wont be using sleep/battery.
for how to write to the chip, im not the person to ask/answer since this is quite new to me but it seems like a fair price so maybe worth a shot.
-
@p359 - not really good at these external flash either... but as you said its a 2.8-3.6v chip meaning you limit the EasyPCB to a regulated 3.3v 8mhz Pro mini. Battery operations will be hard to achieve (not impossible though). But since you are aiming for OTA i guess you wont be using sleep/battery.
for how to write to the chip, im not the person to ask/answer since this is quite new to me but it seems like a fair price so maybe worth a shot.
@sundberg84 you raise an obvious point about upper voltage that I'd overlooked to to be honest. I'll make a 3.3v node up to test when the chips arrive to test. If it works, perhaps try to use on 5v node with a shifter. Will report back if they work or not. I see also in the code now, reference to using i2c eeproms. Plenty of options to try. Thanks
-
@sundberg84 you raise an obvious point about upper voltage that I'd overlooked to to be honest. I'll make a 3.3v node up to test when the chips arrive to test. If it works, perhaps try to use on 5v node with a shifter. Will report back if they work or not. I see also in the code now, reference to using i2c eeproms. Plenty of options to try. Thanks
Not making too much headway with this. Chips arrived, soldered on the the reverse side of the easypcb. Not able to get any sign of the flash being seen. One odd thing, the physical solder pad for the flash chip, pin 6 on my boards isn't connected to sck of the arduino pin 13 at all, just a bare solder pad. I've bridged this with wire, still no luck. Hmmmm...! More experiments ahead, good fun!