Re: info

2017-01-18 Thread Ytai Ben-Tsvi
Typically relays require significant current through their coils compared
to the amount of current you want to run through your pins. A simple
circuit with a transistor and a flyback diode per relay is recommended.

On Jan 18, 2017 10:46 PM, "Malik Atta ur rehman" <
malikattaurrehman...@gmail.com> wrote:

> I m using this ioio otg in project of home automation if i use pin 1 to 30
> to connect load with the help of relays it will effect the performance of
> IOIO OTG or not ?? current will effect IOIO OTG ?
>
> --
> You received this message because you are subscribed to the Google Groups
> "ioio-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ioio-users+unsubscr...@googlegroups.com.
> To post to this group, send email to ioio-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/ioio-users.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"ioio-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ioio-users+unsubscr...@googlegroups.com.
To post to this group, send email to ioio-users@googlegroups.com.
Visit this group at https://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/d/optout.


Re: (ADVANCED) Building the IOIO firmware

2017-01-18 Thread Ytai Ben-Tsvi
Your project might have gotten messed up during the experimentation. Can
you try building a fresh copy now that you have the right compiler?

On Jan 18, 2017 11:49 PM,  wrote:

> Hello Ytai,
> I'm attempting to use MPLAB X v3.50 with xc16 compiler V1.30.  The
> individual sub projects, such as usb, adb, btstack, conn compile fine, but
> I cannot build the app_layer_v1 it is giving the error:
> make -f nbproject/Makefile-IOIO0030.mk SUBPROJECTS= .build-conf
> make[1]: Entering directory 'C:/Users/parkzap-dev1/Desktop/krishna/ioio-master
> (1)/ioio-master/firmware/app_layer_v1'
> make  -f nbproject/Makefile-IOIO0030.mk dist/IOIO0030/production/app_
> layer_v1.production.hex
> make[2]: Entering directory 'C:/Users/parkzap-dev1/Desktop/krishna/ioio-master
> (1)/ioio-master/firmware/app_layer_v1'
> "C:\Program Files (x86)\Microchip\xc16\v1.30\bin\xc16-gcc.exe"
> ../common/byte_queue.c  -o 
> build/IOIO0030/production/_ext/1270477542/byte_queue.o
> -c -mcpu=24FJ256DA206  -MMD -MF "build/IOIO0030/production/_
> ext/1270477542/byte_queue.o.d"  -mno-eds-warn  -g -omf=elf
> -DXPRJ_IOIO0030=IOIO0030  -no-legacy-libc-fno-short-double -O3 -I"."
> -I".." -I"../microchip/include" -I"../common" -DPLATFORM=1030 -DNDEBUG
> -msmart-io=1 -Wall -msfr-warn=off   -std=gnu99
> "C:\Program Files (x86)\Microchip\xc16\v1.30\bin\xc16-gcc.exe"
> ../microchip/common/uart2.c  -o 
> build/IOIO0030/production/_ext/1537399865/uart2.o
> -c -mcpu=24FJ256DA206  -MMD -MF 
> "build/IOIO0030/production/_ext/1537399865/uart2.o.d"
> -mno-eds-warn  -g -omf=elf -DXPRJ_IOIO0030=IOIO0030  -no-legacy-libc
> -fno-short-double -O3 -I"." -I".." -I"../microchip/include" -I"../common"
> -DPLATFORM=1030 -DNDEBUG -msmart-io=1 -Wall -msfr-warn=off   -std=gnu99
> "C:\Program Files (x86)\Microchip\xc16\v1.30\bin\xc16-gcc.exe"   adc.c
> -o build/IOIO0030/production/adc.o  -c -mcpu=24FJ256DA206  -MMD -MF
> "build/IOIO0030/production/adc.o.d"  -mno-eds-warn  -g -omf=elf
> -DXPRJ_IOIO0030=IOIO0030  -no-legacy-libc-fno-short-double -O3 -I"."
> -I".." -I"../microchip/include" -I"../common" -DPLATFORM=1030 -DNDEBUG
> -msmart-io=1 -Wall -msfr-warn=off   -std=gnu99
> "C:\Program Files (x86)\Microchip\xc16\v1.30\bin\xc16-gcc.exe"
> digital.c  -o build/IOIO0030/production/digital.o  -c -mcpu=24FJ256DA206
> -MMD -MF "build/IOIO0030/production/digital.o.d"  -mno-eds-warn  -g
> -omf=elf -DXPRJ_IOIO0030=IOIO0030  -no-legacy-libc-fno-short-double -O3
> -I"." -I".." -I"../microchip/include" -I"../common" -DPLATFORM=1030
> -DNDEBUG -msmart-io=1 -Wall -msfr-warn=off   -std=gnu99
> "C:\Program Files (x86)\Microchip\xc16\v1.30\bin\xc16-gcc.exe"
> features.c  -o build/IOIO0030/production/features.o  -c
> -mcpu=24FJ256DA206  -MMD -MF "build/IOIO0030/production/features.o.d"
> -mno-eds-warn  -g -omf=elf -DXPRJ_IOIO0030=IOIO0030  -no-legacy-libc
> -fno-short-double -O3 -I"." -I".." -I"../microchip/include" -I"../common"
> -DPLATFORM=1030 -DNDEBUG -msmart-io=1 -Wall -msfr-warn=off   -std=gnu99
> "C:\Program Files (x86)\Microchip\xc16\v1.30\bin\xc16-gcc.exe"
> ../common/logging.c  -o build/IOIO0030/production/_ext/1270477542/logging.o
> -c -mcpu=24FJ256DA206  -MMD -MF "build/IOIO0030/production/_
> ext/1270477542/logging.o.d"  -mno-eds-warn  -g -omf=elf
> -DXPRJ_IOIO0030=IOIO0030  -no-legacy-libc-fno-short-double -O3 -I"."
> -I".." -I"../microchip/include" -I"../common" -DPLATFORM=1030 -DNDEBUG
> -msmart-io=1 -Wall -msfr-warn=off   -std=gnu99
> "C:\Program Files (x86)\Microchip\xc16\v1.30\bin\xc16-gcc.exe"   i2c.c
> -o build/IOIO0030/production/i2c.o  -c -mcpu=24FJ256DA206  -MMD -MF
> "build/IOIO0030/production/i2c.o.d"  -mno-eds-warn  -g -omf=elf
> -DXPRJ_IOIO0030=IOIO0030  -no-legacy-libc-fno-short-double -O3 -I"."
> -I".." -I"../microchip/include" -I"../common" -DPLATFORM=1030 -DNDEBUG
> -msmart-io=1 -Wall -msfr-warn=off   -std=gnu99
> "C:\Program Files (x86)\Microchip\xc16\v1.30\bin\xc16-gcc.exe"   icsp.c
> -o build/IOIO0030/production/icsp.o  -c -mcpu=24FJ256DA206  -MMD -MF
> "build/IOIO0030/production/icsp.o.d"  -mno-eds-warn  -g -omf=elf
> -DXPRJ_IOIO0030=IOIO0030  -no-legacy-libc-fno-short-double -O3 -I"."
> -I".." -I"../microchip/include" -I"../common" -DPLATFORM=1030 -DNDEBUG
> -msmart-io=1 -Wall -msfr-warn=off   -std=gnu99
> Options have been disabled due to restricted license
> Visit http://www.microchip.com/ to purchase a new key.
> Options have been disabled due to restricted license
> Visit http://www.microchip.com/ to purchase a new key.
> In file included from i2c.c:36:0:
> ../common/platform.h:104:6: error: #error Platform and MCU mismatch -
> expecting PIC24FJ256GB206
> Options have been disabled due to restricted license
> Visit http://www.microchip.com/ to purchase a new key.
> Options have been disabled due to restricted license
> Visit http://www.microchip.com/ to purchase a new key.
> In file included from pins.h:33:0,
>  from features.c:35:
> ../common/platform.h:104:6: error: 

Re: (ADVANCED) Building the IOIO firmware

2017-01-18 Thread krishna
Hello Ytai,
I'm attempting to use MPLAB X v3.50 with xc16 compiler V1.30.  The 
individual sub projects, such as usb, adb, btstack, conn compile fine, but 
I cannot build the app_layer_v1 it is giving the error:
make -f nbproject/Makefile-IOIO0030.mk SUBPROJECTS= .build-conf
make[1]: Entering directory 
'C:/Users/parkzap-dev1/Desktop/krishna/ioio-master 
(1)/ioio-master/firmware/app_layer_v1'
make  -f nbproject/Makefile-IOIO0030.mk 
dist/IOIO0030/production/app_layer_v1.production.hex
make[2]: Entering directory 
'C:/Users/parkzap-dev1/Desktop/krishna/ioio-master 
(1)/ioio-master/firmware/app_layer_v1'
"C:\Program Files (x86)\Microchip\xc16\v1.30\bin\xc16-gcc.exe"   
../common/byte_queue.c  -o 
build/IOIO0030/production/_ext/1270477542/byte_queue.o  -c 
-mcpu=24FJ256DA206  -MMD -MF 
"build/IOIO0030/production/_ext/1270477542/byte_queue.o.d"  
-mno-eds-warn  -g -omf=elf -DXPRJ_IOIO0030=IOIO0030  -no-legacy-libc
-fno-short-double -O3 -I"." -I".." -I"../microchip/include" -I"../common" 
-DPLATFORM=1030 -DNDEBUG -msmart-io=1 -Wall -msfr-warn=off   -std=gnu99
"C:\Program Files (x86)\Microchip\xc16\v1.30\bin\xc16-gcc.exe"   
../microchip/common/uart2.c  -o 
build/IOIO0030/production/_ext/1537399865/uart2.o  -c -mcpu=24FJ256DA206  
-MMD -MF "build/IOIO0030/production/_ext/1537399865/uart2.o.d"  
-mno-eds-warn  -g -omf=elf -DXPRJ_IOIO0030=IOIO0030  -no-legacy-libc
-fno-short-double -O3 -I"." -I".." -I"../microchip/include" -I"../common" 
-DPLATFORM=1030 -DNDEBUG -msmart-io=1 -Wall -msfr-warn=off   -std=gnu99
"C:\Program Files (x86)\Microchip\xc16\v1.30\bin\xc16-gcc.exe"   adc.c  -o 
build/IOIO0030/production/adc.o  -c -mcpu=24FJ256DA206  -MMD -MF 
"build/IOIO0030/production/adc.o.d"  -mno-eds-warn  -g -omf=elf 
-DXPRJ_IOIO0030=IOIO0030  -no-legacy-libc-fno-short-double -O3 -I"." 
-I".." -I"../microchip/include" -I"../common" -DPLATFORM=1030 -DNDEBUG 
-msmart-io=1 -Wall -msfr-warn=off   -std=gnu99
"C:\Program Files (x86)\Microchip\xc16\v1.30\bin\xc16-gcc.exe"   digital.c  
-o build/IOIO0030/production/digital.o  -c -mcpu=24FJ256DA206  -MMD -MF 
"build/IOIO0030/production/digital.o.d"  -mno-eds-warn  -g -omf=elf 
-DXPRJ_IOIO0030=IOIO0030  -no-legacy-libc-fno-short-double -O3 -I"." 
-I".." -I"../microchip/include" -I"../common" -DPLATFORM=1030 -DNDEBUG 
-msmart-io=1 -Wall -msfr-warn=off   -std=gnu99
"C:\Program Files (x86)\Microchip\xc16\v1.30\bin\xc16-gcc.exe"   
features.c  -o build/IOIO0030/production/features.o  -c -mcpu=24FJ256DA206  
-MMD -MF "build/IOIO0030/production/features.o.d"  -mno-eds-warn  -g 
-omf=elf -DXPRJ_IOIO0030=IOIO0030  -no-legacy-libc-fno-short-double -O3 
-I"." -I".." -I"../microchip/include" -I"../common" -DPLATFORM=1030 
-DNDEBUG -msmart-io=1 -Wall -msfr-warn=off   -std=gnu99
"C:\Program Files (x86)\Microchip\xc16\v1.30\bin\xc16-gcc.exe"   
../common/logging.c  -o 
build/IOIO0030/production/_ext/1270477542/logging.o  -c -mcpu=24FJ256DA206  
-MMD -MF "build/IOIO0030/production/_ext/1270477542/logging.o.d"  
-mno-eds-warn  -g -omf=elf -DXPRJ_IOIO0030=IOIO0030  -no-legacy-libc
-fno-short-double -O3 -I"." -I".." -I"../microchip/include" -I"../common" 
-DPLATFORM=1030 -DNDEBUG -msmart-io=1 -Wall -msfr-warn=off   -std=gnu99
"C:\Program Files (x86)\Microchip\xc16\v1.30\bin\xc16-gcc.exe"   i2c.c  -o 
build/IOIO0030/production/i2c.o  -c -mcpu=24FJ256DA206  -MMD -MF 
"build/IOIO0030/production/i2c.o.d"  -mno-eds-warn  -g -omf=elf 
-DXPRJ_IOIO0030=IOIO0030  -no-legacy-libc-fno-short-double -O3 -I"." 
-I".." -I"../microchip/include" -I"../common" -DPLATFORM=1030 -DNDEBUG 
-msmart-io=1 -Wall -msfr-warn=off   -std=gnu99
"C:\Program Files (x86)\Microchip\xc16\v1.30\bin\xc16-gcc.exe"   icsp.c  -o 
build/IOIO0030/production/icsp.o  -c -mcpu=24FJ256DA206  -MMD -MF 
"build/IOIO0030/production/icsp.o.d"  -mno-eds-warn  -g -omf=elf 
-DXPRJ_IOIO0030=IOIO0030  -no-legacy-libc-fno-short-double -O3 -I"." 
-I".." -I"../microchip/include" -I"../common" -DPLATFORM=1030 -DNDEBUG 
-msmart-io=1 -Wall -msfr-warn=off   -std=gnu99
Options have been disabled due to restricted license
Visit http://www.microchip.com/ to purchase a new key.
Options have been disabled due to restricted license
Visit http://www.microchip.com/ to purchase a new key.
In file included from i2c.c:36:0:
../common/platform.h:104:6: error: #error Platform and MCU mismatch - 
expecting PIC24FJ256GB206
Options have been disabled due to restricted license
Visit http://www.microchip.com/ to purchase a new key.
Options have been disabled due to restricted license
Visit http://www.microchip.com/ to purchase a new key.
In file included from pins.h:33:0,
 from features.c:35:
../common/platform.h:104:6: error: #error Platform and MCU mismatch - 
expecting PIC24FJ256GB206
Options have been disabled due to restricted license
Visit http://www.microchip.com/ to purchase a new key.
../common/logging.c:33:17: fatal error: PPS.h: No such file or directory
compilation terminated.

info

2017-01-18 Thread Malik Atta ur rehman
I m using this ioio otg in project of home automation if i use pin 1 to 30
to connect load with the help of relays it will effect the performance of
IOIO OTG or not ?? current will effect IOIO OTG ?

-- 
You received this message because you are subscribed to the Google Groups 
"ioio-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ioio-users+unsubscr...@googlegroups.com.
To post to this group, send email to ioio-users@googlegroups.com.
Visit this group at https://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/d/optout.