[Solved] How to adjust MySBootloader files to compile other EN & CSN pins different channel and external 8MHz crystal
-
Is this the only adjustment that I needed to make?
// set pin mode: MOSI,SCLK,CE,CSN = OUTPUT, MISO = INPUT (=> all on same port) SPI_DDR = _BV(SPI_MOSI) | _BV(SPI_SCLK) | _BV(CE_PIN) | _BV(PB2) | _BV(CSN_PIN); //CSN_DDR = _BV(CSN_PIN);at this point there is no fota and somewhere in the past days Serial update using the uart has also been destroyed again. I think I should restart with a clean download and start again. I am afraid I changed things I should not have,
The log from running make. I notice now that some parts are failed. But I do not know what that means. I do not remember if this was alway the case. This might be a clue that something went wrong.
G:\OneDrive\Arduino\mysensors\MySensorsBootloaderRF24-development>make rm *.o process_begin: CreateProcess(NULL, rm *.o, ...) failed. make (e=2): Het systeem kan het opgegeven bestand niet vinden. make: [clean] Fout 2 (genegeerd) rm *.elf process_begin: CreateProcess(NULL, rm *.elf, ...) failed. make (e=2): Het systeem kan het opgegeven bestand niet vinden. make: [clean] Fout 2 (genegeerd) rm *.hex process_begin: CreateProcess(NULL, rm *.hex, ...) failed. make (e=2): Het systeem kan het opgegeven bestand niet vinden. make: [clean] Fout 2 (genegeerd) "C:/Program Files (x86)/Atmel/Studio/7.0/toolchain/avr8/avr8-gnu-toolchain/bin/avr-objcopy" -O ihex -R .eeprom MYSBootloader.elf MYSBootloader.hex "C:/Program Files (x86)/Atmel/Studio/7.0/toolchain/avr8/avr8-gnu-toolchain/bin/avr-size" MYSBootloader.elf text data bss dec hex filename 2032 6 71 2109 83d MYSBootloader.elfWith a fresh download of all the files without any changes to the make file I get this:
It says in dutch "make (e=2) the system can not find the file specified"rm *.o process_begin: CreateProcess(NULL, rm *.o, ...) failed. make (e=2): Het systeem kan het opgegeven bestand niet vinden. make: [clean] Fout 2 (genegeerd) rm *.elf process_begin: CreateProcess(NULL, rm *.elf, ...) failed. make (e=2): Het systeem kan het opgegeven bestand niet vinden. make: [clean] Fout 2 (genegeerd) rm *.hex process_begin: CreateProcess(NULL, rm *.hex, ...) failed. make (e=2): Het systeem kan het opgegeven bestand niet vinden. make: [clean] Fout 2 (genegeerd) "C:/Program Files (x86)/Atmel/Studio/7.0/toolchain/avr8/avr8-gnu-toolchain/bin/avr-gcc" -I"C:/Program Files (x86)/Atmel/Studio/7.0/toolchain/avr8/avr8-gnu-toolchain/avr/include/avr " -funsigned-char -funsigned-bitfields -DF_CPU=16000000L -DBAUD_RATE=115200 -Os -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -mrelax -Wall -Wextra -Wundef -pedantic -mmcu=atmega328p -c -std=gnu99 -MD -MP -MF "MYSBootloader.d" -MT"MYSBootloader.d" -MT"MYSBootloader.o" MYSBootloader.c -o MYSBootloader.o In file included from Core.h:40:0, from MYSBootloader.c:81: HW.h:51:4: warning: #warning is a GCC extension #warning BAUD_RATE error greater than 2% ^ HW.h:51:4: warning: #warning BAUD_RATE error greater than 2% [-Wcpp] "C:/Program Files (x86)/Atmel/Studio/7.0/toolchain/avr8/avr8-gnu-toolchain/bin/avr-gcc" -nostartfiles -Wl,-s -Wl,-static -Wl,-Map=".map" -Wl,--start-group -Wl,--end-group -Wl,--gc-sections -mrelax -Wl,-section-start=.text=0x7800 -mmcu=atmega328p -o MYSBootloader.elf MYSBootloader.o -lm "C:/Program Files (x86)/Atmel/Studio/7.0/toolchain/avr8/avr8-gnu-toolchain/bin/avr-objcopy" -O ihex -R .eeprom MYSBootloader.elf MYSBootloader.hex "C:/Program Files (x86)/Atmel/Studio/7.0/toolchain/avr8/avr8-gnu-toolchain/bin/avr-size" MYSBootloader.elf text data bss dec hex filename 2032 6 71 2109 83d MYSBootloader.elf@Joerideman You can ignore that warning (it is related to rm not being found).
Can you try this .hex file: CE=8, CSN=9, CLK=8MHz, BAUD=57600, RF24 channel=122: download file
Please post the log of the bootloader flashing process...
-
This definetly did something. Further in this post the log from uploading the bootloader and then a serial output from the gateway than the debug output of myScontroller. There is a lot of chatting, but to me it looks like its the same set of messages everytime. I tried assigning the blink message, and than a whole lot more is going on. So maybe there is something about the firmware config file that I don't understand. I put my input at the end of this post.
avrDudess log, because arduino ide doesn't tell me much.
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ avrdude.exe: set SCK frequency to 1500000 Hz avrdude.exe: warning: cannot set sck period. please check for usbasp firmware update. avrdude.exe: AVR device initialized and ready to accept instructions Reading | ################################################## | 100% 0.02s avrdude.exe: Device signature = 0x1e950f (probably m328p) avrdude.exe: NOTE: "flash" memory has been specified, an erase cycle will be performed To disable this feature, specify the -D option. avrdude.exe: erasing chip avrdude.exe: set SCK frequency to 1500000 Hz avrdude.exe: warning: cannot set sck period. please check for usbasp firmware update. avrdude.exe: reading input file "C:\Users\joeri\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\bootloaders\mySensors\MYSBootloader_CE8_CSN9_CH122_8Mhz_57k6.hex" avrdude.exe: input file C:\Users\joeri\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\bootloaders\mySensors\MYSBootloader_CE8_CSN9_CH122_8Mhz_57k6.hex auto detected as Intel Hex avrdude.exe: writing flash (32762 bytes): Writing | ################################################## | 100% -0.00s avrdude.exe: 32762 bytes of flash written avrdude.exe: verifying flash memory against C:\Users\joeri\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\bootloaders\mySensors\MYSBootloader_CE8_CSN9_CH122_8Mhz_57k6.hex: avrdude.exe: load data flash data from input file C:\Users\joeri\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\bootloaders\mySensors\MYSBootloader_CE8_CSN9_CH122_8Mhz_57k6.hex: avrdude.exe: input file C:\Users\joeri\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\bootloaders\mySensors\MYSBootloader_CE8_CSN9_CH122_8Mhz_57k6.hex auto detected as Intel Hex avrdude.exe: input file C:\Users\joeri\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\bootloaders\mySensors\MYSBootloader_CE8_CSN9_CH122_8Mhz_57k6.hex contains 32762 bytes avrdude.exe: reading on-chip flash data: Reading | ################################################## | 100% 0.00s avrdude.exe: verifying ... avrdude.exe: 32762 bytes of flash verified avrdude.exe done. Thank you.14:12:38.035 -> 562420 TSF:MSG:FPAR REQ,ID=255 14:12:38.035 -> 562426 TSF:CKU:OK,FCTRL 14:12:38.035 -> 562430 TSF:MSG:GWL OK 14:12:38.302 -> 562695 ?TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:12:41.067 -> 565447 TSF:MSG:READ,255-255-0,s=255,c=3,t=3,pt=1,l=0,sg=0:0 14:12:41.270 -> 565669 GWT:RFC:C=0,MSG=255;255;3;0;4;1 14:12:41.270 -> 565680 ?TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=4,pt=0,l=1,sg=0,ft=0,st=OK:1 14:12:41.303 -> 565693 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:12:41.303 -> 565703 TSF:MSG:BC 14:12:41.303 -> 565706 TSF:MSG:FPAR REQ,ID=1 14:12:41.303 -> 565711 TSF:CKU:OK,FCTRL 14:12:41.303 -> 565716 TSF:MSG:GWL OK 14:12:41.809 -> 566196 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:12:44.336 -> 568733 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:12:44.336 -> 568743 TSF:MSG:BC 14:12:44.336 -> 568746 TSF:MSG:FPAR REQ,ID=1 14:12:44.370 -> 568751 TSF:CKU:OK,FCTRL 14:12:44.370 -> 568755 TSF:MSG:GWL OK 14:12:44.811 -> 569203 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:12:47.369 -> 571774 TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 14:12:47.404 -> 571789 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 14:12:47.979 -> 572360 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:12:51.011 -> 575402 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:12:54.042 -> 578443 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:12:57.077 -> 581484 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:13:00.990 -> 585400 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:13:01.024 -> 585410 TSF:MSG:BC 14:13:01.024 -> 585413 TSF:MSG:FPAR REQ,ID=1 14:13:01.024 -> 585418 TSF:PNG:SEND,TO=0 14:13:01.024 -> 585423 TSF:CKU:OK 14:13:01.024 -> 585426 TSF:MSG:GWL OK 14:13:01.763 -> 586161 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:13:04.058 -> 588449 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:13:04.058 -> 588459 TSF:MSG:BC 14:13:04.058 -> 588462 TSF:MSG:FPAR REQ,ID=1 14:13:04.058 -> 588467 TSF:CKU:OK,FCTRL 14:13:04.058 -> 588472 TSF:MSG:GWL OK 14:13:04.795 -> 589179 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:13:07.087 -> 591490 TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 14:13:07.122 -> 591505 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 14:13:07.696 -> 592077 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:13:10.716 -> 595118 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:13:13.776 -> 598159 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:13:16.814 -> 601201 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:13:20.726 -> 605116 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:13:20.726 -> 605127 TSF:MSG:BC 14:13:20.726 -> 605130 TSF:MSG:FPAR REQ,ID=1 14:13:20.726 -> 605135 TSF:PNG:SEND,TO=0 14:13:20.726 -> 605139 TSF:CKU:OK 14:13:20.726 -> 605142 TSF:MSG:GWL OK 14:13:21.736 -> 606137 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:13:23.771 -> 608165 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:13:23.771 -> 608175 TSF:MSG:BC 14:13:23.771 -> 608179 TSF:MSG:FPAR REQ,ID=1 14:13:23.771 -> 608184 TSF:CKU:OK,FCTRL 14:13:23.805 -> 608188 TSF:MSG:GWL OK 14:13:24.752 -> 609156 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:13:26.808 -> 611207 TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 14:13:26.808 -> 611221 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 14:13:27.382 -> 611793 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:13:30.445 -> 614834 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:13:31.355 -> 615744 GWT:RFC:C=0,MSG=1;0;3;0;13;0 14:13:31.355 -> 615755 TSF:MSG:SEND,0-0-1-1,s=0,c=3,t=13,pt=0,l=1,sg=0,ft=0,st=OK:0 14:13:33.484 -> 617876 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:13:33.484 -> 617897 GWT:RFC:C=0,MSG=1;0;4;0;1;0100020000082E8B 14:13:33.518 -> 617911 TSF:MSG:SEND,0-0-1-1,s=0,c=4,t=1,pt=6,l=8,sg=0,ft=0,st=OK:0100020000082E8B 14:13:37.427 -> 621833 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:13:37.427 -> 621843 TSF:MSG:BC 14:13:37.461 -> 621847 TSF:MSG:FPAR REQ,ID=1 14:13:37.461 -> 621852 TSF:PNG:SEND,TO=0 14:13:37.461 -> 621856 TSF:CKU:OK 14:13:37.461 -> 621859 TSF:MSG:GWL OK 14:13:37.766 -> 622163 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:13:40.491 -> 624882 TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 14:13:40.491 -> 624897 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 14:13:41.071 -> 625469 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:13:41.106 -> 625490 GWT:RFC:C=0,MSG=1;0;4;0;1;0100020000082E8B 14:13:41.106 -> 625504 TSF:MSG:SEND,0-0-1-1,s=0,c=4,t=1,pt=6,l=8,sg=0,ft=0,st=OK:0100020000082E8B 14:13:41.994 -> 626377 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:13:41.994 -> 626387 TSF:MSG:BC 14:13:41.994 -> 626391 TSF:MSG:FPAR REQ,ID=1 14:13:41.994 -> 626396 TSF:CKU:OK,FCTRL 14:13:41.994 -> 626400 TSF:MSG:GWL OK 14:13:42.742 -> 627148 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:13:45.017 -> 629426 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:13:45.017 -> 629436 TSF:MSG:BC 14:13:45.051 -> 629439 TSF:MSG:FPAR REQ,ID=1 14:13:45.051 -> 629444 TSF:CKU:OK,FCTRL 14:13:45.051 -> 629449 TSF:MSG:GWL OK 14:13:45.769 -> 630175 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:13:48.074 -> 632467 TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 14:13:48.074 -> 632482 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 14:13:48.652 -> 633053 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:13:48.687 -> 633072 GWT:RFC:C=0,MSG=1;0;4;0;1;0100020000082E8B 14:13:48.687 -> 633086 TSF:MSG:SEND,0-0-1-1,s=0,c=4,t=1,pt=6,l=8,sg=0,ft=0,st=OK:0100020000082E8B 14:13:52.616 -> 637008 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:13:52.616 -> 637018 TSF:MSG:BC 14:13:52.616 -> 637021 TSF:MSG:FPAR REQ,ID=1 14:13:52.616 -> 637026 TSF:CKU:OK,FCTRL 14:13:52.616 -> 637030 TSF:MSG:GWL OK 14:13:52.753 -> 637147 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:13:55.658 -> 640057 TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 14:13:55.658 -> 640072 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 14:13:56.234 -> 640643 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:13:56.268 -> 640662 GWT:RFC:C=0,MSG=1;0;4;0;1;0100020000082E8B 14:13:56.268 -> 640676 TSF:MSG:SEND,0-0-1-1,s=0,c=4,t=1,pt=6,l=8,sg=0,ft=0,st=OK:0100020000082E8B 14:13:57.149 -> 641549 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:13:57.149 -> 641559 TSF:MSG:BC 14:13:57.149 -> 641562 TSF:MSG:FPAR REQ,ID=1 14:13:57.183 -> 641567 TSF:CKU:OK,FCTRL 14:13:57.183 -> 641572 TSF:MSG:GWL OK 14:13:57.725 -> 642131 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:14:00.192 -> 644598 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:14:00.192 -> 644608 TSF:MSG:BC 14:14:00.226 -> 644611 TSF:MSG:FPAR REQ,ID=1 14:14:00.226 -> 644616 TSF:CKU:OK,FCTRL 14:14:00.226 -> 644621 TSF:MSG:GWL OK 14:14:00.768 -> 645157 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:14:03.252 -> 647639 TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 14:14:03.252 -> 647654 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 14:14:03.828 -> 648226 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:14:03.863 -> 648245 GWT:RFC:C=0,MSG=1;0;4;0;1;0100020000082E8B 14:14:03.863 -> 648259 TSF:MSG:SEND,0-0-1-1,s=0,c=4,t=1,pt=6,l=8,sg=0,ft=0,st=OK:0100020000082E8B 14:14:07.782 -> 652181 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:14:07.782 -> 652191 TSF:MSG:BC 14:14:07.782 -> 652195 TSF:MSG:FPAR REQ,ID=1 14:14:07.816 -> 652200 TSF:CKU:OK,FCTRL 14:14:07.816 -> 652204 TSF:MSG:GWL OK 14:14:08.764 -> 653156 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:14:10.836 -> 655230 TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 14:14:10.836 -> 655245 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 14:14:11.407 -> 655816 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:14:11.441 -> 655836 GWT:RFC:C=0,MSG=1;0;4;0;1;0100020000082E8B 14:14:11.441 -> 655850 TSF:MSG:SEND,0-0-1-1,s=0,c=4,t=1,pt=6,l=8,sg=0,ft=0,st=OK:0100020000082E8B 14:14:12.321 -> 656723 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:14:12.321 -> 656733 TSF:MSG:BC 14:14:12.321 -> 656736 TSF:MSG:FPAR REQ,ID=1 14:14:12.354 -> 656741 TSF:CKU:OK,FCTRL 14:14:12.354 -> 656746 TSF:MSG:GWL OK 14:14:12.723 -> 657119 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:14:15.387 -> 659772 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:14:15.387 -> 659782 TSF:MSG:BC 14:14:15.387 -> 659785 TSF:MSG:FPAR REQ,ID=1 14:14:15.387 -> 659790 TSF:CKU:OK,FCTRL 14:14:15.387 -> 659795 TSF:MSG:GWL OK 14:14:15.759 -> 660145 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:14:18.425 -> 662813 TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 14:14:18.425 -> 662828 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 14:14:18.998 -> 663400 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:14:19.032 -> 663420 GWT:RFC:C=0,MSG=1;0;4;0;1;0100020000082E8B 14:14:19.032 -> 663433 TSF:MSG:SEND,0-0-1-1,s=0,c=4,t=1,pt=6,l=8,sg=0,ft=0,st=OK:0100020000082E8B 14:14:22.962 -> 667355 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:14:22.962 -> 667365 TSF:MSG:BC 14:14:22.962 -> 667369 TSF:MSG:FPAR REQ,ID=1 14:14:22.962 -> 667374 TSF:CKU:OK,FCTRL 14:14:22.962 -> 667378 TSF:MSG:GWL OK 14:14:23.739 -> 668146 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:14:25.990 -> 670404 TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 14:14:26.023 -> 670419 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 14:14:26.595 -> 670991 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:14:26.630 -> 671021 GWT:RFC:C=0,MSG=1;0;4;0;1;0100020000082E8B 14:14:26.630 -> 671034 TSF:MSG:SEND,0-0-1-1,s=0,c=4,t=1,pt=6,l=8,sg=0,ft=0,st=OK:0100020000082E8B 14:14:27.504 -> 671908 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:14:27.504 -> 671918 TSF:MSG:BC 14:14:27.504 -> 671921 TSF:MSG:FPAR REQ,ID=1 14:14:27.537 -> 671926 TSF:CKU:OK,FCTRL 14:14:27.537 -> 671930 TSF:MSG:GWL OK 14:14:27.740 -> 672129 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:14:30.571 -> 674957 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:14:30.571 -> 674967 TSF:MSG:BC 14:14:30.571 -> 674970 TSF:MSG:FPAR REQ,ID=1 14:14:30.571 -> 674975 TSF:CKU:OK,FCTRL 14:14:30.571 -> 674979 TSF:MSG:GWL OK 14:14:30.772 -> 675157 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:14:33.599 -> 677998 TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 14:14:33.599 -> 678013 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 14:14:34.171 -> 678584 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:14:34.205 -> 678604 GWT:RFC:C=0,MSG=1;0;4;0;1;0100020000082E8B 14:14:34.205 -> 678617 TSF:MSG:SEND,0-0-1-1,s=0,c=4,t=1,pt=6,l=8,sg=0,ft=0,st=OK:0100020000082E8B 14:14:35.079 -> 679491 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:14:35.113 -> 679501 TSF:MSG:BC 14:14:35.113 -> 679504 TSF:MSG:FPAR REQ,ID=1 14:14:35.113 -> 679509 TSF:CKU:OK,FCTRL 14:14:35.113 -> 679514 TSF:MSG:GWL OK 14:14:35.720 -> 680127 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:14:38.142 -> 682540 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:14:38.142 -> 682550 TSF:MSG:BC 14:14:38.142 -> 682553 TSF:MSG:FPAR REQ,ID=1 14:14:38.142 -> 682558 TSF:CKU:OK,FCTRL 14:14:38.175 -> 682562 TSF:MSG:GWL OK 14:14:38.748 -> 683153 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:14:41.168 -> 685581 TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 14:14:41.202 -> 685596 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 14:14:41.772 -> 686167 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:14:41.772 -> 686188 GWT:RFC:C=0,MSG=1;0;4;0;1;0100020000082E8B 14:14:41.807 -> 686202 TSF:MSG:SEND,0-0-1-1,s=0,c=4,t=1,pt=6,l=8,sg=0,ft=0,st=OK:0100020000082E8B 14:14:45.713 -> 690124 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:14:45.713 -> 690134 TSF:MSG:BC 14:14:45.747 -> 690137 TSF:MSG:FPAR REQ,ID=1 14:14:45.747 -> 690142 TSF:CKU:OK,FCTRL 14:14:45.747 -> 690146 TSF:MSG:GWL OK 14:14:46.757 -> 691153 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:14:48.760 -> 693173 TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 14:14:48.793 -> 693187 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 14:14:49.365 -> 693759 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:14:49.365 -> 693779 GWT:RFC:C=0,MSG=1;0;4;0;1;0100020000082E8B 14:14:49.399 -> 693792 TSF:MSG:SEND,0-0-1-1,s=0,c=4,t=1,pt=6,l=8,sg=0,ft=0,st=OK:0100020000082E8B 14:14:50.274 -> 694666 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:14:50.274 -> 694676 TSF:MSG:BC 14:14:50.274 -> 694679 TSF:MSG:FPAR REQ,ID=1 14:14:50.274 -> 694684 TSF:CKU:OK,FCTRL 14:14:50.274 -> 694689 TSF:MSG:GWL OK 14:14:50.709 -> 695118 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:14:53.313 -> 697715 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:14:53.313 -> 697725 TSF:MSG:BC 14:14:53.313 -> 697728 TSF:MSG:FPAR REQ,ID=1 14:14:53.347 -> 697733 TSF:CKU:OK,FCTRL 14:14:53.347 -> 697737 TSF:MSG:GWL OK 14:14:53.747 -> 698143 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:14:56.350 -> 700756 TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 14:14:56.383 -> 700771 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 14:14:56.957 -> 701343 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:14:56.957 -> 701362 GWT:RFC:C=0,MSG=1;0;4;0;1;0100020000082E8B 14:14:56.991 -> 701376 TSF:MSG:SEND,0-0-1-1,s=0,c=4,t=1,pt=6,l=8,sg=0,ft=0,st=OK:0100020000082E8B 14:15:00.910 -> 705298 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:15:00.910 -> 705308 TSF:MSG:BC 14:15:00.910 -> 705311 TSF:MSG:FPAR REQ,ID=1 14:15:00.910 -> 705316 TSF:CKU:OK,FCTRL 14:15:00.910 -> 705320 TSF:MSG:GWL OK 14:15:01.750 -> 706141 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:15:03.937 -> 708347 TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 14:15:03.970 -> 708362 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 14:15:04.543 -> 708933 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:15:04.543 -> 708952 GWT:RFC:C=0,MSG=1;0;4;0;1;0100020000082E8B 14:15:04.576 -> 708966 TSF:MSG:SEND,0-0-1-1,s=0,c=4,t=1,pt=6,l=8,sg=0,ft=0,st=OK:0100020000082E8B 14:15:05.453 -> 709840 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:15:05.453 -> 709850 TSF:MSG:BC 14:15:05.453 -> 709853 TSF:MSG:FPAR REQ,ID=1 14:15:05.453 -> 709858 TSF:CKU:OK,FCTRL 14:15:05.453 -> 709862 TSF:MSG:GWL OK 14:15:05.692 -> 710105 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:15:08.487 -> 712889 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:15:08.487 -> 712899 TSF:MSG:BC 14:15:08.487 -> 712902 TSF:MSG:FPAR REQ,ID=1 14:15:08.520 -> 712907 TSF:CKU:OK,FCTRL 14:15:08.520 -> 712911 TSF:MSG:GWL OK 14:15:08.724 -> 713131 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:15:11.532 -> 715932 TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 14:15:11.532 -> 715947 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 14:15:12.108 -> 716518 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:15:12.141 -> 716547 GWT:RFC:C=0,MSG=1;0;4;0;1;0100020000082E8B 14:15:12.175 -> 716560 TSF:MSG:SEND,0-0-1-1,s=0,c=4,t=1,pt=6,l=8,sg=0,ft=0,st=OK:0100020000082E8B 14:15:16.094 -> 720482 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:15:16.094 -> 720493 TSF:MSG:BC 14:15:16.094 -> 720496 TSF:MSG:FPAR REQ,ID=1 14:15:16.094 -> 720501 TSF:CKU:OK,FCTRL 14:15:16.094 -> 720505 TSF:MSG:GWL OK 14:15:16.733 -> 721150 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:15:19.137 -> 723531 TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 14:15:19.137 -> 723546 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 14:15:19.706 -> 724118 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:15:19.740 -> 724138 GWT:RFC:C=0,MSG=1;0;4;0;1;0100020000082E8B 14:15:19.740 -> 724152 TSF:MSG:SEND,0-0-1-1,s=0,c=4,t=1,pt=6,l=8,sg=0,ft=0,st=OK:0100020000082E8B 14:15:20.616 -> 725026 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:15:20.616 -> 725036 TSF:MSG:BC 14:15:20.650 -> 725039 TSF:MSG:FPAR REQ,ID=1 14:15:20.650 -> 725044 TSF:CKU:OK,FCTRL 14:15:20.650 -> 725048 TSF:MSG:GWL OK 14:15:20.718 -> 725117 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:15:23.675 -> 728075 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:15:23.675 -> 728085 TSF:MSG:BC 14:15:23.675 -> 728088 TSF:MSG:FPAR REQ,ID=1 14:15:23.675 -> 728093 TSF:CKU:OK,FCTRL 14:15:23.708 -> 728097 TSF:MSG:GWL OK 14:15:23.742 -> 728142 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:15:26.709 -> 731116 TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 14:15:26.749 -> 731131 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 14:15:27.288 -> 731702 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:15:27.322 -> 731722 GWT:RFC:C=0,MSG=1;0;4;0;1;0100020000082E8B 14:15:27.322 -> 731736 TSF:MSG:SEND,0-0-1-1,s=0,c=4,t=1,pt=6,l=8,sg=0,ft=0,st=OK:0100020000082E8B 14:15:31.262 -> 735658 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:15:31.262 -> 735668 TSF:MSG:BC 14:15:31.262 -> 735671 TSF:MSG:FPAR REQ,ID=1 14:15:31.262 -> 735676 TSF:CKU:OK,FCTRL 14:15:31.262 -> 735680 TSF:MSG:GWL OK 14:15:31.730 -> 736141 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:15:34.298 -> 738707 TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 14:15:34.333 -> 738722 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 14:15:34.898 -> 739293 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:15:34.898 -> 739313 GWT:RFC:C=0,MSG=1;0;4;0;1;0100020000082E8B 14:15:34.932 -> 739327 TSF:MSG:SEND,0-0-1-1,s=0,c=4,t=1,pt=6,l=8,sg=0,ft=0,st=OK:0100020000082E8B 14:15:35.808 -> 740200 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:15:35.808 -> 740210 TSF:MSG:BC 14:15:35.808 -> 740213 TSF:MSG:FPAR REQ,ID=1 14:15:35.808 -> 740219 TSF:CKU:OK,FCTRL 14:15:35.808 -> 740223 TSF:MSG:GWL OK 14:15:36.725 -> 741130 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:15:38.844 -> 743249 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:15:38.844 -> 743259 TSF:MSG:BC 14:15:38.844 -> 743262 TSF:MSG:FPAR REQ,ID=1 14:15:38.877 -> 743267 TSF:CKU:OK,FCTRL 14:15:38.877 -> 743272 TSF:MSG:GWL OK 14:15:39.749 -> 744157 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:15:41.874 -> 746290 TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 14:15:41.907 -> 746305 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 14:15:42.482 -> 746876 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:15:42.482 -> 746897 GWT:RFC:C=0,MSG=1;0;4;0;1;0100020000082E8B 14:15:42.515 -> 746911 TSF:MSG:SEND,0-0-1-1,s=0,c=4,t=1,pt=6,l=8,sg=0,ft=0,st=OK:0100020000082E8B 14:15:43.392 -> 747784 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:15:43.392 -> 747795 TSF:MSG:BC 14:15:43.392 -> 747798 TSF:MSG:FPAR REQ,ID=1 14:15:43.392 -> 747803 TSF:CKU:OK,FCTRL 14:15:43.392 -> 747807 TSF:MSG:GWL OK 14:15:43.697 -> 748106 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:15:46.429 -> 750833 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:15:46.429 -> 750844 TSF:MSG:BC 14:15:46.429 -> 750847 TSF:MSG:FPAR REQ,ID=1 14:15:46.464 -> 750852 TSF:CKU:OK,FCTRL 14:15:46.464 -> 750856 TSF:MSG:GWL OK 14:15:46.733 -> 751135 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0debug in myscontroller"
22-5-2020 14:33:28 INFO BL version=259 22-5-2020 14:33:28 INFO No FW assigned 22-5-2020 14:33:29 TX 1;0;3;0;13;0 22-5-2020 14:33:29 INFO FW "4ChDimmer" assigned to node 1 22-5-2020 14:34:02 RX 1;255;4;0;0;0A0001005000D4460103 22-5-2020 14:34:02 CHILD New child discovered, node id=1, child id=internal 22-5-2020 14:34:02 INFO BL version=259 22-5-2020 14:34:02 INFO Send FW info to node 1: type=A, version=2, blocks=0x0800, CRC=0x8B2E 22-5-2020 14:34:02 TX 1;0;4;0;1;0A00020000082E8B 22-5-2020 14:34:33 RX 1;255;4;0;0;0A0001005000D4460103 22-5-2020 14:34:33 INFO BL version=259 22-5-2020 14:34:33 INFO Send FW info to node 1: type=A, version=2, blocks=0x0800, CRC=0x8B2E 22-5-2020 14:34:33 TX 1;0;4;0;1;0A00020000082E8BConfig file firmware:
Type,Name,Version,File,Comments 10,Blink,1,Blink.ino.hex,blinking example 10,4ChDimmer,2,MS-4chDimmer-v2.hex,dimmer -
This definetly did something. Further in this post the log from uploading the bootloader and then a serial output from the gateway than the debug output of myScontroller. There is a lot of chatting, but to me it looks like its the same set of messages everytime. I tried assigning the blink message, and than a whole lot more is going on. So maybe there is something about the firmware config file that I don't understand. I put my input at the end of this post.
avrDudess log, because arduino ide doesn't tell me much.
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ avrdude.exe: set SCK frequency to 1500000 Hz avrdude.exe: warning: cannot set sck period. please check for usbasp firmware update. avrdude.exe: AVR device initialized and ready to accept instructions Reading | ################################################## | 100% 0.02s avrdude.exe: Device signature = 0x1e950f (probably m328p) avrdude.exe: NOTE: "flash" memory has been specified, an erase cycle will be performed To disable this feature, specify the -D option. avrdude.exe: erasing chip avrdude.exe: set SCK frequency to 1500000 Hz avrdude.exe: warning: cannot set sck period. please check for usbasp firmware update. avrdude.exe: reading input file "C:\Users\joeri\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\bootloaders\mySensors\MYSBootloader_CE8_CSN9_CH122_8Mhz_57k6.hex" avrdude.exe: input file C:\Users\joeri\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\bootloaders\mySensors\MYSBootloader_CE8_CSN9_CH122_8Mhz_57k6.hex auto detected as Intel Hex avrdude.exe: writing flash (32762 bytes): Writing | ################################################## | 100% -0.00s avrdude.exe: 32762 bytes of flash written avrdude.exe: verifying flash memory against C:\Users\joeri\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\bootloaders\mySensors\MYSBootloader_CE8_CSN9_CH122_8Mhz_57k6.hex: avrdude.exe: load data flash data from input file C:\Users\joeri\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\bootloaders\mySensors\MYSBootloader_CE8_CSN9_CH122_8Mhz_57k6.hex: avrdude.exe: input file C:\Users\joeri\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\bootloaders\mySensors\MYSBootloader_CE8_CSN9_CH122_8Mhz_57k6.hex auto detected as Intel Hex avrdude.exe: input file C:\Users\joeri\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\bootloaders\mySensors\MYSBootloader_CE8_CSN9_CH122_8Mhz_57k6.hex contains 32762 bytes avrdude.exe: reading on-chip flash data: Reading | ################################################## | 100% 0.00s avrdude.exe: verifying ... avrdude.exe: 32762 bytes of flash verified avrdude.exe done. Thank you.14:12:38.035 -> 562420 TSF:MSG:FPAR REQ,ID=255 14:12:38.035 -> 562426 TSF:CKU:OK,FCTRL 14:12:38.035 -> 562430 TSF:MSG:GWL OK 14:12:38.302 -> 562695 ?TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:12:41.067 -> 565447 TSF:MSG:READ,255-255-0,s=255,c=3,t=3,pt=1,l=0,sg=0:0 14:12:41.270 -> 565669 GWT:RFC:C=0,MSG=255;255;3;0;4;1 14:12:41.270 -> 565680 ?TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=4,pt=0,l=1,sg=0,ft=0,st=OK:1 14:12:41.303 -> 565693 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:12:41.303 -> 565703 TSF:MSG:BC 14:12:41.303 -> 565706 TSF:MSG:FPAR REQ,ID=1 14:12:41.303 -> 565711 TSF:CKU:OK,FCTRL 14:12:41.303 -> 565716 TSF:MSG:GWL OK 14:12:41.809 -> 566196 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:12:44.336 -> 568733 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:12:44.336 -> 568743 TSF:MSG:BC 14:12:44.336 -> 568746 TSF:MSG:FPAR REQ,ID=1 14:12:44.370 -> 568751 TSF:CKU:OK,FCTRL 14:12:44.370 -> 568755 TSF:MSG:GWL OK 14:12:44.811 -> 569203 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:12:47.369 -> 571774 TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 14:12:47.404 -> 571789 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 14:12:47.979 -> 572360 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:12:51.011 -> 575402 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:12:54.042 -> 578443 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:12:57.077 -> 581484 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:13:00.990 -> 585400 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:13:01.024 -> 585410 TSF:MSG:BC 14:13:01.024 -> 585413 TSF:MSG:FPAR REQ,ID=1 14:13:01.024 -> 585418 TSF:PNG:SEND,TO=0 14:13:01.024 -> 585423 TSF:CKU:OK 14:13:01.024 -> 585426 TSF:MSG:GWL OK 14:13:01.763 -> 586161 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:13:04.058 -> 588449 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:13:04.058 -> 588459 TSF:MSG:BC 14:13:04.058 -> 588462 TSF:MSG:FPAR REQ,ID=1 14:13:04.058 -> 588467 TSF:CKU:OK,FCTRL 14:13:04.058 -> 588472 TSF:MSG:GWL OK 14:13:04.795 -> 589179 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:13:07.087 -> 591490 TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 14:13:07.122 -> 591505 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 14:13:07.696 -> 592077 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:13:10.716 -> 595118 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:13:13.776 -> 598159 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:13:16.814 -> 601201 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:13:20.726 -> 605116 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:13:20.726 -> 605127 TSF:MSG:BC 14:13:20.726 -> 605130 TSF:MSG:FPAR REQ,ID=1 14:13:20.726 -> 605135 TSF:PNG:SEND,TO=0 14:13:20.726 -> 605139 TSF:CKU:OK 14:13:20.726 -> 605142 TSF:MSG:GWL OK 14:13:21.736 -> 606137 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:13:23.771 -> 608165 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:13:23.771 -> 608175 TSF:MSG:BC 14:13:23.771 -> 608179 TSF:MSG:FPAR REQ,ID=1 14:13:23.771 -> 608184 TSF:CKU:OK,FCTRL 14:13:23.805 -> 608188 TSF:MSG:GWL OK 14:13:24.752 -> 609156 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:13:26.808 -> 611207 TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 14:13:26.808 -> 611221 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 14:13:27.382 -> 611793 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:13:30.445 -> 614834 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:13:31.355 -> 615744 GWT:RFC:C=0,MSG=1;0;3;0;13;0 14:13:31.355 -> 615755 TSF:MSG:SEND,0-0-1-1,s=0,c=3,t=13,pt=0,l=1,sg=0,ft=0,st=OK:0 14:13:33.484 -> 617876 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:13:33.484 -> 617897 GWT:RFC:C=0,MSG=1;0;4;0;1;0100020000082E8B 14:13:33.518 -> 617911 TSF:MSG:SEND,0-0-1-1,s=0,c=4,t=1,pt=6,l=8,sg=0,ft=0,st=OK:0100020000082E8B 14:13:37.427 -> 621833 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:13:37.427 -> 621843 TSF:MSG:BC 14:13:37.461 -> 621847 TSF:MSG:FPAR REQ,ID=1 14:13:37.461 -> 621852 TSF:PNG:SEND,TO=0 14:13:37.461 -> 621856 TSF:CKU:OK 14:13:37.461 -> 621859 TSF:MSG:GWL OK 14:13:37.766 -> 622163 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:13:40.491 -> 624882 TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 14:13:40.491 -> 624897 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 14:13:41.071 -> 625469 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:13:41.106 -> 625490 GWT:RFC:C=0,MSG=1;0;4;0;1;0100020000082E8B 14:13:41.106 -> 625504 TSF:MSG:SEND,0-0-1-1,s=0,c=4,t=1,pt=6,l=8,sg=0,ft=0,st=OK:0100020000082E8B 14:13:41.994 -> 626377 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:13:41.994 -> 626387 TSF:MSG:BC 14:13:41.994 -> 626391 TSF:MSG:FPAR REQ,ID=1 14:13:41.994 -> 626396 TSF:CKU:OK,FCTRL 14:13:41.994 -> 626400 TSF:MSG:GWL OK 14:13:42.742 -> 627148 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:13:45.017 -> 629426 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:13:45.017 -> 629436 TSF:MSG:BC 14:13:45.051 -> 629439 TSF:MSG:FPAR REQ,ID=1 14:13:45.051 -> 629444 TSF:CKU:OK,FCTRL 14:13:45.051 -> 629449 TSF:MSG:GWL OK 14:13:45.769 -> 630175 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:13:48.074 -> 632467 TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 14:13:48.074 -> 632482 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 14:13:48.652 -> 633053 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:13:48.687 -> 633072 GWT:RFC:C=0,MSG=1;0;4;0;1;0100020000082E8B 14:13:48.687 -> 633086 TSF:MSG:SEND,0-0-1-1,s=0,c=4,t=1,pt=6,l=8,sg=0,ft=0,st=OK:0100020000082E8B 14:13:52.616 -> 637008 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:13:52.616 -> 637018 TSF:MSG:BC 14:13:52.616 -> 637021 TSF:MSG:FPAR REQ,ID=1 14:13:52.616 -> 637026 TSF:CKU:OK,FCTRL 14:13:52.616 -> 637030 TSF:MSG:GWL OK 14:13:52.753 -> 637147 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:13:55.658 -> 640057 TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 14:13:55.658 -> 640072 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 14:13:56.234 -> 640643 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:13:56.268 -> 640662 GWT:RFC:C=0,MSG=1;0;4;0;1;0100020000082E8B 14:13:56.268 -> 640676 TSF:MSG:SEND,0-0-1-1,s=0,c=4,t=1,pt=6,l=8,sg=0,ft=0,st=OK:0100020000082E8B 14:13:57.149 -> 641549 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:13:57.149 -> 641559 TSF:MSG:BC 14:13:57.149 -> 641562 TSF:MSG:FPAR REQ,ID=1 14:13:57.183 -> 641567 TSF:CKU:OK,FCTRL 14:13:57.183 -> 641572 TSF:MSG:GWL OK 14:13:57.725 -> 642131 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:14:00.192 -> 644598 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:14:00.192 -> 644608 TSF:MSG:BC 14:14:00.226 -> 644611 TSF:MSG:FPAR REQ,ID=1 14:14:00.226 -> 644616 TSF:CKU:OK,FCTRL 14:14:00.226 -> 644621 TSF:MSG:GWL OK 14:14:00.768 -> 645157 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:14:03.252 -> 647639 TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 14:14:03.252 -> 647654 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 14:14:03.828 -> 648226 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:14:03.863 -> 648245 GWT:RFC:C=0,MSG=1;0;4;0;1;0100020000082E8B 14:14:03.863 -> 648259 TSF:MSG:SEND,0-0-1-1,s=0,c=4,t=1,pt=6,l=8,sg=0,ft=0,st=OK:0100020000082E8B 14:14:07.782 -> 652181 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:14:07.782 -> 652191 TSF:MSG:BC 14:14:07.782 -> 652195 TSF:MSG:FPAR REQ,ID=1 14:14:07.816 -> 652200 TSF:CKU:OK,FCTRL 14:14:07.816 -> 652204 TSF:MSG:GWL OK 14:14:08.764 -> 653156 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:14:10.836 -> 655230 TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 14:14:10.836 -> 655245 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 14:14:11.407 -> 655816 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:14:11.441 -> 655836 GWT:RFC:C=0,MSG=1;0;4;0;1;0100020000082E8B 14:14:11.441 -> 655850 TSF:MSG:SEND,0-0-1-1,s=0,c=4,t=1,pt=6,l=8,sg=0,ft=0,st=OK:0100020000082E8B 14:14:12.321 -> 656723 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:14:12.321 -> 656733 TSF:MSG:BC 14:14:12.321 -> 656736 TSF:MSG:FPAR REQ,ID=1 14:14:12.354 -> 656741 TSF:CKU:OK,FCTRL 14:14:12.354 -> 656746 TSF:MSG:GWL OK 14:14:12.723 -> 657119 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:14:15.387 -> 659772 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:14:15.387 -> 659782 TSF:MSG:BC 14:14:15.387 -> 659785 TSF:MSG:FPAR REQ,ID=1 14:14:15.387 -> 659790 TSF:CKU:OK,FCTRL 14:14:15.387 -> 659795 TSF:MSG:GWL OK 14:14:15.759 -> 660145 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:14:18.425 -> 662813 TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 14:14:18.425 -> 662828 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 14:14:18.998 -> 663400 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:14:19.032 -> 663420 GWT:RFC:C=0,MSG=1;0;4;0;1;0100020000082E8B 14:14:19.032 -> 663433 TSF:MSG:SEND,0-0-1-1,s=0,c=4,t=1,pt=6,l=8,sg=0,ft=0,st=OK:0100020000082E8B 14:14:22.962 -> 667355 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:14:22.962 -> 667365 TSF:MSG:BC 14:14:22.962 -> 667369 TSF:MSG:FPAR REQ,ID=1 14:14:22.962 -> 667374 TSF:CKU:OK,FCTRL 14:14:22.962 -> 667378 TSF:MSG:GWL OK 14:14:23.739 -> 668146 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:14:25.990 -> 670404 TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 14:14:26.023 -> 670419 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 14:14:26.595 -> 670991 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:14:26.630 -> 671021 GWT:RFC:C=0,MSG=1;0;4;0;1;0100020000082E8B 14:14:26.630 -> 671034 TSF:MSG:SEND,0-0-1-1,s=0,c=4,t=1,pt=6,l=8,sg=0,ft=0,st=OK:0100020000082E8B 14:14:27.504 -> 671908 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:14:27.504 -> 671918 TSF:MSG:BC 14:14:27.504 -> 671921 TSF:MSG:FPAR REQ,ID=1 14:14:27.537 -> 671926 TSF:CKU:OK,FCTRL 14:14:27.537 -> 671930 TSF:MSG:GWL OK 14:14:27.740 -> 672129 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:14:30.571 -> 674957 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:14:30.571 -> 674967 TSF:MSG:BC 14:14:30.571 -> 674970 TSF:MSG:FPAR REQ,ID=1 14:14:30.571 -> 674975 TSF:CKU:OK,FCTRL 14:14:30.571 -> 674979 TSF:MSG:GWL OK 14:14:30.772 -> 675157 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:14:33.599 -> 677998 TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 14:14:33.599 -> 678013 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 14:14:34.171 -> 678584 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:14:34.205 -> 678604 GWT:RFC:C=0,MSG=1;0;4;0;1;0100020000082E8B 14:14:34.205 -> 678617 TSF:MSG:SEND,0-0-1-1,s=0,c=4,t=1,pt=6,l=8,sg=0,ft=0,st=OK:0100020000082E8B 14:14:35.079 -> 679491 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:14:35.113 -> 679501 TSF:MSG:BC 14:14:35.113 -> 679504 TSF:MSG:FPAR REQ,ID=1 14:14:35.113 -> 679509 TSF:CKU:OK,FCTRL 14:14:35.113 -> 679514 TSF:MSG:GWL OK 14:14:35.720 -> 680127 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:14:38.142 -> 682540 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:14:38.142 -> 682550 TSF:MSG:BC 14:14:38.142 -> 682553 TSF:MSG:FPAR REQ,ID=1 14:14:38.142 -> 682558 TSF:CKU:OK,FCTRL 14:14:38.175 -> 682562 TSF:MSG:GWL OK 14:14:38.748 -> 683153 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:14:41.168 -> 685581 TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 14:14:41.202 -> 685596 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 14:14:41.772 -> 686167 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:14:41.772 -> 686188 GWT:RFC:C=0,MSG=1;0;4;0;1;0100020000082E8B 14:14:41.807 -> 686202 TSF:MSG:SEND,0-0-1-1,s=0,c=4,t=1,pt=6,l=8,sg=0,ft=0,st=OK:0100020000082E8B 14:14:45.713 -> 690124 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:14:45.713 -> 690134 TSF:MSG:BC 14:14:45.747 -> 690137 TSF:MSG:FPAR REQ,ID=1 14:14:45.747 -> 690142 TSF:CKU:OK,FCTRL 14:14:45.747 -> 690146 TSF:MSG:GWL OK 14:14:46.757 -> 691153 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:14:48.760 -> 693173 TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 14:14:48.793 -> 693187 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 14:14:49.365 -> 693759 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:14:49.365 -> 693779 GWT:RFC:C=0,MSG=1;0;4;0;1;0100020000082E8B 14:14:49.399 -> 693792 TSF:MSG:SEND,0-0-1-1,s=0,c=4,t=1,pt=6,l=8,sg=0,ft=0,st=OK:0100020000082E8B 14:14:50.274 -> 694666 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:14:50.274 -> 694676 TSF:MSG:BC 14:14:50.274 -> 694679 TSF:MSG:FPAR REQ,ID=1 14:14:50.274 -> 694684 TSF:CKU:OK,FCTRL 14:14:50.274 -> 694689 TSF:MSG:GWL OK 14:14:50.709 -> 695118 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:14:53.313 -> 697715 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:14:53.313 -> 697725 TSF:MSG:BC 14:14:53.313 -> 697728 TSF:MSG:FPAR REQ,ID=1 14:14:53.347 -> 697733 TSF:CKU:OK,FCTRL 14:14:53.347 -> 697737 TSF:MSG:GWL OK 14:14:53.747 -> 698143 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:14:56.350 -> 700756 TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 14:14:56.383 -> 700771 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 14:14:56.957 -> 701343 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:14:56.957 -> 701362 GWT:RFC:C=0,MSG=1;0;4;0;1;0100020000082E8B 14:14:56.991 -> 701376 TSF:MSG:SEND,0-0-1-1,s=0,c=4,t=1,pt=6,l=8,sg=0,ft=0,st=OK:0100020000082E8B 14:15:00.910 -> 705298 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:15:00.910 -> 705308 TSF:MSG:BC 14:15:00.910 -> 705311 TSF:MSG:FPAR REQ,ID=1 14:15:00.910 -> 705316 TSF:CKU:OK,FCTRL 14:15:00.910 -> 705320 TSF:MSG:GWL OK 14:15:01.750 -> 706141 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:15:03.937 -> 708347 TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 14:15:03.970 -> 708362 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 14:15:04.543 -> 708933 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:15:04.543 -> 708952 GWT:RFC:C=0,MSG=1;0;4;0;1;0100020000082E8B 14:15:04.576 -> 708966 TSF:MSG:SEND,0-0-1-1,s=0,c=4,t=1,pt=6,l=8,sg=0,ft=0,st=OK:0100020000082E8B 14:15:05.453 -> 709840 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:15:05.453 -> 709850 TSF:MSG:BC 14:15:05.453 -> 709853 TSF:MSG:FPAR REQ,ID=1 14:15:05.453 -> 709858 TSF:CKU:OK,FCTRL 14:15:05.453 -> 709862 TSF:MSG:GWL OK 14:15:05.692 -> 710105 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:15:08.487 -> 712889 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:15:08.487 -> 712899 TSF:MSG:BC 14:15:08.487 -> 712902 TSF:MSG:FPAR REQ,ID=1 14:15:08.520 -> 712907 TSF:CKU:OK,FCTRL 14:15:08.520 -> 712911 TSF:MSG:GWL OK 14:15:08.724 -> 713131 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:15:11.532 -> 715932 TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 14:15:11.532 -> 715947 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 14:15:12.108 -> 716518 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:15:12.141 -> 716547 GWT:RFC:C=0,MSG=1;0;4;0;1;0100020000082E8B 14:15:12.175 -> 716560 TSF:MSG:SEND,0-0-1-1,s=0,c=4,t=1,pt=6,l=8,sg=0,ft=0,st=OK:0100020000082E8B 14:15:16.094 -> 720482 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:15:16.094 -> 720493 TSF:MSG:BC 14:15:16.094 -> 720496 TSF:MSG:FPAR REQ,ID=1 14:15:16.094 -> 720501 TSF:CKU:OK,FCTRL 14:15:16.094 -> 720505 TSF:MSG:GWL OK 14:15:16.733 -> 721150 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:15:19.137 -> 723531 TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 14:15:19.137 -> 723546 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 14:15:19.706 -> 724118 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:15:19.740 -> 724138 GWT:RFC:C=0,MSG=1;0;4;0;1;0100020000082E8B 14:15:19.740 -> 724152 TSF:MSG:SEND,0-0-1-1,s=0,c=4,t=1,pt=6,l=8,sg=0,ft=0,st=OK:0100020000082E8B 14:15:20.616 -> 725026 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:15:20.616 -> 725036 TSF:MSG:BC 14:15:20.650 -> 725039 TSF:MSG:FPAR REQ,ID=1 14:15:20.650 -> 725044 TSF:CKU:OK,FCTRL 14:15:20.650 -> 725048 TSF:MSG:GWL OK 14:15:20.718 -> 725117 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:15:23.675 -> 728075 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:15:23.675 -> 728085 TSF:MSG:BC 14:15:23.675 -> 728088 TSF:MSG:FPAR REQ,ID=1 14:15:23.675 -> 728093 TSF:CKU:OK,FCTRL 14:15:23.708 -> 728097 TSF:MSG:GWL OK 14:15:23.742 -> 728142 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:15:26.709 -> 731116 TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 14:15:26.749 -> 731131 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 14:15:27.288 -> 731702 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:15:27.322 -> 731722 GWT:RFC:C=0,MSG=1;0;4;0;1;0100020000082E8B 14:15:27.322 -> 731736 TSF:MSG:SEND,0-0-1-1,s=0,c=4,t=1,pt=6,l=8,sg=0,ft=0,st=OK:0100020000082E8B 14:15:31.262 -> 735658 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:15:31.262 -> 735668 TSF:MSG:BC 14:15:31.262 -> 735671 TSF:MSG:FPAR REQ,ID=1 14:15:31.262 -> 735676 TSF:CKU:OK,FCTRL 14:15:31.262 -> 735680 TSF:MSG:GWL OK 14:15:31.730 -> 736141 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:15:34.298 -> 738707 TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 14:15:34.333 -> 738722 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 14:15:34.898 -> 739293 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:15:34.898 -> 739313 GWT:RFC:C=0,MSG=1;0;4;0;1;0100020000082E8B 14:15:34.932 -> 739327 TSF:MSG:SEND,0-0-1-1,s=0,c=4,t=1,pt=6,l=8,sg=0,ft=0,st=OK:0100020000082E8B 14:15:35.808 -> 740200 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:15:35.808 -> 740210 TSF:MSG:BC 14:15:35.808 -> 740213 TSF:MSG:FPAR REQ,ID=1 14:15:35.808 -> 740219 TSF:CKU:OK,FCTRL 14:15:35.808 -> 740223 TSF:MSG:GWL OK 14:15:36.725 -> 741130 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:15:38.844 -> 743249 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:15:38.844 -> 743259 TSF:MSG:BC 14:15:38.844 -> 743262 TSF:MSG:FPAR REQ,ID=1 14:15:38.877 -> 743267 TSF:CKU:OK,FCTRL 14:15:38.877 -> 743272 TSF:MSG:GWL OK 14:15:39.749 -> 744157 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:15:41.874 -> 746290 TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 14:15:41.907 -> 746305 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 14:15:42.482 -> 746876 TSF:MSG:READ,1-1-0,s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFFE400103 14:15:42.482 -> 746897 GWT:RFC:C=0,MSG=1;0;4;0;1;0100020000082E8B 14:15:42.515 -> 746911 TSF:MSG:SEND,0-0-1-1,s=0,c=4,t=1,pt=6,l=8,sg=0,ft=0,st=OK:0100020000082E8B 14:15:43.392 -> 747784 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:15:43.392 -> 747795 TSF:MSG:BC 14:15:43.392 -> 747798 TSF:MSG:FPAR REQ,ID=1 14:15:43.392 -> 747803 TSF:CKU:OK,FCTRL 14:15:43.392 -> 747807 TSF:MSG:GWL OK 14:15:43.697 -> 748106 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 14:15:46.429 -> 750833 TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=1,l=1,sg=0:0 14:15:46.429 -> 750844 TSF:MSG:BC 14:15:46.429 -> 750847 TSF:MSG:FPAR REQ,ID=1 14:15:46.464 -> 750852 TSF:CKU:OK,FCTRL 14:15:46.464 -> 750856 TSF:MSG:GWL OK 14:15:46.733 -> 751135 TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0debug in myscontroller"
22-5-2020 14:33:28 INFO BL version=259 22-5-2020 14:33:28 INFO No FW assigned 22-5-2020 14:33:29 TX 1;0;3;0;13;0 22-5-2020 14:33:29 INFO FW "4ChDimmer" assigned to node 1 22-5-2020 14:34:02 RX 1;255;4;0;0;0A0001005000D4460103 22-5-2020 14:34:02 CHILD New child discovered, node id=1, child id=internal 22-5-2020 14:34:02 INFO BL version=259 22-5-2020 14:34:02 INFO Send FW info to node 1: type=A, version=2, blocks=0x0800, CRC=0x8B2E 22-5-2020 14:34:02 TX 1;0;4;0;1;0A00020000082E8B 22-5-2020 14:34:33 RX 1;255;4;0;0;0A0001005000D4460103 22-5-2020 14:34:33 INFO BL version=259 22-5-2020 14:34:33 INFO Send FW info to node 1: type=A, version=2, blocks=0x0800, CRC=0x8B2E 22-5-2020 14:34:33 TX 1;0;4;0;1;0A00020000082E8BConfig file firmware:
Type,Name,Version,File,Comments 10,Blink,1,Blink.ino.hex,blinking example 10,4ChDimmer,2,MS-4chDimmer-v2.hex,dimmer@Joerideman That looks already much better!
For the sake of completeness, here is the modified MYSBootloader source code.
Try clearing the EEPROM and then re-assign the FW

-
@Joerideman That looks already much better!
For the sake of completeness, here is the modified MYSBootloader source code.
Try clearing the EEPROM and then re-assign the FW

@tekka It's even more better once you try to upload the code without the bootloader included. I just uploaded firmware for the second time over the air!
I am very excited about this :). Alltough I think one I understand changing the bootloader, I could thank you and this community perhaps with an instruction video of all the steps and possible troubleshooting.
But video making is a lot of effort.
Now, one more thing I think. Should it be possible to also upload code via a wired connection and OTA?
Or is the workflow more like this: Normaal bootloader -> create code -> serial wired upload uart/ISP -> debugging ->serial wired upload uart/ISP -> testing -> ota bootloader -> upload final firmware over OTA -> upload occasional firmware update over OTA
-
@tekka It's even more better once you try to upload the code without the bootloader included. I just uploaded firmware for the second time over the air!
I am very excited about this :). Alltough I think one I understand changing the bootloader, I could thank you and this community perhaps with an instruction video of all the steps and possible troubleshooting.
But video making is a lot of effort.
Now, one more thing I think. Should it be possible to also upload code via a wired connection and OTA?
Or is the workflow more like this: Normaal bootloader -> create code -> serial wired upload uart/ISP -> debugging ->serial wired upload uart/ISP -> testing -> ota bootloader -> upload final firmware over OTA -> upload occasional firmware update over OTA
@Joerideman Glad to hear you finally got FOTA working :+1: - generally speaking, you can do both, serial FW uploads and FOTA, however, switching from FOTA to serial updates or vice-versa, you may want to clear the FW checksum stored in the EEPROM as instructed above. If your sketches are rather large or for prototyping/dev, I'd advise you to use the optiboot bootloader as the serial uploads are faster and the optiboot bootloaders uses less flash storage...
-
@Joerideman Glad to hear you finally got FOTA working :+1: - generally speaking, you can do both, serial FW uploads and FOTA, however, switching from FOTA to serial updates or vice-versa, you may want to clear the FW checksum stored in the EEPROM as instructed above. If your sketches are rather large or for prototyping/dev, I'd advise you to use the optiboot bootloader as the serial uploads are faster and the optiboot bootloaders uses less flash storage...
@tekka Right now, I am looking where your files are different from mine. I do not understand where I went wrong. perhaps I should also delete the other files that make creates, not just the hex.
Either way. A lot of thanks.