Something seem wrong with my build platform.

Discussion about Z-Uno product. Visit http://z-uno.z-wave.me for more details.
Post Reply
janjoh
Posts: 35
Joined: 23 Oct 2016 16:57

Something seem wrong with my build platform.

Post by janjoh » 20 May 2018 14:50

So, i have reinstalled everything on a new PC. And all seem to be working. But still not. Windows 10 Pro, fully updated. Arduino IDE 1.8.5

It seem my sketches does not get uploaded properly. Or rather, as i changed code in a project, nothing seemed to change.

So, i went back to basics.
If i upload this to one of my Zunos ( i have tried with three chips). I get no reaction from the User LED. I just get the green blink.

Code: Select all

/*
 * That is a Simple Multilevel Dimmer example
 * It gives you the ability to control the 
 * built in LED brightness via Z-Wave commands
 */

// LED pin number
#define LED_PIN 13

void setup() {
  pinMode(LED_PIN, OUTPUT); //set up LED pin as output
}
void loop() {
 analogWrite(LED_PIN, 255);
  
  delay(5000);
  analogWrite(LED_PIN, 0);
  
  delay(5000);
}

Below is output of build. As i said, all SEEM to work fine. But the Zuno does not seem to really care about that :)

Code: Select all


	

	************* Building Arduino Sketch *************

	C:\Users\j2\AppData\Local\Temp\arduino_build_153584/SimpleBlink.ino

	***************************************************



	 --- USING a list of libraries from:

		C:\Users\j2\AppData\Local\Arduino15\packages\Z-Uno\hardware\zw8051\2.1.3\libraries

		C:\Users\j2\Documents\Arduino\libraries

	*** Collecting prototypes...

Preprocessing file: Custom.c with SDCPP... 



Preprocessing file: Print.cpp with SDCPP... 

Compiling Print_sdcpp_.cpp ...

Preprocessing file: Stream.cpp with SDCPP... 

Compiling Stream_sdcpp_.cpp ...

Preprocessing file: HardwareSerial.cpp with SDCPP... 

Compiling HardwareSerial_sdcpp_.cpp ...

Preprocessing file: HLCore.cpp with SDCPP... 

Compiling HLCore_sdcpp_.cpp ...

Preprocessing file: SimpleBlink.cpp with SDCPP... 

Compiling SimpleBlink_sdcpp_.cpp ...

Preprocessing file: Print.cpp with SDCPP... 

Compiling Print_sdcpp_.cpp ...

Preprocessing file: Stream.cpp with SDCPP... 

Compiling Stream_sdcpp_.cpp ...

Preprocessing file: HardwareSerial.cpp with SDCPP... 

Compiling HardwareSerial_sdcpp_.cpp ...

Preprocessing file: HLCore.cpp with SDCPP... 

Compiling HLCore_sdcpp_.cpp ...

Preprocessing file: SimpleBlink.cpp with SDCPP... 

Compiling SimpleBlink_sdcpp_.cpp ...Compiling file "LLCore_arduino.c" by means of SDCC...

sdcc: Calling preprocessor...

sdcc: sdcpp.exe -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem "C:\Users\j2\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.60/zuno_toolchain/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\j2\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.60/zuno_toolchain/sdcc/\bin\..\include"  "LLCore_arduino.c" 

sdcc: Generating code...

sdcc: Calling assembler...

sdcc: sdas8051.exe -plosgffw "LLCore_arduino.rel" "LLCore_arduino".asm

Compiling file "Print_ucxx.c" by means of SDCC...

sdcc: Calling preprocessor...

sdcc: sdcpp.exe -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem "C:\Users\j2\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.60/zuno_toolchain/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\j2\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.60/zuno_toolchain/sdcc/\bin\..\include"  "Print_ucxx.c" 

sdcc: Generating code...

sdcc: Calling assembler...

sdcc: sdas8051.exe -plosgffw "Print_ucxx.rel" "Print_ucxx".asm

Compiling file "Stream_ucxx.c" by means of SDCC...

sdcc: Calling preprocessor...

sdcc: sdcpp.exe -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem "C:\Users\j2\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.60/zuno_toolchain/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\j2\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.60/zuno_toolchain/sdcc/\bin\..\include"  "Stream_ucxx.c" 

sdcc: Generating code...

sdcc: Calling assembler...

sdcc: sdas8051.exe -plosgffw "Stream_ucxx.rel" "Stream_ucxx".asm

Compiling file "HardwareSerial_ucxx.c" by means of SDCC...

sdcc: Calling preprocessor...

sdcc: sdcpp.exe -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem "C:\Users\j2\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.60/zuno_toolchain/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\j2\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.60/zuno_toolchain/sdcc/\bin\..\include"  "HardwareSerial_ucxx.c" 

sdcc: Generating code...

sdcc: Calling assembler...

sdcc: sdas8051.exe -plosgffw "HardwareSerial_ucxx.rel" "HardwareSerial_ucxx".asm

Compiling file "HLCore_ucxx.c" by means of SDCC...

sdcc: Calling preprocessor...

sdcc: sdcpp.exe -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem "C:\Users\j2\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.60/zuno_toolchain/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\j2\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.60/zuno_toolchain/sdcc/\bin\..\include"  "HLCore_ucxx.c" 

sdcc: Generating code...

sdcc: Calling assembler...

sdcc: sdas8051.exe -plosgffw "HLCore_ucxx.rel" "HLCore_ucxx".asm

Compiling file "SimpleBlink_ucxx.c" by means of SDCC...

sdcc: Calling preprocessor...

sdcc: sdcpp.exe -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem "C:\Users\j2\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.60/zuno_toolchain/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\j2\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.60/zuno_toolchain/sdcc/\bin\..\include"  "SimpleBlink_ucxx.c" 

sdcc: Generating code...

sdcc: Calling assembler...

sdcc: sdas8051.exe -plosgffw "SimpleBlink_ucxx.rel" "SimpleBlink_ucxx".asm

sdcc: Calling preprocessor...

sdcc: sdcpp.exe -nostdinc -Wall -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_5_0 -DSDCC=350 -D__SDCC_REVISION=9253 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__ -D__STDC_NO_THREADS__ -D__STDC_NO_ATOMICS__ -D__STDC_NO_VLA__ -isystem "C:\Users\j2\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.60/zuno_toolchain/sdcc/\bin\..\include\mcs51" -isystem "C:\Users\j2\AppData\Local\Arduino15\packages\Z-Uno\tools\zuno_toolchain\00.08.60/zuno_toolchain/sdcc/\bin\..\include"  "main.c" 

sdcc: Generating code...

sdcc: Calling assembler...

sdcc: sdas8051.exe -plosgffw "main.rel" "main".asm

sdcc: Calling linker...

sdcc: sdld.exe -nf "main.lk"

Making firmware file: C:\Users\j2\AppData\Local\Temp\arduino_build_153584/SimpleBlink.ino-0213.hex ...packihx: read 36 lines, wrote 53: OK.

Fixing ISR table in C:\Users\j2\AppData\Local\Temp\arduino_build_153584/SimpleBlink.ino-0213.hex ...Making binary firmware file C:\Users\j2\AppData\Local\Temp\arduino_build_153584/SimpleBlink.ino-0213.bin. Using in Z-Way for wireless update procedure.[Done]



Elapsed:5.14399981499 s

Sketch uses 666 bytes (2%) of program storage space. Maximum is 32256 bytes.
Global variables use 142 bytes of dynamic memory.

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

Stoping the user code                    ..............................
Stoping the user code                    ..............................                            OK

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

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


RAW Info: 
 AA AA BB BB 01 15 01 10
 00 01 02 0D B1 D3 07 FF
 02 7F C6 68 ED 7F FF 7F
 FC 01 15 02 0D 4F 98 01
 04 17 13 FF FF FF FF FF
 FF FF FF FF FF FF FF FF
 FF FF FF FF FF FF FF FF
 FF FF FF FF FF FF FF FF
 FF FF FF 18 10 05 E6 00
 9F 01 8B 00 01
----------------------------------------------------------
                     FIRMWARE DATA                        
----------------------------------------------------------
	REVISION:02.13
	Z-WAVE FREQUENCY:EU
	ORIGINAL FW. CRC32: B1 D3 07 FF
	CURRENT  FW. CRC16: 4F 98
	RADIO CHANNELS: 02
----------------------------------------------------------
                     HARDWARE DATA                        
----------------------------------------------------------
	CALIBRATION
		MAIN:04 TX: 17 13
	DEVICE PUBLIC KEY:
		HEX: E4 AA 88 AA 82 67 75 11 0D 63 AA F8 B2 57 74 E3 3D 3E 03 E7 60 48 3E 75 D6 89 57 B1 B2 CB D4 27
		DEC: 58538-34986-33383-29969-03427-43768-45655-29923-15678-00999-24648-15989-54921-22449-45771-54311
----------------------------------------------------------
                     PRODUCTION DATA                      
----------------------------------------------------------
	YOUR ZUNO S/N: 18 10 05 E6 00 9F 01 00 01
----------------------------------------------------------
	PRODUCTION TIME:
		WEEK:24 YEAR:2016
	WORKSTATION:
		NUMBER:1 SEQUENCE:159 
	HARDWARE:
		CHIP:1510 REVISION:1
----------------------------------------------------------

Writing NVM data                         [>                                                 ] (0%)
Writing NVM data                         [========>                                         ] (17%)
Writing NVM data                         [=================>                                ] (35%)
Writing NVM data                         [==========================>                       ] (52%)
Writing NVM data                         [===================================>              ] (70%)
Writing NVM data                         [===========================================>      ] (87%)
Writing NVM data                         ..............................                            OK
          Sketch crc16:6442 size:2d9 (0.71 kB)

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

Reseting chip                            ..............................
Reseting chip                            ..............................                            OK

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


janjoh
Posts: 35
Joined: 23 Oct 2016 16:57

Re: Something seem wrong with my build platform.

Post by janjoh » 20 May 2018 15:44

(same with Arduino IDE 1.6.5, I just did a parallel install to check)

User avatar
PoltoS
Posts: 4161
Joined: 26 Jan 2011 19:36

Re: Something seem wrong with my build platform.

Post by PoltoS » 20 May 2018 21:11

Make sure to exclude you device and include back or turn debug mode b caus otherwise new scetch with different number or type of channels/associations is not loaded

janjoh
Posts: 35
Joined: 23 Oct 2016 16:57

Re: Something seem wrong with my build platform.

Post by janjoh » 20 May 2018 22:04

PoltoS wrote:
20 May 2018 21:11
Make sure to exclude you device and include back or turn debug mode b caus otherwise new scetch with different number or type of channels/associations is not loaded
*Sigh* I knew it was something simple... I just thought that a channel mismatch would throw an error. Aparently i do not remeber that correctly

Post Reply