STM32?
-
So.. I accidentally bought something from Aliexpress that I thought was a cheap Arduino Nano.
But it's not.
It's an STM32F103C8T6. It has an arm chip.
Is it useable with MySensors? Does it emulate an Arduino Nano? Of so, it looks like it has more memory, so could that be useful? It's cheaper too, and it has lots of 3v lines.
I just found this page where someone talks about their adventures with this board. Hmm...
-
stm32 sensor is unable to connect to gateway:
After further testing, this seems to work now. I'm not exactly sure why unfortunately. I'm now using the new RFM69 library. I noticed that communication seems to fail after uploading the sketch over stlink, even when clicking the reset button. When disconnecting/reconnecting the usb power all works well. Maybe that was the issue previously as well.
stm32 sensor is unable to connect to gateway:
After further testing, this seems to work now. I'm not exactly sure why unfortunately. I'm now using the new RFM69 library. I noticed that communication seems to fail after uploading the sketch over stlink, even when clicking the reset button. When disconnecting/reconnecting the usb power all works well. Maybe that was the issue previously as well.
Just following up on this as I finally found out why this is happening. I was using encryption and using serial upload (using stm32flash), the simulated eeprom would get overwritten by the flash erase. Not sure if this happens for dfu or stlink as well. Uploading using the black magic probe (which uses dbg) does not have this problem. I hope this may help someone struggling with the same issue.
Edit: not sure about dfu or stlink.
-
@nagelc Yes I did. My bootloader - https://github.com/mysensors-rus/STM32_Mysensors_bootloader. My modified MySensors library - https://github.com/mysensors-rus/MySensors. Short description in Russian - https://mysensors-rus.github.io/STM32-OTA-MySensors
-
@nagelc Yes I did. My bootloader - https://github.com/mysensors-rus/STM32_Mysensors_bootloader. My modified MySensors library - https://github.com/mysensors-rus/MySensors. Short description in Russian - https://mysensors-rus.github.io/STM32-OTA-MySensors
-
@dab0g Wow! I did not expect anyone to answer. This is really great. I have a remote control lamp and a thermostat that use the STM32 and it would great to be able to program them OTA. I'll check it out.
