Error when uploading sketch

Discussion about Z-Uno product. Visit http://z-uno.z-wave.me for more details.
Post Reply
dawiinci
Posts: 48
Joined: 14 Oct 2017 10:54

Error when uploading sketch

Post by dawiinci »

I always get this message when I want to upload a sketch after I already have uploaded one. I have to unplug the Z-UNO in order to upload. I'm on the latest release. Is this a bug?
RAW Info:
----------------------------------------------------------
FIRMWARE DATA
----------------------------------------------------------
(<type 'exceptions.IndexError'>, '<string>', 461)



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



Error 0 Unknown exception "list index out of range"
petergebruers
Posts: 255
Joined: 26 Jul 2015 17:29

Re: Error when uploading sketch

Post by petergebruers »

I have seen something similar, but I cannot remember what caused it. Long shot: do you use debugging via serial over usb? I have been using debugging over seria uartl instead of usb for the last few months, and I think that might have solved it.
User avatar
PoltoS
Posts: 7624
Joined: 26 Jan 2011 19:36

Re: Error when uploading sketch

Post by PoltoS »

Select the correct port.
dawiinci
Posts: 48
Joined: 14 Oct 2017 10:54

Re: Error when uploading sketch

Post by dawiinci »

The port should be correct because it works the first time and after reconnecting. However I will check next time to be sure.

I'm not using debugging functions, but thanks for the hint.
dawiinci
Posts: 48
Joined: 14 Oct 2017 10:54

Re: Error when uploading sketch

Post by dawiinci »

I confirm the port is correct. I uploaded the sketch once and after it close the port I uploaded it again >> Error.

Now it doesn't work until I unplug it once.
Post Reply