tellstick-net custom firmware build
Moderator: Telldus
tellstick-net custom firmware build
Hi,
I have setup my tellstick-net with telldus-live. I would like to build custom firmware. I'm under Windows 7 x86.
I have follow this page : http://developer.telldus.com/blog/2012/ ... n-firmware and the README.TXT
cmake seems to work correctly but what doing with make ?
Thanks..
I have setup my tellstick-net with telldus-live. I would like to build custom firmware. I'm under Windows 7 x86.
I have follow this page : http://developer.telldus.com/blog/2012/ ... n-firmware and the README.TXT
cmake seems to work correctly but what doing with make ?
Thanks..
Using a Tellstick Net aussi
-
- Site Admin
- Posts: 2243
- Joined: Fri Mar 17, 2023 9:45 am
- Location: Lund
- Contact:
Re: tellstick-net custom firmware build
Quote from the README:
If you want to build under any other platform you should probably use some other generator than makefiles in cmake.The firmware must be compiled on a Linux machine.
Micke Prag
Software
Telldus Technologies
Software
Telldus Technologies
Re: tellstick-net custom firmware build
Ok thanks, so i stop loosing my time with windows.
What is the best distrib for you ?
What is the best distrib for you ?
Using a Tellstick Net aussi
Re: tellstick-net custom firmware build
Ok I have installed a Debian. I can't find Hi-Tech 9.63 download link for compiler, only 9.80.
May be is my problem to compile firmware project ?
May be is my problem to compile firmware project ?
Code: Select all
-- The C compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Configuring done
CMake Error in CMakeLists.txt:
Cannot find source file "arctech.c". Tried extensions .c .C .c++ .cc .cpp
.cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx
-- Build files have been written to: /.git/tellstick-net/build
Last edited by ritro on Mon Sep 10, 2012 6:32 am, edited 2 times in total.
Using a Tellstick Net aussi
Re: tellstick-net custom firmware build
If finally found v9.63PL
Code: Select all
Use the FTP details below to log in to the HI-TECH C Compiler archive:
ftp://ftp.microchip.com
Username: Compilers-RO
Password: C0mP!0511
Last edited by ritro on Mon Sep 10, 2012 6:32 am, edited 2 times in total.
Using a Tellstick Net aussi
Re: tellstick-net custom firmware build
So i have modified findrf.cmake and findtcpip.cmake. Adding line
SET(CMAKE_CURRENT_LIST_DIR
${CMAKE_SOURCE_DIR}/../rf (&tcpip)
)
Running Make, but :
SET(CMAKE_CURRENT_LIST_DIR
${CMAKE_SOURCE_DIR}/../rf (&tcpip)
)
Code: Select all
-- The C compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Configuring done
-- Generating done
-- Build files have been written to: /.git/tellstick-net/build
Code: Select all
Scanning dependencies of target TellStickNet
[ 0%] Compiling common.c
make[2]: execvp: /usr/hitech/picc-18/pro/9.63PL3/bin: Permission non accordée
make[2]: *** [common.p1] Erreur 127
make[1]: *** [CMakeFiles/TellStickNet.dir/all] Erreur 2
make: *** [all] Erreur 2
Last edited by ritro on Mon Sep 10, 2012 6:31 am, edited 1 time in total.
Using a Tellstick Net aussi
Re: tellstick-net custom firmware build
I have found :
cmake ../firmware -DPICC18_PATH=<path to picc18> -DDEBUG=n -DDEVICE_ADDRESS=<ip address for TellStick Net>
where <path to picc18> must include picc18 string
cmake ../firmware -DPICC18_PATH=<path to picc18> -DDEBUG=n -DDEVICE_ADDRESS=<ip address for TellStick Net>
where <path to picc18> must include picc18 string
Using a Tellstick Net aussi
Re: tellstick-net custom firmware build
So custom firmware uploaded after 1 brick, but this page help to restore :
http://developer.telldus.com/wiki/How_t ... lStick_Net
After uploading, client/send.py mke light blinking.
http://developer.telldus.com/wiki/How_t ... lStick_Net
After uploading, client/send.py mke light blinking.
Using a Tellstick Net aussi
Re: tellstick-net custom firmware build
I'm wondering about Tellstick-net firmware X. What is it able to do. Is it possible to see upgraded firmware 4 code source ? Or other sample code ?
In a first time i want to redirect sensors frames to putty.
Thanks
In a first time i want to redirect sensors frames to putty.
Thanks
Using a Tellstick Net aussi
-
- Site Admin
- Posts: 2243
- Joined: Fri Mar 17, 2023 9:45 am
- Location: Lund
- Contact:
Re: tellstick-net custom firmware build
Firmware 4 is based on the exact code.There is also a sample client software available in the 'client' folder. It is written in python and shows both the autodiscovery feature as well as sending a simple command.
Micke Prag
Software
Telldus Technologies
Software
Telldus Technologies
Re: tellstick-net custom firmware build
Could you say us what is the difference between this 2 firmware. Is there more documentation to explore local firmware?
Could you explain us if it is possible to capture sensor by the way of local firmware and if we could help you to declare new devices. In case case of new devices, were have they to be declared ? on telldus(-core/-live) only or both of telldus/firmware ?
Thanx
Could you explain us if it is possible to capture sensor by the way of local firmware and if we could help you to declare new devices. In case case of new devices, were have they to be declared ? on telldus(-core/-live) only or both of telldus/firmware ?
Thanx
Using a Tellstick Net aussi
-
- Site Admin
- Posts: 2243
- Joined: Fri Mar 17, 2023 9:45 am
- Location: Lund
- Contact:
Re: tellstick-net custom firmware build
Official firmware: Connects to Telldus Live!ritro wrote:Could you say us what is the difference between this 2 firmware.
Local firmware: Functions for accessing it locally.
Yes, it contains the exact same code for receiving sensors as firmware 4.ritro wrote:Could you explain us if it is possible to capture sensor by the way of local firmware and if we could help you to declare new devices.
New sensors need to be implemented both in firmware and telldus(-core/-live). Implementing in the firmware is the first step and implementing it on the server side is usually quite simple.
Micke Prag
Software
Telldus Technologies
Software
Telldus Technologies
Re: tellstick-net custom firmware build
Ok, thanks for return.
So, one more question : where can i find Otio implementation in X-firmware.
ProtocolRisingSun.c isn't it ?
I want to implement it on receive, where can i find info on this protocol or should i capture ?
Thanx
So, one more question : where can i find Otio implementation in X-firmware.
ProtocolRisingSun.c isn't it ?
I want to implement it on receive, where can i find info on this protocol or should i capture ?
Thanx
Using a Tellstick Net aussi
-
- Site Admin
- Posts: 2243
- Joined: Fri Mar 17, 2023 9:45 am
- Location: Lund
- Contact:
Re: tellstick-net custom firmware build
For transmitting this is not implemented in the firmware. You can take a look at our code for telldus-core here: http://developer.telldus.com/browser/te ... ingSun.cpp
Micke Prag
Software
Telldus Technologies
Software
Telldus Technologies