After uploading bootloader beta version, the board flashes red. +next board blocked (all bootloaders upload) identically

Discussion about Z-Uno product. Visit http://z-uno.z-wave.me for more details.
Post Reply
element
Posts: 14
Joined: 22 Oct 2021 02:10

After uploading bootloader beta version, the board flashes red. +next board blocked (all bootloaders upload) identically

Post by element »

After uploading the bootloader, the board flashes red.

I haven't done anything with Z-Uno boards in a long time, so I started by updating the firmware. Unfortunately, an error occurred.

1. I upgraded the IDE from 1.8.19 to 2.1.0 and started the new IDE
2. or 3. I chose the Z-Uno2 board, uploaded the bootloader, then a simple sketch - everything OK
2. or 3. I chose the Z-Uno2 Beta board, uploaded the bootloader, then a simple sketch - everything OK
3. I updated the Z-Uno2 board software, uploaded the bootloader, then a simple sketch - everything OK
4. An error occurred while updating the Z-Uno2 Beta board. I removed the Z-Uno Beta board software and reinstalled it, uploaded the bootloader and an error appeared, and the board started blinking red and restarting every few dozen seconds.

When trying to upload the bootloader, this error is shown (or the board restarts earlier and then shows a memory error).

Code: Select all

*** ZME Z-UNO G2 preprocessor. Platform:Windows Version:0.40b1 ***
BOOTLOADER

Openning port                            ..............................
Openning port                            ..............................                            OK

Syncing with Z-Uno                       ..............................
Syncing with Z-Uno                       ..............................                            OK
          ------------------------------------------------------------------------------------
                                        Z-Uno board information
          ------------------------------------------------------------------------------------
          
          FIRMWARE
          
          	 VERSION:		03.12
          	 BUILD_SEQUENCE:	00002651
          	 BUILD_DATETIME:	2023-04-25T20:11:46(MSK)
          	 SUPPORTED_HWREV:	0704
          
          LIMITS
          
          	 CODE:	456704 Bytes
          	 RAM:	16384 Bytes
          
          HARDWARE
          
          	 CHIP_UID:	 84 2E 14 FF FE 6A 2C 91
          	 PROD_TIME:	 2021-07-08T15:35:11(MSK)
          	 PROD_SN:	 72
          	 LOCK:		 DBG_LOCKED
          
          LICENSE
          
          	 SUB_VENDOR:	0000
          	 BITMASK:	0000000000000000
          	 FEATURES:	[]
          	 CRC16:		84f9
          
          NETWORK
          
          	 HOMEID:	ef4ee8a5
          	 NODEID:	0
          
          SECURITY
          
          	S2 DSK:		57547-60115-25395-18528-05470-53584-26621-34573
          	       		_____
          	S2 PIN:		57547
          	QR-Code:	900114262000575476011525395185280547053584266213457300100000000000022000277005280000000780
          ------------------------------------------------------------------------------------
          Using bootloader:C:\Users\duch\AppData\Local\Arduino15\packages\Z-Uno2\hardware\zw_cm4f\3.0.10/bootloaders/zuno_bootloader_HW0704.bin

Loading image                            ..............................
Writing NVM data                         [>                                                 ] (0%)
(...)
Writing NVM data                         [=================================================>] (99%)
Writing NVM data                         ..............................                            OK

Loading image                            ..............................                            OK

Rebooting Chip                           ..............................
Rebooting Chip                           ..............................                            OK

Checking image                           ..............................
Checking image[*  ]                      ..............................
Checking image[ * ]                      ..............................
Checking image                           ..............................
Checking image                           ..............................                  ERROR_CODEfe

Error  0	 Selected bootloader image doesn't fit to your board!

Closing port                             ..............................
Closing port                             ..............................                            OK

Code: Select all


*** ZME Z-UNO G2 preprocessor. Platform:Windows Version:0.40b2 ***
BOOTLOADER

Openning port                            ..............................
Openning port                            ..............................                            OK

Syncing with Z-Uno                       ..............................
Syncing with Z-Uno                       ..............................                            OK
          ------------------------------------------------------------------------------------
                                        Z-Uno board information
          ------------------------------------------------------------------------------------
          
          FIRMWARE
          
          	 VERSION:		03.12
          	 BUILD_SEQUENCE:	00002651
          	 BUILD_DATETIME:	2023-04-25T20:11:46(MSK)
          	 SUPPORTED_HWREV:	0704
          
          LIMITS
          
          	 CODE:	456704 Bytes
          	 RAM:	16384 Bytes
          
          HARDWARE
          
          	 CHIP_UID:	 84 2E 14 FF FE 6A 2C 91
          	 PROD_TIME:	 2021-07-08T15:35:11(MSK)
          	 PROD_SN:	 72
          	 LOCK:		 DBG_LOCKED
          
          LICENSE
          
          	 SUB_VENDOR:	0000
          	 BITMASK:	0000000000000000
          	 FEATURES:	[]
          	 CRC16:		84f9
          
          NETWORK
          
          	 HOMEID:	ef4ee8a5
          	 NODEID:	0
          
          SECURITY
          
          	S2 DSK:		57547-60115-25395-18528-05470-53584-26621-34573
          	       		_____
          	S2 PIN:		57547
          	QR-Code:	9001475080005754760115253951852805470535842662134573001000000000000220002770052800000007800803001
          ------------------------------------------------------------------------------------
          Using bootloader:C:\Users\duch\AppData\Local\Arduino15\packages\Z-Uno2 (Beta)\hardware\zw_cm4f\3.0.12/bootloaders/zuno_bootloader_HW0704.bin

Loading image                            ..............................
Writing NVM data                         [>                                                 ] (0%)
(...)
Writing NVM data                         [=================================================>] (99%)
Writing NVM data                         ..............................                            OK

Loading image                            ..............................                            OK

Rebooting Chip                           ..............................
Rebooting Chip                           ..............................                            OK

Checking image                           ..............................
Checking image[*  ]                      ..............................
Checking image[ * ]                      ..............................
Checking image                           ..............................
Checking image                           ..............................                  ERROR_CODEfe

Error  0	 Selected bootloader image doesn't fit to your board!

Closing port                             ..............................
Closing port                             ..............................                            OK
Failed to burn bootloader: uploading error: exit status 1
Is my z-uno board damaged?
Last edited by element on 05 May 2023 00:31, edited 4 times in total.
User avatar
PoltoS
Posts: 7579
Joined: 26 Jan 2011 19:36

Re: After uploading the bootloader, the board flashes red.

Post by PoltoS »

If your Z-Uno is based on a Mitsumi or Sigma Designs chip, it is Gen 1 and you need to select Gen 1 on the site and follow the guide to re-install the correct package.
element
Posts: 14
Joined: 22 Oct 2021 02:10

Re: After uploading the bootloader, the board flashes red.

Post by element »

On the board there is written: "Z-Uno 2 rev.6"
User avatar
PoltoS
Posts: 7579
Joined: 26 Jan 2011 19:36

Re: After uploading the bootloader, the board flashes red.

Post by PoltoS »

This is normal if there are no sketch loaded. The sketch is erased on bootloader upgrade. Just flash a sketch in your Z-Uno 2
element
Posts: 14
Joined: 22 Oct 2021 02:10

Re: After uploading the bootloader, the board flashes red.

Post by element »

PoltoS wrote:
04 May 2023 20:20
This is normal if there are no sketch loaded. The sketch is erased on bootloader upgrade. Just flash a sketch in your Z-Uno 2
I tried and I can upload a sketch after selecting the Z-Uno2 (beta) board version and it stops blinking red and starts blinking green but...

...I wanted to compare with another electronic board and the next board blocked identically! (blocked all bootloader upload)
Therefore, I believe it must be a bug in the Z-Uno2(Beta) software.

Today:
1. I am running Arduino IDE 2.1.0
2. I connected another Z-Uno2 board (bought at the same time, version: Z-Uno 2 rev.6).
3. I removed the software again: Z-Uno2 3.0.10 and Z-Uno2(Beta) 3.0.12
4. I deleted the files: z-uno2_core_03_00_10.zip and z-uno2_core_03_00_12_beta05.zip
5. I installed Z-Uno2 3.0.10 and Z-Uno2(Beta) 3.0.12
6. I set the board as Z-Uno2 version 3.0.10.
7. I uploaded the non-beta bootloader without any problems. It was flashing green all the time.

Code: Select all

*** ZME Z-UNO G2 preprocessor. Platform:Windows Version:0.40b1 ***
BOOTLOADER

Openning port                            ..............................
Openning port                            ..............................                            OK

Syncing with Z-Uno                       ..............................
Syncing with Z-Uno                       ..............................                            OK
          ------------------------------------------------------------------------------------
                                        Z-Uno board information
          ------------------------------------------------------------------------------------
          
          FIRMWARE
          
          	 VERSION:		03.10
          	 BUILD_SEQUENCE:	00001842
          	 BUILD_DATETIME:	2023-01-17T16:38:12(MSK)
          	 SUPPORTED_HWREV:	0704
          
          LIMITS
          
          	 CODE:	178176 Bytes
          	 RAM:	16384 Bytes
          
          HARDWARE
          
          	 CHIP_UID:	 84 2E 14 FF FE 6A 27 FC
          	 PROD_TIME:	 2021-07-08T16:37:08(MSK)
          	 PROD_SN:	 123
          	 LOCK:		 DBG_LOCKED
          
          LICENSE
          
          	 SUB_VENDOR:	0000
          	 BITMASK:	0000000000000000
          	 FEATURES:	[]
          	 CRC16:		84f9
          
          NETWORK
          
          	 HOMEID:	d9e1d9fa
          	 NODEID:	167
          
          SECURITY
          
          	S2 DSK:		08059-03341-46082-20076-48937-47001-00566-05230
          	       		_____
          	S2 PIN:		08059
          	QR-Code:	900131658129080590334146082200764893747001005660523000100435201536022000277005280000100778
          ------------------------------------------------------------------------------------
          Using bootloader:C:\Users\duch\AppData\Local\Arduino15\packages\Z-Uno2\hardware\zw_cm4f\3.0.10/bootloaders/zuno_bootloader_HW0704.bin

Loading image                            ..............................
Writing NVM data                         [>                                                 ] (0%)
(...)
Writing NVM data                         [=================================================>] (99%)
Writing NVM data                         ..............................                            OK

Loading image                            ..............................                            OK

Rebooting Chip                           ..............................
Rebooting Chip                           ..............................                            OK

Checking image                           ..............................
Checking image[*  ]                      ..............................
Checking image[ * ]                      ..............................
Checking image[  *]                      ..............................
Checking image[ * ]                      ..............................
Checking image[*  ]                      ..............................
Checking image[ * ]                      ..............................
Checking image[  *]                      ..............................
Checking image                           ..............................
Checking image                           ..............................                            OK

Waiting for bootloader                   ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader                   ..............................
Waiting for bootloader                   ..............................                            OK

Closing port                             ..............................
Closing port                             ..............................                            OK
8. I uploaded the sketch without any problems. It was flashing green all the time.
9. I set the board as Z-Uno2(Beta) version 3.0.12
10. When uploading the bootloader, an error was shown "WRONG LEN" on "Waiting for bootloader" (earlier "Checking image" is "OK"), and then it started blinking red.

Code: Select all

*** ZME Z-UNO G2 preprocessor. Platform:Windows Version:0.40b2 ***
BOOTLOADER

Openning port                            ..............................
Openning port                            ..............................                            OK

Syncing with Z-Uno                       ..............................
Syncing with Z-Uno                       ..............................                            OK
          ------------------------------------------------------------------------------------
                                        Z-Uno board information
          ------------------------------------------------------------------------------------
          
          FIRMWARE
          
          	 VERSION:		03.10
          	 BUILD_SEQUENCE:	00001842
          	 BUILD_DATETIME:	2023-01-17T16:38:12(MSK)
          	 SUPPORTED_HWREV:	0704
          
          LIMITS
          
          	 CODE:	178176 Bytes
          	 RAM:	16384 Bytes
          
          HARDWARE
          
          	 CHIP_UID:	 84 2E 14 FF FE 6A 27 FC
          	 PROD_TIME:	 2021-07-08T16:37:08(MSK)
          	 PROD_SN:	 123
          	 LOCK:		 DBG_LOCKED
          
          LICENSE
          
          	 SUB_VENDOR:	0000
          	 BITMASK:	0000000000000000
          	 FEATURES:	[]
          	 CRC16:		84f9
          
          NETWORK
          
          	 HOMEID:	d9e1d9fa
          	 NODEID:	167
          
          SECURITY
          
          	S2 DSK:		08059-03341-46082-20076-48937-47001-00566-05230
          	       		_____
          	S2 PIN:		08059
          	QR-Code:	9001516351290805903341460822007648937470010056605230001004352015360220002770052800001007780803001
          ------------------------------------------------------------------------------------
          Using bootloader:C:\Users\duch\AppData\Local\Arduino15\packages\Z-Uno2 (Beta)\hardware\zw_cm4f\3.0.12/bootloaders/zuno_bootloader_HW0704.bin

Loading image                            ..............................
Writing NVM data                         [>                                                 ] (0%)
(...)
Writing NVM data                         [=================================================>] (99%)
Writing NVM data                         ..............................                            OK

Loading image                            ..............................                            OK

Rebooting Chip                           ..............................
Rebooting Chip                           ..............................                            OK

Checking image                           ..............................
Checking image[*  ]                      ..............................
Checking image[ * ]                      ..............................
Checking image[  *]                      ..............................
Checking image[ * ]                      ..............................
Checking image[*  ]                      ..............................
Checking image[ * ]                      ..............................
Checking image[  *]                      ..............................
Checking image                           ..............................
Checking image                           ..............................                            OK

Waiting for bootloader                   ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[*  ]              ..............................
Waiting for bootloader[ * ]              ..............................
Waiting for bootloader[  *]              ..............................
Waiting for bootloader                   ..............................
Waiting for bootloader                   ..............................                     WRONG LEN

Closing port                             ..............................
Closing port                             ..............................                            OK
---
11. I can upload a sketch of the Z-Uno2 (Beta) version 3.0.12 - when "Openning port" is displayed, it starts blinking red and after displaying "Closing port" it starts blinking green.

Code: Select all

C:\Users\duch\AppData\Local\Arduino15\packages\Z-Uno2 (Beta)\hardware\zw_cm4f\3.0.12\cores\LLCore\LLCore.c:314:17: note: '#pragma message: ZUNO_PIN_V==6'
  314 | #pragma message "ZUNO_PIN_V==6"
      |                 ^~~~~~~~~~~~~~~


C:\Users\duch\AppData\Local\Arduino15\packages\Z-Uno2 (Beta)\hardware\zw_cm4f\3.0.12\cores\LLCore\Threading.cpp: In function 'bool zunoIsSystemThread(void*)':
C:\Users\duch\AppData\Local\Arduino15\packages\Z-Uno2 (Beta)\hardware\zw_cm4f\3.0.12\cores\LLCore\Threading.cpp:146:18: note: '#pragma message: SystemThread: INT'
  146 |  #pragma message "SystemThread: INT"
      |                  ^~~~~~~~~~~~~~~~~~~


Szkic używa 18588 bajtów (10%) pamięci programu. Maksimum to 178176 bajtów.
Zmienne globalne używają 1428 bajtów (8%) pamięci dynamicznej, pozostawiając 14956 bajtów dla zmiennych lokalnych. Maksimum to 16384 bajtów.

Openning port                            ..............................
Openning port                            ..............................                            OK

Syncing with Z-Uno                       ..............................
Syncing with Z-Uno                       ..............................                            OK

Checking ZME server for license update   ..............................
Checking ZME server for license update   ..............................                            OK
          ------------------------------------------------------------------------------------
                                        Z-Uno board information
          ------------------------------------------------------------------------------------
          
          FIRMWARE
          
          	 VERSION:		03.12
          	 BUILD_SEQUENCE:	00002651
          	 BUILD_DATETIME:	2023-04-25T20:11:46(MSK)
          	 SUPPORTED_HWREV:	0704
          
          LIMITS
          
          	 CODE:	456704 Bytes
          	 RAM:	16384 Bytes
          
          HARDWARE
          
          	 CHIP_UID:	 84 2E 14 FF FE 6A 27 FC
          	 PROD_TIME:	 2021-07-08T16:37:08(MSK)
          	 PROD_SN:	 123
          	 LOCK:		 DBG_LOCKED
          
          LICENSE
          
          	 SUB_VENDOR:	0000
          	 BITMASK:	0000000000000000
          	 FEATURES:	[]
          	 CRC16:		84f9
          
          NETWORK
          
          	 HOMEID:	d9fcc46f
          	 NODEID:	0
          
          SECURITY
          
          	S2 DSK:		08059-03341-46082-20076-48937-47001-00566-05230
          	       		_____
          	S2 PIN:		08059
          	QR-Code:	9001400971290805903341460822007648937470010056605230001004352015360220002770052800001007800803001
          ------------------------------------------------------------------------------------

Writing Z-Wave Security QR-Code to file: C:\Users\duch\AppData\Local\Temp\arduino\sketches\8A73377FD68BC4C9A6694BCDEA7E7AF0\z-wave_security-qr.png

--- Sketch addr:00030800
          DEVICE CFG
          	Z-Wave Region:EU
          	Security mode:01 Freqi:00 maxTxDb:2d adjTxDb:00 LRTxDb:00 extra_flags:00

Writing NVM data                         [>                                                 ] (0%)
(...)
Writing NVM data                         [=================================================>] (99%)
Writing NVM data                         ..............................                            OK
          Sketch crc16:e51f size:489c (18.15 kB)

Pushing sketch                           ..............................
Pushing sketch                           ..............................                            OK

Closing port                             ..............................
Closing port                             ..............................                            OK
12. I can't upload the bootloader Z-Uno2 (Beta) version 3.0.12 - when "Openning port" is displayed, it starts blinking red. An error was shown "ERROR_CODEfe" on "Checking image".

Code: Select all

*** ZME Z-UNO G2 preprocessor. Platform:Windows Version:0.40b2 ***
BOOTLOADER

Openning port                            ..............................
Openning port                            ..............................                            OK

Syncing with Z-Uno                       ..............................
Syncing with Z-Uno                       ..............................                            OK
          ------------------------------------------------------------------------------------
                                        Z-Uno board information
          ------------------------------------------------------------------------------------
          
          FIRMWARE
          
          	 VERSION:		03.12
          	 BUILD_SEQUENCE:	00002651
          	 BUILD_DATETIME:	2023-04-25T20:11:46(MSK)
          	 SUPPORTED_HWREV:	0704
          
          LIMITS
          
          	 CODE:	456704 Bytes
          	 RAM:	16384 Bytes
          
          HARDWARE
          
          	 CHIP_UID:	 84 2E 14 FF FE 6A 27 FC
          	 PROD_TIME:	 2021-07-08T16:37:08(MSK)
          	 PROD_SN:	 123
          	 LOCK:		 DBG_LOCKED
          
          LICENSE
          
          	 SUB_VENDOR:	0000
          	 BITMASK:	0000000000000000
          	 FEATURES:	[]
          	 CRC16:		84f9
          
          NETWORK
          
          	 HOMEID:	d9fcc46f
          	 NODEID:	0
          
          SECURITY
          
          	S2 DSK:		08059-03341-46082-20076-48937-47001-00566-05230
          	       		_____
          	S2 PIN:		08059
          	QR-Code:	9001400971290805903341460822007648937470010056605230001004352015360220002770052800001007800803001
          ------------------------------------------------------------------------------------
          Using bootloader:C:\Users\duch\AppData\Local\Arduino15\packages\Z-Uno2 (Beta)\hardware\zw_cm4f\3.0.12/bootloaders/zuno_bootloader_HW0704.bin

Loading image                            ..............................
Writing NVM data                         [>                                                 ] (0%)
(...)
Writing NVM data                         [=================================================>] (99%)
Writing NVM data                         ..............................                            OK

Loading image                            ..............................                            OK

Rebooting Chip                           ..............................
Rebooting Chip                           ..............................                            OK

Checking image                           ..............................
Checking image[*  ]                      ..............................
Checking image[ * ]                      ..............................
Checking image                           ..............................
Checking image                           ..............................                  ERROR_CODEfe

Error  0	 Selected bootloader image doesn't fit to your board!

Closing port                             ..............................
Closing port                             ..............................                            OK
Failed to burn bootloader: uploading error: exit status 1
13. I cannot upload the Z-Uno2 bootloader version 3.0.10 - when "Openning port" is displayed, it starts blinking red. An error was shown "ERROR_CODEfe" on "Checking image".

Code: Select all

*** ZME Z-UNO G2 preprocessor. Platform:Windows Version:0.40b1 ***
BOOTLOADER

Openning port                            ..............................
Openning port                            ..............................                            OK

Syncing with Z-Uno                       ..............................
Syncing with Z-Uno                       ..............................                            OK
          ------------------------------------------------------------------------------------
                                        Z-Uno board information
          ------------------------------------------------------------------------------------
          
          FIRMWARE
          
          	 VERSION:		03.12
          	 BUILD_SEQUENCE:	00002651
          	 BUILD_DATETIME:	2023-04-25T20:11:46(MSK)
          	 SUPPORTED_HWREV:	0704
          
          LIMITS
          
          	 CODE:	456704 Bytes
          	 RAM:	16384 Bytes
          
          HARDWARE
          
          	 CHIP_UID:	 84 2E 14 FF FE 6A 27 FC
          	 PROD_TIME:	 2021-07-08T16:37:08(MSK)
          	 PROD_SN:	 123
          	 LOCK:		 DBG_LOCKED
          
          LICENSE
          
          	 SUB_VENDOR:	0000
          	 BITMASK:	0000000000000000
          	 FEATURES:	[]
          	 CRC16:		84f9
          
          NETWORK
          
          	 HOMEID:	d9fcc46f
          	 NODEID:	0
          
          SECURITY
          
          	S2 DSK:		08059-03341-46082-20076-48937-47001-00566-05230
          	       		_____
          	S2 PIN:		08059
          	QR-Code:	900132020129080590334146082200764893747001005660523000100435201536022000277005280000100780
          ------------------------------------------------------------------------------------
          Using bootloader:C:\Users\duch\AppData\Local\Arduino15\packages\Z-Uno2\hardware\zw_cm4f\3.0.10/bootloaders/zuno_bootloader_HW0704.bin

Loading image                            ..............................
Writing NVM data                         [>                                                 ] (0%)
(...)
Writing NVM data                         [=================================================>] (99%)
Writing NVM data                         ..............................                            OK

Loading image                            ..............................                            OK

Rebooting Chip                           ..............................
Rebooting Chip                           ..............................                            OK

Checking image                           ..............................
Checking image[*  ]                      ..............................
Checking image[ * ]                      ..............................
Checking image                           ..............................
Checking image                           ..............................                  ERROR_CODEfe

Error  0	 Selected bootloader image doesn't fit to your board!

Closing port                             ..............................
Closing port                             ..............................                            OK
p0lyg0n1
Posts: 242
Joined: 04 Aug 2016 07:14

Re: After uploading bootloader beta version, the board flashes red. +next board blocked (all bootloaders upload) identic

Post by p0lyg0n1 »

Hi,
you can only upgrade to the newer version of the bootloader( the build number greater that your current), downgrade starting from version 3.11 is not possible due to the SDK features. The board is working correctly.

Best regatds,
Alex.
element
Posts: 14
Joined: 22 Oct 2021 02:10

Re: After uploading bootloader beta version, the board flashes red. +next board blocked (all bootloaders upload) identic

Post by element »

p0lyg0n1 wrote:
09 May 2023 08:10
Hi,
you can only upgrade to the newer version of the bootloader( the build number greater that your current), downgrade starting from version 3.11 is not possible due to the SDK features. The board is working correctly.

Best regatds,
Alex.
I understand that I can't downgrade (to 3.0.10) but why can't I upload the beta version (3.0.12)?
User avatar
PoltoS
Posts: 7579
Joined: 26 Jan 2011 19:36

Re: After uploading bootloader beta version, the board flashes red. +next board blocked (all bootloaders upload) identic

Post by PoltoS »

Please be more specific in your question. From the log output we see that you are already on 3.0.12 and the sketch is uploaded correctly.

Why do you want to burn 3.0.12 on top of 3.0.12? You are already in the latest.

Looks that you don't have any issue, just upload the sketch and have fun with Z-Uno.
element
Posts: 14
Joined: 22 Oct 2021 02:10

Re: After uploading bootloader beta version, the board flashes red. +next board blocked (all bootloaders upload) identic

Post by element »

That's right - at the moment I don't need to update the firmware, but if in the past I needed to, because it had errors that prevented the functioning of my programs and you corrected them in the next versions of the firmware, I will probably also need to update the firmware in the future. Besides, it's a beta version, and it's better to have a stable version. In addition, not long ago I rolled back the firmware from the beta version so that the board would function as a temperature sensor with the ability to send it, in an encrypted connection required by the radiator thermostat, to the stable version of the firmware with encryption but with errors that previously prevented the same board from functioning properly as a thermostat.

I uploaded the identical version firmware only to confirm that the upload works and there are no additional errors.
Post Reply