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

LA104 add new protocol into filmware #119

Open
kopRF opened this issue Aug 9, 2023 · 5 comments
Open

LA104 add new protocol into filmware #119

kopRF opened this issue Aug 9, 2023 · 5 comments

Comments

@kopRF
Copy link

kopRF commented Aug 9, 2023

https://github.com/gabonator/LA104/pull/116/commits
I saw that someone is creating a new protocol for the application, understood which changes in the files need to be replaced, but I don't know how to implement it in the firmware to create a ".hex" file. I have Windows, and I would appreciate your help.

@McGr3g0r
Copy link

McGr3g0r commented Aug 9, 2023

Hi, you are referring to my commit. You need to either rebuild the whole firmware and flash it as described here:

https://github.com/gabonator/LA104/tree/master/resources/tutorial_building

or you could just replace the single binary for the rftool.elf (after making a copy of the original)

After the build the binary is located in
system/apps_featured/80_rftool/build/80rftool.elf
1 ) Stop the RFtool on the LA104.
2) Just copy the 80rftool.elf to /rtfool/rftool.elf on the target USB drive when the LA104 is connected to the PC via USB and
3) Start the RFTool

By the way, later I did imlement another protocol (EV1527) but there is a limitation on how many protocols can be embedded into the program (size of the file and SRAM memory is the limitation I guess) - I had to remove other protocols unimportant to me. Maybe It would be worth to build two versions of RFtool binaries with split protocols.

@kopRF
Copy link
Author

kopRF commented Aug 10, 2023

Hello! Thank you very much for your response 🙂. However, I don't know how to create a new binary file 80rftool.elf using the data you provided me with. Even after you explained the process, I'm still facing difficulties. Perhaps I'm not searching for information correctly on Google or my queries are not accurate. I'm not a programmer, but I'm trying to learn gradually because it's interesting to me. Therefore, its litle dificult for me... :(

@gabonator
Copy link
Owner

At first you need to build the OS, then library, then any application you want, just follow this tutorial and let us know which step doesn't work for you:
https://github.com/gabonator/LA104/tree/master/resources/tutorial_building#mac-osx--linux

@loewal
Copy link

loewal commented Sep 29, 2023

Did a complete recompile. Went well!
Then copied 80rftool.elf after renaming to rftool.elf to LA104, overwriting the old one.
Now I get an assertion error.
What am I doing 'wrong'?

@gabonator
Copy link
Owner

What is the assertion?

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

4 participants