You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have programmed a new firmware in which I have defined the F52 handler to read I²C sensors. The firmware works fine when I manually upload it to the Farmduino via my laptop. However, I have difficulties integrating the firmware into the FarmBot operating system so that the “custom” firmware is flashed automatically.
I followed the instructions on the FarmBot Developer documentation for this process, specifically the section on flashing the custom.hex file to the SD card. Unfortunately, I am missing detailed instructions to ensure that the firmware is correctly integrated into the system.
Question 1: Could you please provide me with a more detailed explanation or steps on how to successfully integrate the new firmware into the operating system?
Second problem:
Another problem occurs after the firmware is successfully integrated: I cannot display the read out sensor data in the WebApp.
I have tried to execute the F42 code via Lua, for example, but unfortunately no return value is returned. Although the code is passed to the firmware, the system does not seem to wait for the return value.
Question 2: Is there a way to fix this problem so that the WebApp waits for the return value and displays the sensor data correctly?
System information:
Firmware version: Custom firmware with F52 handler for I²C sensors (based on current version on github)
FarmBot version: Genesis v1.6
Operating system/platform: current version on github
Documentation used: https://developer.farm.bot/v15/docs/firmware/custom-firmware.html
Thank you very much for your help!
Finn
The text was updated successfully, but these errors were encountered:
Hello,
I have programmed a new firmware in which I have defined the F52 handler to read I²C sensors. The firmware works fine when I manually upload it to the Farmduino via my laptop. However, I have difficulties integrating the firmware into the FarmBot operating system so that the “custom” firmware is flashed automatically.
I followed the instructions on the FarmBot Developer documentation for this process, specifically the section on flashing the custom.hex file to the SD card. Unfortunately, I am missing detailed instructions to ensure that the firmware is correctly integrated into the system.
Question 1: Could you please provide me with a more detailed explanation or steps on how to successfully integrate the new firmware into the operating system?
Second problem:
Another problem occurs after the firmware is successfully integrated: I cannot display the read out sensor data in the WebApp.
I have tried to execute the F42 code via Lua, for example, but unfortunately no return value is returned. Although the code is passed to the firmware, the system does not seem to wait for the return value.
Question 2: Is there a way to fix this problem so that the WebApp waits for the return value and displays the sensor data correctly?
System information:
Firmware version: Custom firmware with F52 handler for I²C sensors (based on current version on github)
FarmBot version: Genesis v1.6
Operating system/platform: current version on github
Documentation used: https://developer.farm.bot/v15/docs/firmware/custom-firmware.html
Thank you very much for your help!
Finn
The text was updated successfully, but these errors were encountered: