Search found 242 matches

by p0lyg0n1
14 Mar 2017 23:18
Forum: Z-Uno
Topic: Problems with adapting library for Z-Uno
Replies: 4
Views: 5056

Re: Problems with adapting library for Z-Uno

Compiler doesn't support aggregated objects. So you have to use pointer instead of a copy of an object. So, you have to use ZUNO_MCP23017 * _i2c; and refactor some code inside the class RGBLCDShieldNoButtons: 1. access to method of _i2c object: _i2c->method(...) instead of _i2c.method(...) 2. Initia...
by p0lyg0n1
13 Mar 2017 12:09
Forum: Z-Uno
Topic: Reboot board
Replies: 38
Views: 31357

Re: Reboot board

I found it. The problem involved with access to external NVM memory(it uses some of pins for it). We patched the code of it and forgot to move it during release. Fixed it.

10der, thank you once more! :)
by p0lyg0n1
12 Mar 2017 00:45
Forum: Z-Uno
Topic: Reboot board
Replies: 38
Views: 31357

Re: Reboot board

Don't worry I will check it this Monday. I know how to reproduce this issue and the reason of it...;)
by p0lyg0n1
11 Mar 2017 23:03
Forum: Z-Uno
Topic: board hang
Replies: 12
Views: 12524

Re: board hang

The short reply is "because 8051 is 8bit microcontroller and the SDCC is old fashioned C-compiler". It converts types only "on demand" when you ask him. I wrote about it here https://forum.z-wave.me/viewtopic.php?f=3427&t=24150 some of the posible variants are: long x = secsU...
by p0lyg0n1
11 Mar 2017 22:33
Forum: Z-Uno
Topic: Z-UNO UART at 115200bps
Replies: 18
Views: 16568

Re: Z-UNO UART at 115200bps

Don't do it with USB;) At this moment only Serial0/Serial1 use DMA for input.
by p0lyg0n1
11 Mar 2017 22:26
Forum: Z-Uno
Topic: board hang
Replies: 12
Views: 12524

Re: board hang

All arrays will be located in user segment of xram(2kb).
Stack always located for 8051 in the idata (140 bytes only). When you create local variable (not an array) it places at the top of stack.
by p0lyg0n1
11 Mar 2017 14:10
Forum: Z-Uno
Topic: Reboot board
Replies: 38
Views: 31357

Re: Reboot board

Try it, pretty strange. Z-uno starts with all pins to input with pull-ups.
by p0lyg0n1
11 Mar 2017 13:36
Forum: Z-Uno
Topic: board hang
Replies: 12
Views: 12524

Re: board hang

Looks like stack overflow. Move some variables(long first) to global area.
by p0lyg0n1
11 Mar 2017 13:29
Forum: Z-Uno
Topic: puzzle
Replies: 1
Views: 2752

Re: puzzle

Use "L" at the end of constant... Int for default, SIZEOF(int) =2
by p0lyg0n1
10 Mar 2017 12:47
Forum: Z-Uno
Topic: DHT22 issues
Replies: 9
Views: 9562

Re: DHT22 issues

Found an issue in the last version of compiler. The previous version checks the s_pin before code generation and throws readable error. The last version skips this check and gives you unreadable trace... We will fix it. So, It's our bug. Thank you for your tests. ;)