MYSBootloader 1.3 pre-release & MYSController 1.0.0beta



  • Guys,

    I'm trying to get this working on my ESP8266 gateway (using the latest development branch).

    I've uploaded the 16mhz boot loader to an Arduino Nano clone but don't seem to see anything in MYScontroller. I realised that my gateway sketch had channel 125 specified, so took that out for testing as I believe the boot loader uses channel 76...

    Do I need to change any fuse settings etc, what am I missing?

    Many thanks in advance...

    Mark

    Edit: Got it working, fantastic!



  • Is there a way I can change the channel from the default 76?

    Also am I correct in thinking that for my Nano's I copy the bits (high, low, extended, lock, unlock) from the Arduino section at the top and replace the pasted lines from the tutorial as it seems to be for the UNO?





  • This post is deleted!


  • I have same problem as @n1ck1355. Shetch upload works, data are send, but serial output doesn't work.



  • I also have the same issues with no node serial output within the Arduino IDE....


  • Admin

    @Mark-Swift @novas do you see any traffic over the air from that node? If yes, please post the log, specifically, I'm interested in bootloader messages.



  • @tekka I apologise, in my case it was the bootloader delay I wasn't allowing for. Opening the serial monitor and being patient, it appears all is well. Apologies for the mistake!



  • @tekka In my case there were two problems. First same as @Mark-Swift, bootloader deley. I didn't expect that it takes about 30 seconds. Second one was that my gateway didn't run. In this case bootloader is still running and serial output isn't provided.



  • @tekka I tried to upload a sketch after flashing the new bootloader to an nano. I got te this:

    avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x4b
    avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x4b
    avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x4b
    avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x4b
    avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x4b
    avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x4b
    avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x4b
    avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x4b
    avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x4b
    avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x4b
    

    What is going on?
    OTA update still testing. Updating for several minutes now (I thought the old bootloader and OTA update did not take that long).


  • Admin

    @Anduril without additional information it's hard to troubleshoot - looks like a baud rate problem: please post logs from flashing (output when flashing bootlader), fuse settings, mysontroller log during node reboot, and other helpful information.



  • OK, I will post that information as soon as possible, today or tomorow.
    Another thing, is it possible that OTA is much faster with the old BL? It took me few 10 minutes still sending firmware updates when I decided to flash the old one and try again. With the old one it was finished in about 5min. (times are only an estimation) Also frequency of new firmware requests in MYS Controller seemed much faster with old BL than with v1.3 pre. Is that normal or bug?



  • (had to split because of too long posts not allowed)

    here the infos for troubleshooting:
    board.txt:

    ## -------------------------
    nano.menu.cpu.atmega328=ATmega328
    
    nano.menu.cpu.atmega328.upload.maximum_size=30720
    nano.menu.cpu.atmega328.upload.maximum_data_size=2048
    nano.menu.cpu.atmega328.upload.speed=57600
    
    nano.menu.cpu.atmega328.bootloader.low_fuses=0xFF
    nano.menu.cpu.atmega328.bootloader.high_fuses=0xDA
    nano.menu.cpu.atmega328.bootloader.extended_fuses=0x05
    nano.menu.cpu.atmega328.bootloader.file=atmega/ATmegaBOOT_168_atmega328.hex
    
    nano.menu.cpu.atmega328.build.mcu=atmega328p
    
    ## Arduino Nano w/ ATmega328 MYSBootloader
    ## -------------------------
    nano.menu.cpu.MYSBLatmega328=ATmega328 MYSBootloader
    
    nano.menu.cpu.MYSBLatmega328.upload.maximum_size=30720
    nano.menu.cpu.MYSBLatmega328.upload.maximum_data_size=2048
    nano.menu.cpu.MYSBLatmega328.upload.speed=57600
    
    nano.menu.cpu.MYSBLatmega328.bootloader.low_fuses=0xFF
    nano.menu.cpu.MYSBLatmega328.bootloader.high_fuses=0xDA
    nano.menu.cpu.MYSBLatmega328.bootloader.extended_fuses=0x05
    nano.menu.cpu.MYSBLatmega328.bootloader.file=MySensors/MYSBootloaderV13pre.hex
    
    nano.menu.cpu.MYSBLatmega328.build.mcu=atmega328p
    
    ## Arduino Nano w/ ATmega328 MYSBootloaderold
    ## -------------------------
    nano.menu.cpu.MYSBLoldatmega328=ATmega328 MYSBootloader old
    
    nano.menu.cpu.MYSBLoldatmega328.upload.maximum_size=30720
    nano.menu.cpu.MYSBLoldatmega328.upload.maximum_data_size=2048
    nano.menu.cpu.MYSBLoldatmega328.upload.speed=57600
    
    nano.menu.cpu.MYSBLoldatmega328.bootloader.low_fuses=0xFF
    nano.menu.cpu.MYSBLoldatmega328.bootloader.high_fuses=0xDA
    nano.menu.cpu.MYSBLoldatmega328.bootloader.extended_fuses=0x05
    nano.menu.cpu.MYSBLoldatmega328.bootloader.file=MySensors/MYSBootloader.hex
    
    nano.menu.cpu.MYSBLoldatmega328.build.mcu=atmega328p
    

    I copied the original entry for the Nano 328p and only changed bootloader files to old and new MYS Bootloader.

    During flashing there is no debug output, only "Der Bootloader wurde gebrannt" ("burning bootloader finished) when done.
    When powering node up I get these messages:

    1	10.05.2016 21:00:36	RX	0 - Gateway	INTERNAL	C_INTERNAL	NO	I_GATEWAY_READY	Gateway startup complete.
    2	10.05.2016 21:00:37	RX	0 - Gateway	INTERNAL	C_INTERNAL	NO	I_VERSION	2.0.0-beta
    3	10.05.2016 21:00:51	RX	BROADCAST	INTERNAL	C_INTERNAL	NO	I_ID_REQUEST	
    4	10.05.2016 21:00:51	TX	BROADCAST	INTERNAL	C_INTERNAL	NO	I_ID_RESPONSE	3
    5	10.05.2016 21:00:55	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_CONFIG_REQUEST	FFFFFFFFFFFF2CC30102
    6	10.05.2016 21:00:58	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_CONFIG_REQUEST	FFFFFFFFFFFF2CC30102
    7	10.05.2016 21:01:01	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_CONFIG_REQUEST	FFFFFFFFFFFF2CC30102
    8	10.05.2016 21:01:09	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_CONFIG_REQUEST	FFFFFFFFFFFF2CC30102
    9	10.05.2016 21:01:13	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_CONFIG_REQUEST	FFFFFFFFFFFF2CC30102
    10	10.05.2016 21:01:16	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_CONFIG_REQUEST	FFFFFFFFFFFF2CC30102
    11	10.05.2016 21:01:20	TX	3	N/A	C_INTERNAL	NO	I_REBOOT	0
    12	10.05.2016 21:01:27	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_CONFIG_REQUEST	FFFFFFFFFFFF2CC30102
    13	10.05.2016 21:01:27	TX	3	N/A	C_STREAM	NO	ST_FIRMWARE_CONFIG_RESPONSE	0A0001005000D446
    14	10.05.2016 21:01:28	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_REQUEST	0A0001004F00
    15	10.05.2016 21:01:28	TX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_RESPONSE	0A0001004F00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    16	10.05.2016 21:01:28	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_REQUEST	0A0001004E00
    17	10.05.2016 21:01:28	TX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_RESPONSE	0A0001004E00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    18	10.05.2016 21:01:31	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_REQUEST	0A0001004D00
    19	10.05.2016 21:01:31	TX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_RESPONSE	0A0001004D00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    20	10.05.2016 21:01:35	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_REQUEST	0A0001004C00
    21	10.05.2016 21:01:35	TX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_RESPONSE	0A0001004C00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    22	10.05.2016 21:01:35	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_REQUEST	0A0001004B00
    23	10.05.2016 21:01:35	TX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_RESPONSE	0A0001004B00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    24	10.05.2016 21:01:36	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_REQUEST	0A0001004A00
    25	10.05.2016 21:01:36	TX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_RESPONSE	0A0001004A00FFCFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    26	10.05.2016 21:01:39	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_REQUEST	0A0001004900
    27	10.05.2016 21:01:39	TX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_RESPONSE	0A00010049008B002097E1F30E940000F9CF0895F894
    28	10.05.2016 21:01:43	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_REQUEST	0A0001004800
    29	10.05.2016 21:01:43	TX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_RESPONSE	0A00010048006B010E943E020E947000C0E0D0E00E94
    30	10.05.2016 21:01:43	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_REQUEST	0A0001004700
    31	10.05.2016 21:01:43	TX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_RESPONSE	0A00010047000F90DF91CF911F910F91089508950E94
    32	10.05.2016 21:01:47	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_REQUEST	0A0001004600
    33	10.05.2016 21:01:47	TX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_RESPONSE	0A0001004600611103C01095812301C0812B8C939FBF
    34	10.05.2016 21:01:50	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_REQUEST	0A0001004500
    35	10.05.2016 21:01:50	TX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_RESPONSE	0A0001004500FF1FEC55FF4FA591B4919FB7F8948C91
    36	10.05.2016 21:01:50	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_REQUEST	0A0001004400
    37	10.05.2016 21:01:50	TX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_RESPONSE	0A000100440021F069830E94A6016981E02FF0E0EE0F
    38	10.05.2016 21:01:54	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_REQUEST	0A0001004300
    39	10.05.2016 21:01:54	TX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_RESPONSE	0A00010043001491F901E057FF4F04910023C9F08823
    40	10.05.2016 21:01:57	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_REQUEST	0A0001004200
    41	10.05.2016 21:01:57	TX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_RESPONSE	0A000100420030E0F901E859FF4F8491F901E458FF4F
    42	10.05.2016 21:02:01	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_REQUEST	0A0001004100
    43	10.05.2016 21:02:01	TX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_RESPONSE	0A00010041000F931F93CF93DF931F92CDB7DEB7282F
    44	10.05.2016 21:02:05	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_REQUEST	0A0001004000
    45	10.05.2016 21:02:05	TX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_RESPONSE	0A0001004000F8948C91822B8C939FBFDF91CF910895
    46	10.05.2016 21:02:05	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_REQUEST	0A0001003F00
    47	10.05.2016 21:02:05	TX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_RESPONSE	0A0001003F00322F309583238C938881822B888304C0
    48	10.05.2016 21:02:08	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_REQUEST	0A0001003E00
    49	10.05.2016 21:02:08	TX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_RESPONSE	0A0001003E008C93888182230AC0623051F4F8948C91
    50	10.05.2016 21:02:12	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_REQUEST	0A0001003D00
    51	10.05.2016 21:02:12	TX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_RESPONSE	0A0001003D00D4919FB7611108C0F8948C9120958223
    52	10.05.2016 21:02:12	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_REQUEST	0A0001003C00
    53	10.05.2016 21:02:12	TX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_RESPONSE	0A0001003C00E255FF4FA591B4918C559F4FFC01C591
    54	10.05.2016 21:02:13	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_REQUEST	0A0001003B00
    55	10.05.2016 21:02:13	TX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_RESPONSE	0A0001003B00FF4F8491882349F190E0880F991FFC01
    56	10.05.2016 21:02:16	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_REQUEST	0A0001003A00
    57	10.05.2016 21:02:16	TX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_RESPONSE	0A0001003A00DF9390E0FC01E458FF4F2491FC01E057
    58	10.05.2016 21:02:16	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_REQUEST	0A0001003900
    59	10.05.2016 21:02:16	TX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_RESPONSE	0A000100390003C08091B0008F7D8093B0000895CF93
    60	10.05.2016 21:02:17	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_REQUEST	0A0001003800
    61	10.05.2016 21:02:17	TX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_RESPONSE	0A000100380002C084B58F7D84BD08958091B0008F77
    62	10.05.2016 21:02:17	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_REQUEST	0A0001003700
    63	10.05.2016 21:02:17	TX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_RESPONSE	0A0001003700809180008F7780938000089584B58F77
    64	10.05.2016 21:02:21	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_REQUEST	0A0001003600
    65	10.05.2016 21:02:21	TX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_RESPONSE	0A00010036008830B9F08430D1F4809180008F7D03C0
    66	10.05.2016 21:02:24	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_REQUEST	0A0001003500
    67	10.05.2016 21:02:24	TX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_RESPONSE	0A000100350028F4813099F08230A1F008958730A9F0
    68	10.05.2016 21:02:24	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_REQUEST	0A0001003400
    69	10.05.2016 21:02:24	TX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_RESPONSE	0A00010034008081806880831092C1000895833081F0
    70	10.05.2016 21:02:28	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_REQUEST	0A0001003300
    71	10.05.2016 21:02:28	TX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_RESPONSE	0A00010033008460808380818260808380818E7F8083
    72	10.05.2016 21:02:29	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_REQUEST	0A0001003200
    73	10.05.2016 21:02:29	TX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_RESPONSE	0A0001003200E0EBF0E0808181608083EAE7F0E08081
    74	10.05.2016 21:02:30	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_REQUEST	0A0001003100
    75	10.05.2016 21:02:30	TX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_RESPONSE	0A0001003100808181608083E1EBF0E0808184608083
    76	10.05.2016 21:02:31	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_REQUEST	0A0001003000
    77	10.05.2016 21:02:31	TX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_RESPONSE	0A0001003000808182608083808181608083E0E8F0E0
    78	10.05.2016 21:02:31	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_REQUEST	0A0001002F00
    79	10.05.2016 21:02:31	TX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_RESPONSE	0A0001002F00EEE6F0E0808181608083E1E8F0E01082
    80	10.05.2016 21:02:35	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_REQUEST	0A0001002E00
    81	10.05.2016 21:02:35	TX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_RESPONSE	0A0001002E00816084BD85B5826085BD85B5816085BD
    

    which seem to be working OTA update, but not very fast (about 75 messages in 1 minute). Here to MYSController debug of that period:

    10.05.2016 21:01:16	RX	3;255;4;0;0;FFFFFFFFFFFF2CC30102
    10.05.2016 21:01:16	DEBUG	Undefined firmware/type for node=3
    10.05.2016 21:01:16	INFO	BL version=258
    10.05.2016 21:01:16	INFO	No FW assigned
    10.05.2016 21:01:20	TX	3;0;3;0;13;0
    10.05.2016 21:01:20	INFO	FW "Blink" assigned to node 3
    10.05.2016 21:01:27	RX	3;255;4;0;0;FFFFFFFFFFFF2CC30102
    10.05.2016 21:01:27	CHILD	New child discovered, node id=3, child id=internal
    10.05.2016 21:01:27	DEBUG	Undefined firmware/type for node=3
    10.05.2016 21:01:27	INFO	BL version=258
    10.05.2016 21:01:27	INFO	Send FW info to node 3: type=A, version=1, blocks=0x0050, CRC=0x46D4
    10.05.2016 21:01:27	TX	3;0;4;0;1;0A0001005000D446
    10.05.2016 21:01:28	RX	3;255;4;0;2;0A0001004F00
    10.05.2016 21:01:28	DEBUG	FW update started, node id = 3
    10.05.2016 21:01:28	TX	3;255;4;0;3;0A0001004F00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    10.05.2016 21:01:28	RX	3;255;4;0;2;0A0001004E00
    10.05.2016 21:01:28	TX	3;255;4;0;3;0A0001004E00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    10.05.2016 21:01:31	RX	3;255;4;0;2;0A0001004D00
    10.05.2016 21:01:31	TX	3;255;4;0;3;0A0001004D00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    10.05.2016 21:01:35	RX	3;255;4;0;2;0A0001004C00
    10.05.2016 21:01:35	TX	3;255;4;0;3;0A0001004C00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    10.05.2016 21:01:35	RX	3;255;4;0;2;0A0001004B00
    10.05.2016 21:01:35	TX	3;255;4;0;3;0A0001004B00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    10.05.2016 21:01:36	RX	3;255;4;0;2;0A0001004A00
    10.05.2016 21:01:36	TX	3;255;4;0;3;0A0001004A00FFCFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    10.05.2016 21:01:39	RX	3;255;4;0;2;0A0001004900
    10.05.2016 21:01:39	TX	3;255;4;0;3;0A00010049008B002097E1F30E940000F9CF0895F894
    10.05.2016 21:01:43	RX	3;255;4;0;2;0A0001004800
    10.05.2016 21:01:43	TX	3;255;4;0;3;0A00010048006B010E943E020E947000C0E0D0E00E94
    10.05.2016 21:01:43	RX	3;255;4;0;2;0A0001004700
    10.05.2016 21:01:43	TX	3;255;4;0;3;0A00010047000F90DF91CF911F910F91089508950E94
    10.05.2016 21:01:47	RX	3;255;4;0;2;0A0001004600
    10.05.2016 21:01:47	TX	3;255;4;0;3;0A0001004600611103C01095812301C0812B8C939FBF
    10.05.2016 21:01:50	RX	3;255;4;0;2;0A0001004500
    10.05.2016 21:01:50	TX	3;255;4;0;3;0A0001004500FF1FEC55FF4FA591B4919FB7F8948C91
    10.05.2016 21:01:50	RX	3;255;4;0;2;0A0001004400
    10.05.2016 21:01:50	TX	3;255;4;0;3;0A000100440021F069830E94A6016981E02FF0E0EE0F
    10.05.2016 21:01:54	RX	3;255;4;0;2;0A0001004300
    10.05.2016 21:01:54	TX	3;255;4;0;3;0A00010043001491F901E057FF4F04910023C9F08823
    10.05.2016 21:01:57	RX	3;255;4;0;2;0A0001004200
    10.05.2016 21:01:57	TX	3;255;4;0;3;0A000100420030E0F901E859FF4F8491F901E458FF4F
    10.05.2016 21:02:01	RX	3;255;4;0;2;0A0001004100
    10.05.2016 21:02:01	TX	3;255;4;0;3;0A00010041000F931F93CF93DF931F92CDB7DEB7282F
    10.05.2016 21:02:05	RX	3;255;4;0;2;0A0001004000
    10.05.2016 21:02:05	TX	3;255;4;0;3;0A0001004000F8948C91822B8C939FBFDF91CF910895
    10.05.2016 21:02:05	RX	3;255;4;0;2;0A0001003F00
    10.05.2016 21:02:05	TX	3;255;4;0;3;0A0001003F00322F309583238C938881822B888304C0
    10.05.2016 21:02:08	RX	3;255;4;0;2;0A0001003E00
    10.05.2016 21:02:08	TX	3;255;4;0;3;0A0001003E008C93888182230AC0623051F4F8948C91
    10.05.2016 21:02:12	RX	3;255;4;0;2;0A0001003D00
    10.05.2016 21:02:12	TX	3;255;4;0;3;0A0001003D00D4919FB7611108C0F8948C9120958223
    10.05.2016 21:02:12	RX	3;255;4;0;2;0A0001003C00
    10.05.2016 21:02:12	TX	3;255;4;0;3;0A0001003C00E255FF4FA591B4918C559F4FFC01C591
    10.05.2016 21:02:13	RX	3;255;4;0;2;0A0001003B00
    10.05.2016 21:02:13	TX	3;255;4;0;3;0A0001003B00FF4F8491882349F190E0880F991FFC01
    10.05.2016 21:02:16	RX	3;255;4;0;2;0A0001003A00
    10.05.2016 21:02:16	TX	3;255;4;0;3;0A0001003A00DF9390E0FC01E458FF4F2491FC01E057
    10.05.2016 21:02:16	RX	3;255;4;0;2;0A0001003900
    10.05.2016 21:02:16	TX	3;255;4;0;3;0A000100390003C08091B0008F7D8093B0000895CF93
    10.05.2016 21:02:17	RX	3;255;4;0;2;0A0001003800
    10.05.2016 21:02:17	TX	3;255;4;0;3;0A000100380002C084B58F7D84BD08958091B0008F77
    10.05.2016 21:02:17	RX	3;255;4;0;2;0A0001003700
    10.05.2016 21:02:17	TX	3;255;4;0;3;0A0001003700809180008F7780938000089584B58F77
    10.05.2016 21:02:21	RX	3;255;4;0;2;0A0001003600
    10.05.2016 21:02:21	TX	3;255;4;0;3;0A00010036008830B9F08430D1F4809180008F7D03C0
    10.05.2016 21:02:24	RX	3;255;4;0;2;0A0001003500
    10.05.2016 21:02:24	TX	3;255;4;0;3;0A000100350028F4813099F08230A1F008958730A9F0
    10.05.2016 21:02:24	RX	3;255;4;0;2;0A0001003400
    10.05.2016 21:02:24	TX	3;255;4;0;3;0A00010034008081806880831092C1000895833081F0
    10.05.2016 21:02:28	RX	3;255;4;0;2;0A0001003300
    10.05.2016 21:02:28	TX	3;255;4;0;3;0A00010033008460808380818260808380818E7F8083
    10.05.2016 21:02:29	RX	3;255;4;0;2;0A0001003200
    10.05.2016 21:02:29	TX	3;255;4;0;3;0A0001003200E0EBF0E0808181608083EAE7F0E08081
    10.05.2016 21:02:30	RX	3;255;4;0;2;0A0001003100
    10.05.2016 21:02:30	TX	3;255;4;0;3;0A0001003100808181608083E1EBF0E0808184608083
    10.05.2016 21:02:31	RX	3;255;4;0;2;0A0001003000
    10.05.2016 21:02:31	TX	3;255;4;0;3;0A0001003000808182608083808181608083E0E8F0E0
    10.05.2016 21:02:31	RX	3;255;4;0;2;0A0001002F00
    10.05.2016 21:02:31	TX	3;255;4;0;3;0A0001002F00EEE6F0E0808181608083E1E8F0E01082
    10.05.2016 21:02:35	RX	3;255;4;0;2;0A0001002E00
    10.05.2016 21:02:35	TX	3;255;4;0;3;0A0001002E00816084BD85B5826085BD85B5816085BD
    


  • When uploading standard BlinkWithoutDelay sketch I get this:

    C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware" -hardware "C:\Users\Mat\AppData\Local\Arduino15\packages" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -tools "C:\Users\Mat\AppData\Local\Arduino15\packages" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\Mat\Documents\Arduino\libraries" -fqbn=arduino:avr:nano:cpu=MYSBLatmega328 -ide-version=10607 -build-path "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Program Files (x86)\Arduino\examples\02.Digital\BlinkWithoutDelay\BlinkWithoutDelay.ino"
    C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware" -hardware "C:\Users\Mat\AppData\Local\Arduino15\packages" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -tools "C:\Users\Mat\AppData\Local\Arduino15\packages" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\Mat\Documents\Arduino\libraries" -fqbn=arduino:avr:nano:cpu=MYSBLatmega328 -ide-version=10607 -build-path "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Program Files (x86)\Arduino\examples\02.Digital\BlinkWithoutDelay\BlinkWithoutDelay.ino"
    WARNUNG: Kategorie '' in der Bibliothek UIPEthernet ist ungültig und wird auf 'Uncategorized' festgelegt
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\sketch\BlinkWithoutDelay.ino.cpp" -o "nul"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\sketch\BlinkWithoutDelay.ino.cpp" -o "nul"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\sketch\BlinkWithoutDelay.ino.cpp" -o "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
    "C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino5/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\sketch\BlinkWithoutDelay.ino.cpp" -o "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\sketch\BlinkWithoutDelay.ino.cpp.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc" -c -g -x assembler-with-cpp -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\wiring_pulse.S" -o "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\wiring_pulse.S.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\WInterrupts.c" -o "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\WInterrupts.c.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\hooks.c" -o "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\hooks.c.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\wiring.c" -o "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\wiring.c.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\wiring_analog.c" -o "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\wiring_analog.c.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\wiring_digital.c" -o "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\wiring_digital.c.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\wiring_pulse.c" -o "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\wiring_pulse.c.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\wiring_shift.c" -o "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\wiring_shift.c.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\CDC.cpp" -o "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\CDC.cpp.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\HardwareSerial.cpp" -o "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\HardwareSerial.cpp.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\HardwareSerial0.cpp" -o "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\HardwareSerial0.cpp.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\HardwareSerial1.cpp" -o "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\HardwareSerial1.cpp.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\HardwareSerial2.cpp" -o "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\HardwareSerial2.cpp.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\HardwareSerial3.cpp" -o "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\HardwareSerial3.cpp.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\IPAddress.cpp" -o "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\IPAddress.cpp.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\PluggableUSB.cpp" -o "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\PluggableUSB.cpp.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\Print.cpp" -o "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\Print.cpp.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\Stream.cpp" -o "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\Stream.cpp.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\Tone.cpp" -o "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\Tone.cpp.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\USBCore.cpp" -o "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\USBCore.cpp.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\WMath.cpp" -o "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\WMath.cpp.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\WString.cpp" -o "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\WString.cpp.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\abi.cpp" -o "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\abi.cpp.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\main.cpp" -o "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\main.cpp.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\new.cpp" -o "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\new.cpp.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs  "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\core.a" "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\wiring_pulse.S.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs  "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\core.a" "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\WInterrupts.c.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs  "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\core.a" "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\hooks.c.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs  "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\core.a" "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\wiring.c.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs  "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\core.a" "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\wiring_analog.c.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs  "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\core.a" "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\wiring_digital.c.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs  "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\core.a" "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\wiring_pulse.c.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs  "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\core.a" "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\wiring_shift.c.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs  "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\core.a" "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\CDC.cpp.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs  "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\core.a" "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\HardwareSerial.cpp.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs  "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\core.a" "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\HardwareSerial0.cpp.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs  "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\core.a" "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\HardwareSerial1.cpp.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs  "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\core.a" "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\HardwareSerial2.cpp.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs  "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\core.a" "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\HardwareSerial3.cpp.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs  "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\core.a" "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\IPAddress.cpp.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs  "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\core.a" "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\PluggableUSB.cpp.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs  "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\core.a" "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\Print.cpp.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs  "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\core.a" "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\Stream.cpp.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs  "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\core.a" "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\Tone.cpp.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs  "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\core.a" "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\USBCore.cpp.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs  "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\core.a" "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\WMath.cpp.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs  "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\core.a" "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\WString.cpp.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs  "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\core.a" "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\abi.cpp.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs  "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\core.a" "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\main.cpp.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar" rcs  "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\core.a" "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\core\new.cpp.o"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc" -w -Os -Wl,--gc-sections -mmcu=atmega328p  -o "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp/BlinkWithoutDelay.ino.elf" "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp\sketch\BlinkWithoutDelay.ino.cpp.o" "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp/core\core.a" "-LC:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp" -lm
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0  "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp/BlinkWithoutDelay.ino.elf" "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp/BlinkWithoutDelay.ino.eep"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-objcopy" -O ihex -R .eeprom  "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp/BlinkWithoutDelay.ino.elf" "C:\Users\Mat\AppData\Local\Temp\build85fe9d593c6c3a472b2a54cc5e88b608.tmp/BlinkWithoutDelay.ino.hex"
    
    Der Sketch verwendet 1.006 Bytes (3%) des Programmspeicherplatzes. Das Maximum sind 30.720 Bytes.
    Globale Variablen verwenden 15 Bytes (0%) des dynamischen Speichers, 2.033 Bytes für lokale Variablen verbleiben. Das Maximum sind 2.048 Bytes.
    avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x4b
    avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x4b
    avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x4b
    avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x4b
    avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x4b
    avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x4b
    avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x4b
    avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x4b
    avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x4b
    avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x4b
    

    I noticed that the baudrate in my boards.txt was not set to 115200 as in your guide. I changed this and reburned the bootloader, still the same result.

    With the old bootloader flashing works the same way. When powered up the log is as normal:

    82	10.05.2016 21:11:11	RX	0 - Gateway	INTERNAL	C_INTERNAL	NO	I_GATEWAY_READY	Gateway startup complete.
    83	10.05.2016 21:11:12	RX	0 - Gateway	INTERNAL	C_INTERNAL	NO	I_VERSION	2.0.0-beta
    84	10.05.2016 21:11:28	RX	BROADCAST	INTERNAL	C_INTERNAL	NO	I_ID_REQUEST	
    85	10.05.2016 21:11:28	TX	BROADCAST	INTERNAL	C_INTERNAL	NO	I_ID_RESPONSE	3
    86	10.05.2016 21:11:28	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_CONFIG_REQUEST	FFFFFFFFFFFFFFFF0101
    87	10.05.2016 21:11:30	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_CONFIG_REQUEST	FFFFFFFFFFFFFFFF0101
    88	10.05.2016 21:11:32	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_CONFIG_REQUEST	FFFFFFFFFFFFFFFF0101
    89	10.05.2016 21:11:34	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_CONFIG_REQUEST	FFFFFFFFFFFFFFFF0101
    90	10.05.2016 21:11:36	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_CONFIG_REQUEST	FFFFFFFFFFFFFFFF0101
    91	10.05.2016 21:11:37	TX	3	N/A	C_INTERNAL	NO	I_REBOOT	0
    92	10.05.2016 21:11:41	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_CONFIG_REQUEST	FFFFFFFFFFFFFFFF0101
    93	10.05.2016 21:11:41	TX	3	N/A	C_STREAM	NO	ST_FIRMWARE_CONFIG_RESPONSE	0A0001005000D446
    94	10.05.2016 21:11:42	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_REQUEST	0A0001004F00
    95	10.05.2016 21:11:42	TX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_RESPONSE	0A0001004F00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    96	10.05.2016 21:11:42	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_REQUEST	0A0001004E00
    97	10.05.2016 21:11:42	TX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_RESPONSE	0A0001004E00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    98	10.05.2016 21:11:42	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_REQUEST	0A0001004D00
    99	10.05.2016 21:11:42	TX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_RESPONSE	0A0001004D00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    
    [.....]
    
    250	10.05.2016 21:12:21	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_REQUEST	0A0001000200
    251	10.05.2016 21:12:21	TX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_RESPONSE	0A00010002000C946E000C946E000C946E000C946E00
    252	10.05.2016 21:12:21	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_REQUEST	0A0001000100
    253	10.05.2016 21:12:21	TX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_RESPONSE	0A00010001000C946E000C946E000C946E000C946E00
    254	10.05.2016 21:12:22	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_REQUEST	0A0001000000
    255	10.05.2016 21:12:22	TX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_RESPONSE	0A00010000000C945C000C946E000C946E000C946E00
    256	10.05.2016 21:12:23	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_CONFIG_REQUEST	0A0001005000D4460101
    257	10.05.2016 21:12:23	TX	3	N/A	C_STREAM	NO	ST_FIRMWARE_CONFIG_RESPONSE	0A0001005000D446
    258	10.05.2016 21:12:43	RX	3	INTERNAL	C_STREAM	NO	ST_FIRMWARE_CONFIG_REQUEST	0A0001005000D4460101
    259	10.05.2016 21:12:43	TX	3	N/A	C_STREAM	NO	ST_FIRMWARE_CONFIG_RESPONSE	0A0001005000D446
    

    with all messages transfered in about 40s (about 150 messages, ~3 times faster)

    Hope this helps to find the problem. If you need more information just let me know.


  • Admin

    @Anduril Is your nano running at 16 or 8Mhz? Also, is the node next to the GW or is a repeater in between?



  • @tekka I only copied the standard fuses (no 1/8 divider) and I think it is running on 16Mhz. Might be good to try with different baudrate for the 8Mhz version.
    But still, do you know why the OTA transfer is slower by a factor of 3?
    The sketch for my current project is quite big and needs several minutes to transfer. With serial upload working this would be much faster, but I have to unplug the nano from the circuit to reach the usb port. So fast OTA upload would be best.


  • Contest Winner

    @Anduril I had problems with 8MHz with 3,3V and 115200kBPS. I only use 38400kBPS with my 8MHz nodes. (Of cause your Bootloader must also be set to the same Baudrate as specified in the board.txt, they must match, i.e. you cannot just change the Boards.txt and have another Baudrate for programming.)

    I'm not sure if @tekka is providing a Bootloader hex file with 38400kBPS and 8MHz. From his first post I'm assuming he ueses a 57600kBPS with 8MHz. This might also work, however 57600kBPS with 8MHz introduces a baud rate error of 3.5% which sometimes causes problems with my PC/FTDI Dongle. So I personally use 38400kBPS which only has 0.2% Error: http://wormfood.net/avrbaudcalc.php (fosc=8MHz)



  • Hi. @tekka thanks for your works, OTA fw updates works very well (using MYSBootloader 1.3pre), but i've one question, after OTA updates successful and node running the sketch without error, how to update the fw using new ones? e.g an updated version of the sketch.
    I'm using MyController.org for controller by @jkandasa . So I ask to both of you.

    thanks.


  • Admin

    @Anduril a factor 3 slower is a bit surprizing, in my hands the new bootloader performs even better than the old one. Do you have a repeater in between or are GW and the node close together? As @Dirk_H pointed out, the current .hex was compiled for 16Mhz (and is also compatible with 8Mhz) but I
    will prepare a separate 8Mhz version and 38.4kBaud for testing.


  • Plugin Developer

    Hi,
    I have just started to update all my nodes to 2.0.0 dev.
    Started to update my serial gateway then update MYSController to 1.0.0beta and use the bootloader MYSBootloaderV13pre.hex
    First i could't burn the bootloader to my Arduino Pro Mini 5v, needed to changed the values in board.txt:
    From this:

    proMYSBL16.bootloader.low_fuses=0xFF
    proMYSBL16.bootloader.high_fuses=0xD2
    proMYSBL16.bootloader.lock_bits=0x3F
    

    To this:

    proMYSBL16.bootloader.low_fuses=0xF7
    proMYSBL16.bootloader.high_fuses=0xDA
    proMYSBL16.bootloader.lock_bits=0x0F
    

    It took about 50min to use OTA to upload a simple sketch for a humidity sensor with MYSController.
    I have the gateway and the sensor very close (about 10cm from each other).


  • Admin

    @ErrK Fuses have to be adjusted according to HW specifications, e.g. crystal vs. internal RC oscillator settings etc. Your new high fuse (clearing EESAVE) cleared the node settings in the eeprom after flashing the new bootloader (did you use your node as GW before?). 10cm between node and GW is far too close causing radio interferences - you may get better results by moving them further away.


  • Plugin Developer

    @tekka Thanks. It's working when i move them further away.



  • @tekka did some testing again. I don't have a repeater inbetween, but maybe they were to close to each other (~30cm).
    I repeated the tests a few times:
    when on my desk the new bootloader is significantly slower than the old one.
    When 2m away I don't see many messages arriving. Maybe my power suply used when not at my pc was not stable enough to give the current for sending with pa-lna. I will repeat the tests with a improved setup the next days.
    Can I give you specific information where the problem is? Maybe a special log or anything else to help find the problem?


  • Admin

    @Anduril hmm...I'm not experiencing any speed issues with the new bootloader. Can you activate debug on your GW and post the log while running OTA updates?



  • @tekka here the serial monitor while OTA upload with #define MY_DEBUG

    0;255;3;0;9;send: 0-0-3-3 s=255,c=3,t=15,pt=0,l=2,sg=0,st=ok:
    0;255;3;0;9;read: 3-3-0 s=255,c=4,t=0,pt=6,l=10,sg=0:6E000100580648930102
    0;255;3;0;9;Client 0: 3;0;4;0;1;6E00010058068FD5
    0;255;3;0;9;send: 0-0-3-3 s=0,c=4,t=1,pt=6,l=8,sg=0,st=fail:6E00010058068FD5
    0;255;3;0;9;read: 3-3-0 s=255,c=4,t=0,pt=6,l=10,sg=0:6E000100580648930102
    0;255;3;0;9;Client 0: 3;0;4;0;1;6E00010058068FD5
    0;255;3;0;9;send: 0-0-3-3 s=0,c=4,t=1,pt=6,l=8,sg=0,st=fail:6E00010058068FD5
    0;255;3;0;9;read: 3-3-0 s=255,c=4,t=0,pt=6,l=10,sg=0:6E000100580648930102
    0;255;3;0;9;Client 0: 3;0;4;0;1;6E00010058068FD5
    0;255;3;0;9;send: 0-0-3-3 s=0,c=4,t=1,pt=6,l=8,sg=0,st=fail:6E00010058068FD5
    0;255;3;0;9;read and forward: 3-3-255 s=255,c=3,t=7,pt=1,l=0,sg=0
    0;255;3;0;9;send: 0-0-3-3 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0
    0;255;3;0;9;read and forward: 3-3-255 s=255,c=3,t=7,pt=1,l=0,sg=0
    0;255;3;0;9;send: 0-0-3-3 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0
    0;255;3;0;9;read and forward: 3-3-255 s=255,c=3,t=7,pt=1,l=0,sg=0
    0;255;3;0;9;send: 0-0-3-3 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0
    0;255;3;0;9;read and forward: 3-3-255 s=255,c=3,t=7,pt=1,l=0,sg=0
    0;255;3;0;9;send: 0-0-3-3 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0
    0;255;3;0;9;read and forward: 3-3-255 s=255,c=3,t=7,pt=1,l=0,sg=0
    0;255;3;0;9;send: 0-0-3-3 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0
    0;255;3;0;9;read and forward: 3-3-255 s=255,c=3,t=7,pt=1,l=0,sg=0
    0;255;3;0;9;send: 0-0-3-3 s=255,c=3,t=8,pt=1,l=1,sg=0,st=ok:0
    0;255;3;0;9;read: 3-3-0 s=255,c=3,t=15,pt=6,l=2,sg=0:0100
    0;255;3;0;9;send: 0-0-3-3 s=255,c=3,t=15,pt=0,l=2,sg=0,st=fail:
    0;255;3;0;9;read: 3-3-0 s=255,c=4,t=0,pt=6,l=10,sg=0:6E000100580648930102
    0;255;3;0;9;Client 0: 3;0;4;0;1;6E00010058068FD5
    0;255;3;0;9;send: 0-0-3-3 s=0,c=4,t=1,pt=6,l=8,sg=0,st=fail:6E00010058068FD5
    0;255;3;0;9;read: 3-3-0 s=255,c=4,t=0,pt=6,l=10,sg=0:6E000100580648930102
    0;255;3;0;9;Client 0: 3;0;4;0;1;6E00010058068FD5
    0;255;3;0;9;send: 0-0-3-3 s=0,c=4,t=1,pt=6,l=8,sg=0,st=fail:6E00010058068FD5
    0;255;3;0;9;read: 3-3-0 s=255,c=4,t=2,pt=6,l=6,sg=0:6E0001005706
    0;255;3;0;9;Client 0: 3;255;4;0;3;6E0001005706FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    0;255;3;0;9;send: 0-0-3-3 s=255,c=4,t=3,pt=6,l=22,sg=0,st=fail:6E0001005706FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    0;255;3;0;9;read: 3-3-0 s=255,c=4,t=2,pt=6,l=6,sg=0:6E0001005706
    0;255;3;0;9;Client 0: 3;255;4;0;3;6E0001005706FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    0;255;3;0;9;send: 0-0-3-3 s=255,c=4,t=3,pt=6,l=22,sg=0,st=fail:6E0001005706FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    0;255;3;0;9;read: 3-3-0 s=255,c=4,t=2,pt=6,l=6,sg=0:6E0001005706
    0;255;3;0;9;Client 0: 3;255;4;0;3;6E0001005706FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    0;255;3;0;9;send: 0-0-3-3 s=255,c=4,t=3,pt=6,l=22,sg=0,st=fail:6E0001005706FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    0;255;3;0;9;read: 3-3-0 s=255,c=4,t=2,pt=6,l=6,sg=0:6E0001005706
    0;255;3;0;9;Client 0: 3;255;4;0;3;6E0001005706FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    0;255;3;0;9;send: 0-0-3-3 s=255,c=4,t=3,pt=6,l=22,sg=0,st=fail:6E0001005706FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    0;255;3;0;9;read: 3-3-0 s=255,c=4,t=2,pt=6,l=6,sg=0:6E0001005706
    0;255;3;0;9;Client 0: 3;255;4;0;3;6E0001005706FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    0;255;3;0;9;send: 0-0-3-3 s=255,c=4,t=3,pt=6,l=22,sg=0,st=fail:6E0001005706FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    0;255;3;0;9;read: 3-3-0 s=255,c=4,t=2,pt=6,l=6,sg=0:6E0001005706
    0;255;3;0;9;Client 0: 3;255;4;0;3;6E0001005706FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    0;255;3;0;9;send: 0-0-3-3 s=255,c=4,t=3,pt=6,l=22,sg=0,st=fail:6E0001005706FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    0;255;3;0;9;read: 3-3-0 s=255,c=4,t=2,pt=6,l=6,sg=0:6E0001005706
    0;255;3;0;9;Client 0: 3;255;4;0;3;6E0001005706FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    0;255;3;0;9;send: 0-0-3-3 s=255,c=4,t=3,pt=6,l=22,sg=0,st=fail:6E0001005706FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    0;255;3;0;9;read: 3-3-0 s=255,c=4,t=2,pt=6,l=6,sg=0:6E0001005706
    0;255;3;0;9;Client 0: 3;255;4;0;3;6E0001005706FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    0;255;3;0;9;send: 0-0-3-3 s=255,c=4,t=3,pt=6,l=22,sg=0,st=fail:6E0001005706FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    0;255;3;0;9;read: 3-3-0 s=255,c=3,t=15,pt=6,l=2,sg=0:0100
    0;255;3;0;9;send: 0-0-3-3 s=255,c=3,t=15,pt=0,l=2,sg=0,st=fail:
    0;255;3;0;9;read: 3-3-0 s=255,c=4,t=0,pt=6,l=10,sg=0:6E000100580648930102
    0;255;3;0;9;Client 0: 3;0;4;0;1;6E00010058068FD5
    0;255;3;0;9;send: 0-0-3-3 s=0,c=4,t=1,pt=6,l=8,sg=0,st=fail:6E00010058068FD5
    0;255;3;0;9;read: 3-3-0 s=255,c=4,t=0,pt=6,l=10,sg=0:6E000100580648930102
    0;255;3;0;9;Client 0: 3;0;4;0;1;6E00010058068FD5
    0;255;3;0;9;send: 0-0-3-3 s=0,c=4,t=1,pt=6,l=8,sg=0,st=fail:6E00010058068FD5
    0;255;3;0;9;read: 3-3-0 s=255,c=4,t=2,pt=6,l=6,sg=0:6E0001005706
    0;255;3;0;9;Client 0: 3;255;4;0;3;6E0001005706FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    0;255;3;0;9;send: 0-0-3-3 s=255,c=4,t=3,pt=6,l=22,sg=0,st=fail:6E0001005706FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    0;255;3;0;9;read: 3-3-0 s=255,c=4,t=2,pt=6,l=6,sg=0:6E0001005706
    0;255;3;0;9;Client 0: 3;255;4;0;3;6E0001005706FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    0;255;3;0;9;send: 0-0-3-3 s=255,c=4,t=3,pt=6,l=22,sg=0,st=fail:6E0001005706FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    0;255;3;0;9;read: 3-3-0 s=255,c=4,t=2,pt=6,l=6,sg=0:6E0001005706
    0;255;3;0;9;Client 0: 3;255;4;0;3;6E0001005706FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    0;255;3;0;9;send: 0-0-3-3 s=255,c=4,t=3,pt=6,l=22,sg=0,st=fail:6E0001005706FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    0;255;3;0;9;read: 3-3-0 s=255,c=4,t=2,pt=6,l=6,sg=0:6E0001005706
    0;255;3;0;9;Client 0: 3;255;4;0;3;6E0001005706FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    0;255;3;0;9;send: 0-0-3-3 s=255,c=4,t=3,pt=6,l=22,sg=0,st=fail:6E0001005706FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    0;255;3;0;9;read: 3-3-0 s=255,c=4,t=2,pt=6,l=6,sg=0:6E0001005706
    0;255;3;0;9;Client 0: 3;255;4;0;3;6E0001005706FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    0;255;3;0;9;send: 0-0-3-3 s=255,c=4,t=3,pt=6,l=22,sg=0,st=fail:6E0001005706FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    0;255;3;0;9;read: 3-3-0 s=255,c=4,t=2,pt=6,l=6,sg=0:6E0001005706
    0;255;3;0;9;Client 0: 3;255;4;0;3;6E0001005706FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    0;255;3;0;9;send: 0-0-3-3 s=255,c=4,t=3,pt=6,l=22,sg=0,st=fail:6E0001005706FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    0;255;3;0;9;read: 3-3-0 s=255,c=4,t=2,pt=6,l=6,sg=0:6E0001005706
    0;255;3;0;9;Client 0: 3;255;4;0;3;6E0001005706FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    0;255;3;0;9;send: 0-0-3-3 s=255,c=4,t=3,pt=6,l=22,sg=0,st=fail:6E0001005706FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    0;255;3;0;9;read: 3-3-0 s=255,c=4,t=2,pt=6,l=6,sg=0:6E0001005706
    0;255;3;0;9;Client 0: 3;255;4;0;3;6E0001005706FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    0;255;3;0;9;send: 0-0-3-3 s=255,c=4,t=3,pt=6,l=22,sg=0,st=fail:6E0001005706FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    0;255;3;0;9;read: 3-3-0 s=255,c=3,t=15,pt=6,l=2,sg=0:0100
    0;255;3;0;9;send: 0-0-3-3 s=255,c=3,t=15,pt=0,l=2,sg=0,st=fail:
    0;255;3;0;9;read: 3-3-0 s=255,c=4,t=0,pt=6,l=10,sg=0:6E000100580648930102
    0;255;3;0;9;Client 0: 3;0;4;0;1;6E00010058068FD5
    0;255;3;0;9;send: 0-0-3-3 s=0,c=4,t=1,pt=6,l=8,sg=0,st=fail:6E00010058068FD5
    0;255;3;0;9;read: 3-3-0 s=255,c=4,t=0,pt=6,l=10,sg=0:6E000100580648930102
    0;255;3;0;9;Client 0: 3;0;4;0;1;6E00010058068FD5
    0;255;3;0;9;send: 0-0-3-3 s=0,c=4,t=1,pt=6,l=8,sg=0,st=fail:6E00010058068FD5
    0;255;3;0;9;read: 3-3-0 s=255,c=4,t=0,pt=6,l=10,sg=0:6E000100580648930102
    0;255;3;0;9;Client 0: 3;0;4;0;1;6E00010058068FD5
    0;255;3;0;9;send: 0-0-3-3 s=0,c=4,t=1,pt=6,l=8,sg=0,st=fail:6E00010058068FD5
    0;255;3;0;9;read and forward: 3-3-255 s=255,c=3,t=7,pt=1,l=0,sg=0
    0;255;3;0;9;send: 0-0-3-3 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0
    0;255;3;0;9;read and forward: 3-3-255 s=255,c=3,t=7,pt=1,l=0,sg=0
    0;255;3;0;9;send: 0-0-3-3 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0
    0;255;3;0;9;read and forward: 3-3-255 s=255,c=3,t=7,pt=1,l=0,sg=0
    0;255;3;0;9;send: 0-0-3-3 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0
    0;255;3;0;9;read and forward: 3-3-255 s=255,c=3,t=7,pt=1,l=0,sg=0
    0;255;3;0;9;send: 0-0-3-3 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0
    0;255;3;0;9;read and forward: 3-3-255 s=255,c=3,t=7,pt=1,l=0,sg=0
    0;255;3;0;9;send: 0-0-3-3 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0
    0;255;3;0;9;read and forward: 3-3-255 s=255,c=3,t=7,pt=1,l=0,sg=0
    0;255;3;0;9;send: 0-0-3-3 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0
    0;255;3;0;9;read and forward: 3-3-255 s=255,c=3,t=7,pt=1,l=0,sg=0
    0;255;3;0;9;send: 0-0-3-3 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0
    0;255;3;0;9;read and forward: 3-3-255 s=255,c=3,t=7,pt=1,l=0,sg=0
    0;255;3;0;9;send: 0-0-3-3 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0
    0;255;3;0;9;read and forward: 3-3-255 s=255,c=3,t=7,pt=1,l=0,sg=0
    0;255;3;0;9;send: 0-0-3-3 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0
    0;255;3;0;9;read and forward: 3-3-255 s=255,c=3,t=7,pt=1,l=0,sg=0
    0;255;3;0;9;send: 0-0-3-3 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0
    0;255;3;0;9;read and forward: 3-3-255 s=255,c=3,t=7,pt=1,l=0,sg=0
    0;255;3;0;9;send: 0-0-3-3 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0
    0;255;3;0;9;read and forward: 3-3-255 s=255,c=3,t=7,pt=1,l=0,sg=0
    0;255;3;0;9;send: 0-0-3-3 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0
    0;255;3;0;9;read and forward: 3-3-255 s=255,c=3,t=7,pt=1,l=0,sg=0
    0;255;3;0;9;send: 0-0-3-3 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0
    0;255;3;0;9;read and forward: 3-3-255 s=255,c=3,t=7,pt=1,l=0,sg=0
    0;255;3;0;9;send: 0-0-3-3 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0
    0;255;3;0;9;read and forward: 3-3-255 s=255,c=3,t=7,pt=1,l=0,sg=0
    0;255;3;0;9;send: 0-0-3-3 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0
    0;255;3;0;9;read and forward: 3-3-255 s=255,c=3,t=7,pt=1,l=0,sg=0
    0;255;3;0;9;send: 0-0-3-3 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0
    0;255;3;0;9;read and forward: 3-3-255 s=255,c=3,t=7,pt=1,l=0,sg=0
    0;255;3;0;9;send: 0-0-3-3 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0
    0;255;3;0;9;read and forward: 3-3-255 s=255,c=3,t=7,pt=1,l=0,sg=0
    0;255;3;0;9;send: 0-0-3-3 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0
    0;255;3;0;9;read and forward: 3-3-255 s=255,c=3,t=7,pt=1,l=0,sg=0
    0;255;3;0;9;send: 0-0-3-3 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0
    0;255;3;0;9;read and forward: 3-3-255 s=255,c=3,t=7,pt=1,l=0,sg=0
    0;255;3;0;9;send: 0-0-3-3 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0
    0;255;3;0;9;read and forward: 3-3-255 s=255,c=3,t=7,pt=1,l=0,sg=0
    0;255;3;0;9;send: 0-0-3-3 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0
    0;255;3;0;9;read: 3-3-0 s=255,c=3,t=15,pt=6,l=2,sg=0:0100
    0;255;3;0;9;send: 0-0-3-3 s=255,c=3,t=15,pt=0,l=2,sg=0,st=fail:
    0;255;3;0;9;read: 3-3-0 s=255,c=4,t=0,pt=6,l=10,sg=0:6E000100580648930102
    0;255;3;0;9;Client 0: 3;0;4;0;1;6E00010058068FD5
    0;255;3;0;9;send: 0-0-3-3 s=0,c=4,t=1,pt=6,l=8,sg=0,st=fail:6E00010058068FD5
    0;255;3;0;9;read: 3-3-0 s=255,c=4,t=0,pt=6,l=10,sg=0:6E000100580648930102
    0;255;3;0;9;Client 0: 3;0;4;0;1;6E00010058068FD5
    0;255;3;0;9;send: 0-0-3-3 s=0,c=4,t=1,pt=6,l=8,sg=0,st=fail:6E00010058068FD5
    0;255;3;0;9;read: 3-3-0 s=255,c=4,t=0,pt=6,l=10,sg=0:6E000100580648930102
    0;255;3;0;9;Client 0: 3;0;4;0;1;6E00010058068FD5
    0;255;3;0;9;send: 0-0-3-3 s=0,c=4,t=1,pt=6,l=8,sg=0,st=fail:6E00010058068FD5
    

  • Admin

    @Anduril There are some communication issues here, i.e. the node radio doesn't not appear to receive msgs. If you put GW and node further away, different position, away from interference sources (wifi, speaker, monitor, etc.) do you see any improvements? Also you should try with different radios, larger caps, decoupling caps, stable PSU or batteries. What type of nRF24 are you using? Genuine, Clones (blob-version?).



  • @tekka I tried a few combinations: different positions (nearest ~20cm, farest ~5m with walls), radios (probably clones, but no blobs, nRF from mysensors store and others, also pa+lna for gateway) and different caps with no success. Still quite a lot of packages lost during transmision.
    I then reflashed the old bootloader again and it worked flawless for 5m and 20cm.


  • Admin

    @Anduril Can you re-test this version of MYSBootloader (16Mhz, CH76, 250kbp) with the most recent dev 2.0.0 version (i.e. GW), clearing EEPROM before flashing is advisable. In my setup, I get pretty decent data rates for OTA updates...



  • @tekka I will test this asap (hopefully this weekend). One point for clearing EEPROM: do you know if the sketch also works on the ESP8266? Because I thought to have cleared the EEPROM and uploaded a sketch without wifi config, but it still connected to my wifi.



  • @tekka I did test your new bootloader, with no success. I also tried to use the nano with 8Mhz internal clock, but same result.
    Here again the serial debug of my ESP8266 gateway:
    With the new bootloader:

    0;255;3;0;9;read: 5-5-0 s=255,c=3,t=15,pt=6,l=2,sg=0:0100
    0;255;3;0;9;send: 0-0-5-5 s=255,c=3,t=15,pt=0,l=2,sg=0,st=ok:
    0;255;3;0;9;read: 5-5-0 s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFAA160102
    0;255;3;0;9;Client 0: 5;0;4;0;1;6E000100000819CC
    0;255;3;0;9;send: 0-0-5-5 s=0,c=4,t=1,pt=6,l=8,sg=0,st=ok:6E000100000819CC
    0;255;3;0;9;read and forward: 5-5-255 s=255,c=3,t=7,pt=1,l=0,sg=0
    0;255;3;0;9;send: 0-0-5-5 s=255,c=3,t=8,pt=1,l=1,sg=0,st=ok:0
    0;255;3;0;9;read: 5-5-0 s=255,c=3,t=15,pt=6,l=2,sg=0:0100
    0;255;3;0;9;send: 0-0-5-5 s=255,c=3,t=15,pt=0,l=2,sg=0,st=ok:
    0;255;3;0;9;read: 5-5-0 s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFAA160102
    0;255;3;0;9;Client 0: 5;0;4;0;1;6E000100000819CC
    0;255;3;0;9;send: 0-0-5-5 s=0,c=4,t=1,pt=6,l=8,sg=0,st=fail:6E000100000819CC
    0;255;3;0;9;read: 5-5-0 s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFAA160102
    0;255;3;0;9;Client 0: 5;0;4;0;1;6E000100000819CC
    0;255;3;0;9;send: 0-0-5-5 s=0,c=4,t=1,pt=6,l=8,sg=0,st=ok:6E000100000819CC
    0;255;3;0;9;read and forward: 5-5-255 s=255,c=3,t=7,pt=1,l=0,sg=0
    0;255;3;0;9;send: 0-0-5-5 s=255,c=3,t=8,pt=1,l=1,sg=0,st=ok:0
    0;255;3;0;9;read: 5-5-0 s=255,c=3,t=15,pt=6,l=2,sg=0:0100
    0;255;3;0;9;send: 0-0-5-5 s=255,c=3,t=15,pt=0,l=2,sg=0,st=ok:
    0;255;3;0;9;read: 5-5-0 s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFAA160102
    0;255;3;0;9;Client 0: 5;0;4;0;1;6E000100000819CC
    0;255;3;0;9;send: 0-0-5-5 s=0,c=4,t=1,pt=6,l=8,sg=0,st=ok:6E000100000819CC
    0;255;3;0;9;read and forward: 5-5-255 s=255,c=3,t=7,pt=1,l=0,sg=0
    0;255;3;0;9;send: 0-0-5-5 s=255,c=3,t=8,pt=1,l=1,sg=0,st=ok:0
    0;255;3;0;9;read: 5-5-0 s=255,c=3,t=15,pt=6,l=2,sg=0:0100
    0;255;3;0;9;send: 0-0-5-5 s=255,c=3,t=15,pt=0,l=2,sg=0,st=ok:
    0;255;3;0;9;read: 5-5-0 s=255,c=4,t=0,pt=6,l=10,sg=0:FFFFFFFFFFFFAA160102
    0;255;3;0;9;Client 0: 5;0;4;0;1;6E000100000819CC
    0;255;3;0;9;send: 0-0-5-5 s=0,c=4,t=1,pt=6,l=8,sg=0,st=ok:6E000100000819CC
    

    with the old bootloader:

    0;255;3;0;9;read: 6-6-0 s=255,c=4,t=2,pt=6,l=6,sg=0:6E000100FD07
    0;255;3;0;9;Client 0: 6;255;4;0;3;6E000100FD070895262FF999FECF92BD81BDF89A0197
    0;255;3;0;9;send: 0-0-6-6 s=255,c=4,t=3,pt=6,l=22,sg=0,st=ok:6E000100FD070895262FF999FECF92BD81BDF89A0197
    0;255;3;0;9;read: 6-6-0 s=255,c=4,t=2,pt=6,l=6,sg=0:6E000100FC07
    0;255;3;0;9;Client 0: 6;255;4;0;3;6E000100FC07CB01840F951F2E9105D041505040D8F7
    0;255;3;0;9;send: 0-0-6-6 s=255,c=4,t=3,pt=6,l=22,sg=0,st=ok:6E000100FC07CB01840F951F2E9105D041505040D8F7
    0;255;3;0;9;read: 6-6-0 s=255,c=4,t=2,pt=6,l=6,sg=0:6E000100FB07
    0;255;3;0;9;Client 0: 6;255;4;0;3;6E000100FB07B8F70895DC01A40FB51F4150504040F0
    0;255;3;0;9;send: 0-0-6-6 s=255,c=4,t=3,pt=6,l=22,sg=0,st=ok:6E000100FB07B8F70895DC01A40FB51F4150504040F0
    0;255;3;0;9;read: 6-6-0 s=255,c=4,t=2,pt=6,l=6,sg=0:6E000100FA07
    0;255;3;0;9;Client 0: 6;255;4;0;3;6E000100FA07F2BDE1BDF89A319600B40D9241505040
    0;255;3;0;9;send: 0-0-6-6 s=255,c=4,t=3,pt=6,l=22,sg=0,st=ok:6E000100FA07F2BDE1BDF89A319600B40D9241505040
    0;255;3;0;9;read: 6-6-0 s=255,c=4,t=2,pt=6,l=6,sg=0:6E000100F907
    0;255;3;0;9;Client 0: 6;255;4;0;3;6E000100F90711240895DC01CB01FC01F999FECF06C0
    0;255;3;0;9;send: 0-0-6-6 s=255,c=4,t=3,pt=6,l=22,sg=0,st=ok:6E000100F90711240895DC01CB01FC01F999FECF06C0
    0;255;3;0;9;read: 6-6-0 s=255,c=4,t=2,pt=6,l=6,sg=0:6E000100F807
    0;255;3;0;9;Client 0: 6;255;4;0;3;6E000100F807990B08957AE0979F902D879F802D910D
    0;255;3;0;9;send: 0-0-6-6 s=255,c=4,t=3,pt=6,l=22,sg=0,st=ok:6E000100F807990B08957AE0979F902D879F802D910D
    0;255;3;0;9;read: 6-6-0 s=255,c=4,t=2,pt=6,l=6,sg=0:6E000100F707
    0;255;3;0;9;Client 0: 6;255;4;0;3;6E000100F7078D910190801921F441505040C8F7881B
    0;255;3;0;9;send: 0-0-6-6 s=255,c=4,t=3,pt=6,l=22,sg=0,st=ok:6E000100F7078D910190801921F441505040C8F7881B
    0;255;3;0;9;read: 6-6-0 s=255,c=4,t=2,pt=6,l=6,sg=0:6E000100F607
    0;255;3;0;9;Client 0: 6;255;4;0;3;6E000100F6071EF4909581959F4F0895FB01DC0104C0
    0;255;3;0;9;send: 0-0-6-6 s=255,c=4,t=3,pt=6,l=22,sg=0,st=ok:6E000100F6071EF4909581959F4F0895FB01DC0104C0
    0;255;3;0;9;read: 6-6-0 s=255,c=4,t=2,pt=6,l=6,sg=0:6E000100F507
    0;255;3;0;9;Client 0: 6;255;4;0;3;6E000100F50703C018D0820F911D219120532A30C8F3
    0;255;3;0;9;send: 0-0-6-6 s=255,c=4,t=3,pt=6,l=22,sg=0,st=ok:6E000100F50703C018D0820F911D219120532A30C8F3
    0;255;3;0;9;read: 6-6-0 s=255,c=4,t=2,pt=6,l=6,sg=0:6E000100F407
    0;255;3;0;9;Client 0: 6;255;4;0;3;6E000100F40710F02E30C8F32B3239F02D3231F46894
    0;255;3;0;9;send: 0-0-6-6 s=255,c=4,t=3,pt=6,l=22,sg=0,st=ok:6E000100F40710F02E30C8F32B3239F02D3231F46894
    0;255;3;0;9;read: 6-6-0 s=255,c=4,t=2,pt=6,l=6,sg=0:6E000100F307
    0;255;3;0;9;Client 0: 6;255;4;0;3;6E000100F307FC0188279927E89421912032E9F32930
    0;255;3;0;9;send: 0-0-6-6 s=255,c=4,t=3,pt=6,l=22,sg=0,st=ok:6E000100F307FC0188279927E89421912032E9F32930
    

    just for completeness my settings for burning the old bootloader:

    nano.name=Arduino Nano
    nano.upload.tool=avrdude
    nano.upload.protocol=arduino
    nano.bootloader.tool=avrdude
    nano.bootloader.unlock_bits=0x3F
    nano.bootloader.lock_bits=0x0F
    nano.build.f_cpu=16000000L
    nano.build.board=AVR_NANO
    nano.build.core=arduino
    nano.build.variant=eightanaloginputs
    nano.menu.cpu.MYSBLoldatmega328=ATmega328 MYSBootloader old
    nano.menu.cpu.MYSBLoldatmega328.upload.maximum_size=30720
    nano.menu.cpu.MYSBLoldatmega328.upload.maximum_data_size=2048
    nano.menu.cpu.MYSBLoldatmega328.upload.speed=115200
    nano.menu.cpu.MYSBLoldatmega328.bootloader.low_fuses=0xFF
    nano.menu.cpu.MYSBLoldatmega328.bootloader.high_fuses=0xDA
    nano.menu.cpu.MYSBLoldatmega328.bootloader.extended_fuses=0x05
    nano.menu.cpu.MYSBLoldatmega328.bootloader.file=MySensors/MYSBootloader.hex
    

    And to note something I noticed (but don't know if it's related): sometimes the MYSController loses it's connection to the gateway. Serial monitor is still printing values but nothing in MYSController. When I reconnect the Controller it is working again.

    edit: and is it normal that a sketch needs more than 20 min to upload? I mean the sketch is quite big (>70% of max), but it seems to be to long even with the old (for me faster) bootloader.

    edit2: one hour and about 24k messages (MsgID in MYSController) later my node is still updating...



  • Did any one able to make this work with atmega328p-PU 28 DIP 8MHz internal clock? or is it just me having problems with this boot loader?

    I was able to load the boot loader successfully and able to upload a sketch but then nothing happen, i see nothing in the serial port (default 115200) and the gateway does not find any node.

    I am using latest dev branch of 2.0 and the boot loader from this thread.

    Just for compression i loaded another boot loader for 8MHz internal clock (Arduino on breadboard) and uploaded a sketch to it and it worked perfectly communicating with the gateway.

    I want to be able to upload OTA.

    AM i doing something wrong? does this boot loader even supports this MCU?



  • I have a node with the NRF already soldered. Since Arduino as ISP uses some of the pins used by the NRF, is there anything I can do to flash the bootloader without unsoldering the NRF? Thanks!



  • This post is deleted!


  • @abmantis You can just solder ISP wires to arduino without disconneting NRF. It's programming well (I've already tested this solution with my network)



  • @Алексей-Гусаров Thank you! Will try that soon 🙂
    Any updates regarding the bootloader?



  • I managed to use the bootloader with version 2.0, thanks.



  • Yeah, the bootloader works well with the v2.0 release.
    The major issue it has currently is that sometimes it takes quite a long time to flash a sketch. It seems that when the wireless connection is not perfect, it stops for 2 or 3 seconds multiple times. Like, send 10 packages, stop 3 seconds, send 5 packages, stop again.



  • any news about 1.3 final release?



  • @tekka
    I used the MYSBootloader 1.3pre with version 2.0.0
    I managed to upload FW to nodes with MYSController.

    As mention:
    "supports OTA FW AND serial FW updates"

    But I cannot get anything to serial port with the nodes.
    Is the serial option really works on this bootloader?
    the specs:
    1.board - my own developed board with atmega328p au without external clock.
    2.board.txt:

    ######## settings for 8Mhz internal clock, EESAVE, BOD1V8, no lock
    proMYSBL8.name=ATmega328 internal 8Mhz with MYSBootloader
    proMYSBL8.upload.tool=avrdude
    proMYSBL8.upload.protocol=arduino
    proMYSBL8.upload.maximum_size=30720
    proMYSBL8.upload.maximum_data_size=2048
    proMYSBL8.upload.speed=57600
    proMYSBL8.bootloader.tool=avrdude
    proMYSBL8.bootloader.low_fuses=0xE2
    proMYSBL8.bootloader.high_fuses=0xD2
    proMYSBL8.bootloader.extended_fuses=0x06
    proMYSBL8.bootloader.unlock_bits=0x3F
    proMYSBL8.bootloader.lock_bits=0x3F
    proMYSBL8.bootloader.file=MySensors/MYSBootloaderV13pre.hex
    proMYSBL8.build.mcu=atmega328p
    proMYSBL8.build.f_cpu=8000000L
    proMYSBL8.build.board=AVR_UNO
    proMYSBL8.build.core=arduino
    proMYSBL8.build.variant=standard 
    
    1. the bootloader hex file is : MYSBootloaderV13pre.hex from MYSController 1.0.0beta

    So is serial possible or/and should I change something?



  • @Mickey :
    It's the same problem i've posted about 4 months ago here.. i also cant run sketches i've uploaded via serial..
    i hope it is solved with a new release...maybe the final already @tekka?


  • Admin

    @Mickey There are some issues with Arduino IDE 1.6.10 and avrdude 6.3 - do you happen to have 1.6.10 installed?



  • @tekka
    My arduino IDE: 1.6.11
    The avrdude inside that arduino IDE is: 6.0.1


  • Admin

    @Mickey And what is the output when it fails? Can you try the bootloader with on a 16Mhz board and 115200bps?



  • @tekka
    It's not failing the node is functional and I can upload a sketch to it via MYSController but It cannot get sketch from the arduino IDE (the IDE gives the normal output that upload complete and all OK without any Error notice but after it the node doesn't have a FW on it and even if I upload some basic sketch that spit Serial to monitor nothing happen.)
    I will try to upload the bootloader to an Arduino nano node to see if on 16Mhz board and 115200bps the problem exist.
    Also you mention that the hex file compiled to 16Mhz board and 115200bps , maybe it should also compile on a internal 8Mhz to fix this.


  • Admin

    @Mickey Ok, I see, this is something related to the internal checksum, need to adjust that. In short: the bootloader doesn't hand over to the sketch



  • @tekka
    Hi tekka, are the source already available. I'm moving all my setup to mysensor 2.0.1 so your new bootloader is very interesting.
    But on my setup I need a small customization.
    I have 3 areas with 3 GW and each area with a different RF channel.
    So I add a configuration switch to my nodes to select the channel.
    I already modified the mysensor Library for this feature.
    That why I'm asking for source code, in order to add this on bootloader too.

    Thank and nice job


  • Admin

    @Lorenzo not finalized, need to revise the stk500 code



  • @tekka
    Hi, thank for your quick answer. Yes software are never finalized 😄
    Even a beta release can be ok to me in order to start testing the new setup.
    I will start with some micro pro 3.3V 8MHz external quartz.
    Also if I can help in coding or debugging, happy to help. I spend lot of time programming AVR. Please don't hesitate, ask (PM).
    In any case up to you to decide when starting publishing the first release.

    Thank for your job and looking forward to test the bootloader



  • Ohh. I'm also very eager to have my hands on the source of the beta. Please share so that we can help finalize it. I have a bunch of sensors ready for deployment, but I need a bootloader that can upgrade them. Since software is never ready 😄

    ///Redferne



  • Hi all.
    Hands up I have not read the whole thread so apologies! I was just wondering on status of RFM69? I am about to embark on an upgrade of all my node from rf24 -> rfm69 and 1.5 -> 2.0 and would like to also add OTA while I am at it.

    Thanks!



  • @Fabien said:

    I try to add new hex file in MYSController 1.0 but after clicking "reload repo", it tells me 2107-15-31 is not a valid date specification. I don't have the ability to select firmware after this. And after a reboot the "reload repo" is garyed.

    @Fabien You have two or more blank lines in your firmware_config.csv. This causes the error message. If you remove them and click on Reload Repo the error will be gone.



  • @abmantis

    I have same problem. Did you solve the problem?



  • @yd-kim What problem?



  • @abmantis
    You did post following 2months ago and I have same problem too.
    If you solve the problem, please share it.

    Yeah, the bootloader works well with the v2.0 release.
    The major issue it has currently is that sometimes it takes quite a long time to flash a sketch. It seems that when the wireless connection is not perfect, it stops for 2 or 3 seconds multiple times. Like, send 10 packages, stop 3 seconds, send 5 packages, stop again.

    Thanks.



  • @yd-kim Ah that! Nope, unfortunately it stills takes a long time to flash. We probably need an updated bootloader.



  • @abmantis DO you have the serial upload working? I never got it working and gave up some day. I am using the old bootloader which is uploading ota much faster than the new. Maybe you can also test and confirm this?



  • @Anduril
    I did some thest.
    1.3Pre.hex in 1.0.0Beta : it works with serial upload but take too long time(about an hour) to use OTA or fail.
    1.1 (?) which is in 0.1.2 folder : it takes about 10 minutes and works well but doesn't work with Serial upload which is normal way to upload firmware in Arduino.
    Thank you for all help.



  • @yd-kim said:

    1.3Pre.hex in 1.0.0Beta : it works with serial upload

    i couldn't get the 1.3pre work with serial upload, its interesting to see you could.



  • @tekka said:

    @Mickey Ok, I see, this is something related to the internal checksum, need to adjust that. In short: the bootloader doesn't hand over to the sketch

    Has this adjusted already?


  • Hardware Contributor

    Hi @tekka, can you help me?
    I want to start exchanging between my MDMSGate device and MYSController via Ethernet. But I don't use Ethernet Shield W5100 in my MDMSGate, I use microcontroller PIC18F67J60 instead. I have uploaded to the PIC18F67J60 firmware which converts TCP/IP packets to serial and conversely.
    0_1474892376023_Ethernet_gateway.jpg
    In atmega328P I use the serial gateway sketch. So, I can't connect MYSController to my MDMSGate. Can you explain me, how MYSController exchanges with gateway generally? In an exchange through CP2102 (as a serial gateway mode) everything works well.



  • In the "firmware_config.csv" file, on the first line it says:

    Type,Name,Version,File,Comments
    

    I know that it is there to explain how to add new lines to the file.
    But I don't know what "Type" is used for.
    The two examples have the numbers 10 and 20. I added a 30 and it seems to work but I would like to know what it's for.

    Thanks



  • @Anduril Haven't tried serial yet. The old bootloader seemed indeed a bit faster. I also noticed that if I touch pin 10 with my finger, it gets really fast! It just sends the packages continuously without stoping. As soon as I stop touching pin 10, it pauses.

    The gw and the node were like 1 meter, so it is not a distance problem. Also tried moving them closer and apart.



  • This post is deleted!


  • @abmantis Interesting. Can you let me know a little bit further detail?
    You mean Arduino pro mini pin 10? That pin is connected to CSN on NRF24L01.
    I'm keen to find the issue why it get slow.. It took 20-30minutes to upload new firmware....



  • @yd-kim Yes, just touch Arduino's pin 10. Dunno if it is a particularity with this Arduino or radio. It updates the node in about 20 seconds!



  • Hi @tekka, I'm having the very same issue as @Mickey so I just wanted to ask if there is any workaround to that or if happen to make the adjustment to the bootloader. Thanks a lot! Original comment


  • Admin

    @Jan-Hicl This has been fixed - did you try the most recent version from github?



  • Hi @tekka and thanks for getting back to me! I tried the latest version however with no success. The node that I update is still marked as "Booting" even though I upload Blink.hex. Strangely enough, the led is blinking as it's supposed to blink and if I request presentation the node replies with correct sketch name but then it goes back to Booting. I'm using Arduino IDE 1.8.1, AVRdude v6.1 and MYScontroller v1.0.0 beta (build 3314). I'm using Arduino mini pro, 3V3, 8MHz. I have 5 different nodes but all of them with the same behavior so it does not seem as an HW issue.

    Here is my log from the upload of Blink.hex: http://pastebin.com/9grgHb27 Would you have any idea how could I fix that? Thanks!


  • Admin

    @Jan-Hicl The blink sketch is somewhat special - it only blinks the built-in LED until the watchdog kicks in and resets the node. What happens if you upload one of your sketches? Please post the full debug log + source. Thanks



  • I did success with MySBootloader 1.3 beta 3 (https://github.com/mysensors/MySensorsBootloaderRF24 )
    It works both arduino and OTA firmware upgrade however it takes longer to boot up (means switch to firmware) about 3-5seconds.
    I'm using MYSensors 2.1.0 and MYController (http://www.mycontroller.org) on arduino pro mini 8Mhz 3.3V.

    How many sensor you try at the same time?
    From memory When I do firmware update for 3-4 sensors, I have to change "Tx message processing delay" to 300ms.
    If it's shorter than 300ms, keep rebooting some stage.

    I didn't use MYScontroller but probably it has similar setting.



  • Thanks @tekka for a prompt response!

    I tried to upload https://github.com/mysensors/MySensors/blob/master/examples/AirQualitySensor/AirQualitySensor.ino
    here is the log: http://pastebin.com/Tc5vhEnF
    You can see that the node is successfully running with TimeReporter but AirQualitySensor cannot make it from booting. However, this is happening even with highly modified AirQualitySensor sketch or some of my custom sketches. In the log, you can also see that if I request presentation of that node it replies with correct sketch name.

    Please let me know if you need some more info. Thanks in advance!


  • Admin

    @Jan-Hicl Please also post the full debug log of the node (running AirQualitySensor).



  • @tekka here is the AirQualitySensor node log: http://pastebin.com/XWfFCbUx


  • Admin

    @Jan-Hicl The GW and node logs are inconsistent: your GW log shows a rebooting node 1 - the node log shows a running node trying to establish the uplink. Do you have logs from GW and node taken simultaneously?



  • Sorry @tekka, should've sent this in the first post. Here is AirQuality sensor node log: http://pastebin.com/9MVtfRNV
    Here is gateway log: http://pastebin.com/QNpmBz4m
    Both of them logged simultaneously. Node Id I'm updating is 1. In the log you can again see that TimeReporter is working well before the flashing. Please let me know if there is anything I can provide you with in order to solve this... Thanks!



  • Hello
    I succed to program booloader but y can not add my sketch to arduino with serial or USB line.
    Is is activated by default?
    Thanks.



  • Hi @tekka any update what could be wrong with the upload? Any advice on a workaround? Thanks!


  • Admin

    @Jan-Hicl The upload via bootloader is ok (the sketch is running - based on your debug log) - so no issue here.
    However, you may have some issues with the CPU frequency (wrong board selected when compiling?) - there are scrambled chars in the debug output:

    Starting óensor (RNNNA-, 2.0.0)
    TSM:INIT
    TSM:RADIO:OK
    TSP:ASSIGNID:OK (ID=1)
    TSM:FPAR
    TSP:MSG:ÓEND 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
    TSP:MSG:READ 0-0-1 s=255,c=3,t=8,pt=1,l=1,sg=0:0
    TSP:MSG:FPAR RES (IÄ=0, dist=0)
    TSP:MSG:PAR OK (ÉD=0, dist=1)
    TSM:FPAR:OK
    TSM:ID
    TSM:CHKID:OË (ID=1)
    TSM:UPL
    TSP:PING:SEND (dest=0)
    TSP:MSG:SEND 1-1-0-0 s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=ok:1
    TSP:CHKUPL:FAIL (hops=255)
    !TSM:UPL:FAIÌ
    TSM:FPAR
    TSP:MSG:SEND 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
    TSP:MSG:READ 2-2-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
    TSP:MSG:BC
    TSP:MSG:ÒEAD 0-0-1 s=255,c=3,t=8,pt=1,l=1,sg=0:0
    ÔSP:MSG:FPAR RES (ID=0, dist=0)
    TSP:MSG:PAR OK (ID=0, diót=1)
    TSM:ÆPAR:OK
    

  • Hardware Contributor

    How do we go about compiling this for 8MHz crystal (Internal and External), i'm sure this has already been asked but I can't seem to search through this post very efficiently... Sorry if it has been covered already, just a link back or something would probably suit me if it has been 🙂



  • Nice job, the last bootloader seems to run in good conditions.

    I use MySensors 2.2.0 beta, MYSController 1.0.0 (3314) and the last version MYSbootloader 1.3.0-beta.4 (https://github.com/mysensors/MySensorsBootloaderRF24)

    Update, flash, firmware via OTA is ok.

    But 1 problem occurs when a node reboot.
    I tried to isolate the problem, so I think that's arround the presentation request.

    When I click on "request presentation", I got it

    http://hpics.li/93e8861

    and below the debug output (via serial) of the node

    70437 TSF:MSG:READ,0-0-1,s=0,c=3,t=19,pt=0,l=1,sg=0:0
    70445 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100
    70453 TSF:MSG:READ,0-0-1,s=255,c=3,t=15,pt=6,l=2,sg=0:0100
    70460 TSF:MSG:SEND,1-1-0-0,s=255,c=0,t=17,pt=0,l=10,sg=0,ft=0,st=OK:2.2.0-beta
    70469 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0
    70497 TSF:MSG:READ,0-0-1,s=255,c=3,t=6,pt=0,l=1,sg=0:M
    70504 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=11,pt=0,l=8,sg=0,ft=0,st=OK:OTA Test
    70512 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=12,pt=0,l=1,sg=0,ft=0,st=OK:1
    70521 TSF:MSG:SEND,1-1-0-0,s=1,c=0,t=3,pt=0,l=8,sg=0,ft=0,st=OK:Sensor 1
    

    Maybe a bug or where is the mistake ?

    Thanks in advance foryour help

    Edit: After a couple of test, the problem is related to the gateway with MySensor Library version 2.2.0 beta.
    All nodes (2.1.1 & 2.2.0 libs) from my network present the same error.
    Probably a vartype unexpected by the Gateway (2.2.0 lib).

    The serial Gateway (2.1.1) is ok



  • @Nicolas-Charrier
    Hello @tekka , I have the same problem.

    I am trying to set up my Serial Gateway. I flashed the OTA bootloader but how can I upload the Gateway sketch through Serial ?

    I tried to use the MySysController but the node is not presented so that I can flash new firware with the Gateway sketch. It only worked when I flashed normal Optiboot bootloader and then flashed the Serial Gateway sketch through Serial, then I connected the Gateway to the Controller and the presentation worked well. Thus I now have a Gateway which I can flash other nodes with through OTA.

    Is there another way to flash a gateway sketch other than this ?

    Thanks.


  • Admin

    @ahmedadelhosni Why would you want to flash MYSBootloader on your GW? OTA FW update capabilities only make sense on sensor nodes...



  • @tekka I just thought that if I flashed a bootloader on a new hardware IC then I can decide whether to flash GW or sensor node when connected to the serial computer.



  • I see that after compiling I get to choose between sketch.ino.hex and sketch.ino.with_bootloader.hex
    Is it possible to update the bootloader OTA by using this hex file instead? Which is the best bootloader available now, because my nodes are now on 1.3pre (from topic start).



  • How does GW mode actually work - I have been trying to relay a connection to Vera but not matter what combination I am trying I cannot understand how the GW mode operates?


  • Admin

    @itbeyond Have you opened up your firewall so the Vera can communicate with the computer running MYSController?
    Here is how I have MYSContoller configured...
    First, connect MYSController to your existing gateway (if you are using Ethernet
    you only want one device to connect so don't have your Vera connected at the same time)
    0_1510582509499_upload-28bab7f1-4863-41bc-a749-179cb82ecf6c
    Once you do that you need to choose a port in the settings:
    0_1510582093482_upload-14ac4c29-1501-49ea-b0c5-d7503a02b769

    Then you press Connect (to connect to the actual Ethernet or Serial gateway).
    Once connected turn on GW Mode (mine is grayed out because I'm not at home connected to my gateway):
    0_1510582137860_upload-dd16413a-ef4c-4c1f-9dd9-7377f5090ed5
    In your Vera you would obviously want to connect to the IP address of the computer running MYSController
    0_1510582624549_upload-5296052c-b9b0-446b-b089-259b375d11e9



  • I have problems connecting a serial NRF24 gateway to MYSController b3314. After some minutes working properly, no more messages seem to get received by MYSController. If I disconnect and connect again (button, not USB), it works for about the same time until it stops again.
    I put a second USB2serial in parallel and connected a terminal program (hterm). The terminal programm continuously receives messages, even when MYSController stops receiving. So it's no gateway issue.
    I tried several different USB2serial adapter with MYSController - no difference.
    Any idea how to get MYSController to work continuously ?



  • @petewill - Thanks of course Windows Firewall - how many times does one have to forget about that little gem. One other quick question I created a new post in controllers for a MYSBootloader issue - should I add it to this post or leave it where I posted it? I cannot get one node to accept firmware (wonder if signing is a problem however it should not be).


  • Admin

    @itbeyond I responded in the other thread.


  • Admin

    @karlheinz2000 Sounds like an issue with your GW - what happens if you connect to your GW via the Arduino serial terminal - does it behave the same?



  • @tekka I did this already. GW connected to MYSController and to terminal program in parallel via 2 USB2serial adapters. MYSController stops logging, but terminal keeps logging MSGs. So I expect no GW issue. I tried 3 different USB serial adapters with no difference.
    0_1510862025401_Unbenannt.PNG


  • Admin

    @karlheinz2000 Try with the latest build (MYSController 1.0.0beta build 3316) - MYSController will inform you about an available update.



  • @tekka Where can that be downloaded? All the links I find lead to a 404...


  • Admin

    @manutremo see above, you will get notified when running MYSController



  • Done, nice job, I see the new message types have been added, probably other enhancements under the hood? thanks!



  • @tekka it's been some time since I flashed the bootloader, I notice I currently have a lot of different hex files (which I believe I compiled myself), do I no longer need different files for different speeds, i.e 16 / 8 /1Mhz?



  • I'd also love to use the signal report features, I thought it was enabled by default in MS, seems not to work here when I request an item from MYS?



  • The new build runs since several hours with no problems 👍
    The old one stoped within 10min.



  • I'm sorry to say that in my case FOTA updates seem to be worse than with the previous version, they stop before the 5th line of sent code... but it may be my fault, I'll continue investigating.



  • @manutremo As expected, it was my fault. FOTA updates work correctly with this version.



Suggested Topics

  • 20
  • 13
  • 7
  • 189
  • 6
  • 10
  • 8
  • 3

0
Online

11.2k
Users

11.1k
Topics

112.5k
Posts