Jag försöker kompilera standard-firmware för tellstick-duo. Kompileringen går bra, det genereras en hex-fil, den går att ladda, den verkar fungera som den ska. RX fungerar verkar det som. Viking-sensorer dyker upp och även min grannes Oregon-sensor. TX fungerar delvis eftersom min Nexa self-learning vägguttagsbrytare fungerar, men Nexa vägguttagsbrytare av typen codeswitch slutar att fungera.
En direkt skillnad jag kan se är att den officiella Rev.12 firmware inte har samma storlek som min firmware som jag bygger.
Officiell fw: 45 868 bytes
Min fw: 22 384 bytes
Min byggmiljö:
Debian jessie/sid
cmake version 2.8.12.2
Hi-Tech Pro (demo mode med >40 dagar kvar): 9.63PL3
Tellstick-DUO Batch: 3 SN:452
Jag följer README-instruktionen från http://git.telldus.com/tellstick-duo.git
Code: Select all
git clone http://git.telldus.com/tellstick-duo.git
cd tellstick-duo
git submodule init
git submodule update
mkdir build
cd build
cmake ../firmware -DPICC18_PATH=/usr/hitech/picc-18/pro/9.63PL3/bin/picc18
make all
Code: Select all
$ make all
[ 3%] Compiling main.c
HI-TECH C PRO for the PIC18 MCU Family V9.63PL3
Copyright (C) 1984-2009 HI-TECH SOFTWARE
licensed for evaluation purposes only
this licence will expire on Tue, 27 Oct 2015
: : Employing 18F4520 errata work-arounds:
: : * Corrupted fast interrupt shadow registers
[ 6%] Compiling message.c
HI-TECH C PRO for the PIC18 MCU Family V9.63PL3
Copyright (C) 1984-2009 HI-TECH SOFTWARE
licensed for evaluation purposes only
this licence will expire on Tue, 27 Oct 2015
: : Employing 18F4520 errata work-arounds:
: : * Corrupted fast interrupt shadow registers
[ 9%] Compiling pwm.c
HI-TECH C PRO for the PIC18 MCU Family V9.63PL3
Copyright (C) 1984-2009 HI-TECH SOFTWARE
licensed for evaluation purposes only
this licence will expire on Tue, 27 Oct 2015
: : Employing 18F4520 errata work-arounds:
: : * Corrupted fast interrupt shadow registers
[ 12%] Compiling rf.c
HI-TECH C PRO for the PIC18 MCU Family V9.63PL3
Copyright (C) 1984-2009 HI-TECH SOFTWARE
licensed for evaluation purposes only
this licence will expire on Tue, 27 Oct 2015
: : Employing 18F4520 errata work-arounds:
: : * Corrupted fast interrupt shadow registers
[ 15%] Compiling usart.c
HI-TECH C PRO for the PIC18 MCU Family V9.63PL3
Copyright (C) 1984-2009 HI-TECH SOFTWARE
licensed for evaluation purposes only
this licence will expire on Tue, 27 Oct 2015
: : Employing 18F4520 errata work-arounds:
: : * Corrupted fast interrupt shadow registers
/home/niclas/work/tellstick-duo/firmware/usart.c: 173: (359) illegal conversion between pointer types (warning)
/home/niclas/work/tellstick-duo/firmware/usart.c: 185: (359) illegal conversion between pointer types (warning)
/home/niclas/work/tellstick-duo/firmware/usart.c: 197: (359) illegal conversion between pointer types (warning)
/home/niclas/work/tellstick-duo/firmware/usart.c: 200: (359) illegal conversion between pointer types (warning)
[ 18%] Compiling /home/niclas/work/tellstick-duo/rf/arctech.c
HI-TECH C PRO for the PIC18 MCU Family V9.63PL3
Copyright (C) 1984-2009 HI-TECH SOFTWARE
licensed for evaluation purposes only
this licence will expire on Tue, 27 Oct 2015
: : Employing 18F4520 errata work-arounds:
: : * Corrupted fast interrupt shadow registers
[ 21%] Compiling /home/niclas/work/tellstick-duo/rf/crc.c
HI-TECH C PRO for the PIC18 MCU Family V9.63PL3
Copyright (C) 1984-2009 HI-TECH SOFTWARE
licensed for evaluation purposes only
this licence will expire on Tue, 27 Oct 2015
: : Employing 18F4520 errata work-arounds:
: : * Corrupted fast interrupt shadow registers
[ 24%] Compiling /home/niclas/work/tellstick-duo/rf/everflourish.c
HI-TECH C PRO for the PIC18 MCU Family V9.63PL3
Copyright (C) 1984-2009 HI-TECH SOFTWARE
licensed for evaluation purposes only
this licence will expire on Tue, 27 Oct 2015
: : Employing 18F4520 errata work-arounds:
: : * Corrupted fast interrupt shadow registers
[ 27%] Compiling /home/niclas/work/tellstick-duo/rf/fineoffset.c
HI-TECH C PRO for the PIC18 MCU Family V9.63PL3
Copyright (C) 1984-2009 HI-TECH SOFTWARE
licensed for evaluation purposes only
this licence will expire on Tue, 27 Oct 2015
: : Employing 18F4520 errata work-arounds:
: : * Corrupted fast interrupt shadow registers
[ 30%] Compiling /home/niclas/work/tellstick-duo/rf/hasta.c
HI-TECH C PRO for the PIC18 MCU Family V9.63PL3
Copyright (C) 1984-2009 HI-TECH SOFTWARE
licensed for evaluation purposes only
this licence will expire on Tue, 27 Oct 2015
: : Employing 18F4520 errata work-arounds:
: : * Corrupted fast interrupt shadow registers
[ 33%] Compiling /home/niclas/work/tellstick-duo/rf/mandolyn.c
HI-TECH C PRO for the PIC18 MCU Family V9.63PL3
Copyright (C) 1984-2009 HI-TECH SOFTWARE
licensed for evaluation purposes only
this licence will expire on Tue, 27 Oct 2015
: : Employing 18F4520 errata work-arounds:
: : * Corrupted fast interrupt shadow registers
[ 36%] Compiling /home/niclas/work/tellstick-duo/rf/oregon.c
HI-TECH C PRO for the PIC18 MCU Family V9.63PL3
Copyright (C) 1984-2009 HI-TECH SOFTWARE
licensed for evaluation purposes only
this licence will expire on Tue, 27 Oct 2015
: : Employing 18F4520 errata work-arounds:
: : * Corrupted fast interrupt shadow registers
[ 39%] Compiling /home/niclas/work/tellstick-duo/rf/oregonv3.c
HI-TECH C PRO for the PIC18 MCU Family V9.63PL3
Copyright (C) 1984-2009 HI-TECH SOFTWARE
licensed for evaluation purposes only
this licence will expire on Tue, 27 Oct 2015
: : Employing 18F4520 errata work-arounds:
: : * Corrupted fast interrupt shadow registers
[ 42%] Compiling /home/niclas/work/tellstick-duo/rf/receive.c
HI-TECH C PRO for the PIC18 MCU Family V9.63PL3
Copyright (C) 1984-2009 HI-TECH SOFTWARE
licensed for evaluation purposes only
this licence will expire on Tue, 27 Oct 2015
: : Employing 18F4520 errata work-arounds:
: : * Corrupted fast interrupt shadow registers
[ 45%] Compiling /home/niclas/work/tellstick-duo/rf/transmit.c
HI-TECH C PRO for the PIC18 MCU Family V9.63PL3
Copyright (C) 1984-2009 HI-TECH SOFTWARE
licensed for evaluation purposes only
this licence will expire on Tue, 27 Oct 2015
: : Employing 18F4520 errata work-arounds:
: : * Corrupted fast interrupt shadow registers
/home/niclas/work/tellstick-duo/rf/transmit.c: 68: (359) illegal conversion between pointer types (warning)
[ 48%] Compiling /home/niclas/work/tellstick-duo/rf/x10.c
HI-TECH C PRO for the PIC18 MCU Family V9.63PL3
Copyright (C) 1984-2009 HI-TECH SOFTWARE
licensed for evaluation purposes only
this licence will expire on Tue, 27 Oct 2015
: : Employing 18F4520 errata work-arounds:
: : * Corrupted fast interrupt shadow registers
[ 51%] Linking TellStickDuo.hex
HI-TECH C PRO for the PIC18 MCU Family V9.63PL3
Copyright (C) 1984-2009 HI-TECH SOFTWARE
licensed for evaluation purposes only
this licence will expire on Tue, 27 Oct 2015
Employing 18F4520 errata work-arounds:
* Corrupted fast interrupt shadow registers
Memory Summary:
Program space used 1FAAh ( 8106) of 8000h bytes ( 24.7%)
Data space used 5B0h ( 1456) of 600h bytes ( 94.8%)
EEPROM space used 0h ( 0) of 100h bytes ( 0.0%)
ID Location space used 0h ( 0) of 8h nibbles ( 0.0%)
Configuration bits used 4h ( 4) of 7h words ( 57.1%)
[100%] Built target TellStickDuo
Jag har även provat att kompilera med,
Microchip MPLAB XC8 C Compiler V1.34
utan att det gör någon skillnad.

Flashar jag in orginalfirmware Rev.12 så fungerar det som det ska igen.
