Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with the integration and use of my created firmware with F52 Handler #1518

Open
FinnRoters opened this issue Sep 16, 2024 · 0 comments

Comments

@FinnRoters
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant