[Solved] FOTA Not Working
-
I can confirm that FOTA is working on all frequency, except 8Mhz... I can't get it working on FOTA or FTDI on the 8Mhz version of MYSBootloader!
Can any one help me with this?
Thank you
-
I can confirm that FOTA is working on all frequency, except 8Mhz... I can't get it working on FOTA or FTDI on the 8Mhz version of MYSBootloader!
Can any one help me with this?
Thank you
-
@tekka said in FOTA Not Working:
57600
hello @tekka I tested out with:
57600
38400
19200
9600
4800
2400None worked, strange that is working on the 16Mhz and 1Mhz, and only the 8Mhz is giving problems... exactly the one that I wanted to use... lol
Thank You
-
@tekka said in FOTA Not Working:
57600
hello @tekka I tested out with:
57600
38400
19200
9600
4800
2400None worked, strange that is working on the 16Mhz and 1Mhz, and only the 8Mhz is giving problems... exactly the one that I wanted to use... lol
Thank You
-
@tekka said in FOTA Not Working:
57600
hello @tekka I tested out with:
57600
38400
19200
9600
4800
2400None worked, strange that is working on the 16Mhz and 1Mhz, and only the 8Mhz is giving problems... exactly the one that I wanted to use... lol
Thank You
-
Do you mean over here @tekka?
/* set the UART baud rate defaults */ #ifndef BAUD_RATE #if F_CPU >= 8000000L #define BAUD_RATE 115200L #elif F_CPU >= 1000000L #define BAUD_RATE 9600L // 19200 also supported, but with significant error #elif F_CPU >= 128000L #define BAUD_RATE 4800L // Good for 128kHz internal RC #else #define BAUD_RATE 1200L // Good even at 32768Hz #endif #endifNo, I will try it... Can I do it in "Atom"? any special settings?
Thank You
-
Do you mean over here @tekka?
/* set the UART baud rate defaults */ #ifndef BAUD_RATE #if F_CPU >= 8000000L #define BAUD_RATE 115200L #elif F_CPU >= 1000000L #define BAUD_RATE 9600L // 19200 also supported, but with significant error #elif F_CPU >= 128000L #define BAUD_RATE 4800L // Good for 128kHz internal RC #else #define BAUD_RATE 1200L // Good even at 32768Hz #endif #endifNo, I will try it... Can I do it in "Atom"? any special settings?
Thank You
-
@tekka it worked :) Thank you for your assist, it was my first time doing this... so... :)
I made the change to HW.h to
#ifndef BAUD_RATE #if F_CPU >= 16000000L #define BAUD_RATE 115200L #elif F_CPU >= 8000000L #define BAUD_RATE 57600L #elif F_CPU >= 1000000L #define BAUD_RATE 9600L // 19200 also supported, but with significant error #elif F_CPU >= 128000L #define BAUD_RATE 4800L // Good for 128kHz internal RC #else #define BAUD_RATE 1200L // Good even at 32768Hz #endif #endifCompilled the new bootloader, and replaced it on the Arduino IDE folder... Flashed the new 8Mhz Bootloader to my node and now FTDI works... When I get home I'll test out FOTA and post back the results.
Will you change the GitHub Repo to take into account this change? Or is this a local problem only to me? Do you want me to submit change the code and hex file and submit a change request?
Thank You
-
@tekka it worked :) Thank you for your assist, it was my first time doing this... so... :)
I made the change to HW.h to
#ifndef BAUD_RATE #if F_CPU >= 16000000L #define BAUD_RATE 115200L #elif F_CPU >= 8000000L #define BAUD_RATE 57600L #elif F_CPU >= 1000000L #define BAUD_RATE 9600L // 19200 also supported, but with significant error #elif F_CPU >= 128000L #define BAUD_RATE 4800L // Good for 128kHz internal RC #else #define BAUD_RATE 1200L // Good even at 32768Hz #endif #endifCompilled the new bootloader, and replaced it on the Arduino IDE folder... Flashed the new 8Mhz Bootloader to my node and now FTDI works... When I get home I'll test out FOTA and post back the results.
Will you change the GitHub Repo to take into account this change? Or is this a local problem only to me? Do you want me to submit change the code and hex file and submit a change request?
Thank You
-
@soloam well done! Yes, please go ahead and submit a PR with the necessary changes. I will review it later this week.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login