Show Posts
Pages: 1 [2] 3
16  Products / Arduino Due / Re: pgmspace.h is not supported? on: October 30, 2012, 08:24:03 am
Sorry Paul, I just realised now that you wore refering to the serial ones, those I don't really know.  smiley-confuse
17  Products / Arduino Due / Re: pgmspace.h is not supported? on: October 30, 2012, 08:19:36 am
Paul, usualy I get them from here: http://imall.iteadstudio.com/display/tft-lcm.html but the sometimes show up on eBay.

I think all of them from taht link work with Henning library, I use the ITDB02-3.2WD.


Do you know where I can find info reagardin the DUO ports, since now I have to change all of that part of the code for the reconizes DUO ports, like for example this part:

Code:
#if defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__)
PORTA = VH;
pulse_low(P_WR, B_WR);
PORTA = VL;
pulse_low(P_WR, B_WR);
#else
PORTD = VH;
pulse_low(P_WR, B_WR);
PORTD = VL;
pulse_low(P_WR, B_WR);
#endif


PORTA and the rest are not beeing reconized since probably they are not defined.
18  Products / Arduino Due / Re: pgmspace.h is not supported? on: October 29, 2012, 11:54:36 pm
That's the library I'm trying to port, actualy it's the UTFT from Henning Karlsen so I can use the TFT and touch with the DUO.
19  Products / Arduino Due / Re: pgmspace.h is not supported? on: October 29, 2012, 08:18:17 pm
Thanks Paul, including your code for now stoped givving errors regarding pgmspace but let's see further down since now I'm stucked on the port conversion, the lib referes to PORTA for example witch is not defined for DUO and I can't find where the new definitions exist or what I can use insted.


Tom, for now I just put the pgmspace.h file from Paul on the current lib dir and all previous #include <avr/pgmspace.h> I change them to #include "pgmspace.h".



20  Products / Arduino Due / Re: Problems with gcc-arm-none-eabi-4.4.1-2010q1-188-win32.tar.gz file on build IDE on: October 28, 2012, 07:13:51 am
I have windows XP Pro and used the latested Cygwin version with all the most recent tools needed to build it.

Anyway going to try today on a real Linux SO just to see how it goes.
21  Products / Arduino Due / Problems with gcc-arm-none-eabi-4.4.1-2010q1-188-win32.tar.gz file on build IDE on: October 27, 2012, 10:50:30 pm
Ok one of the needed tarball probably was not created using the --hard-dereference flag, so when building the IDE 1.5 this errors show up:

windows-unzip-arm-toolchain:
     [exec] tar: g++_arm_none_eabi/arm-none-eabi/bin/g++.exe: Cannot hard link to `g++_arm_none_eabi/arm-none-eabi/bin/c++.exe': Operation not permitted
     [exec] tar: g++_arm_none_eabi/arm-none-eabi/lib/armv6-m/libg.a: Cannot hard link to `g++_arm_none_eabi/arm-none-eabi/lib/armv6-m/libc.a': Operation not permitted
     [exec] tar: g++_arm_none_eabi/arm-none-eabi/lib/libg.a: Cannot hard link to `g++_arm_none_eabi/arm-none-eabi/lib/libc.a': Operation not permitted
     [exec] tar: g++_arm_none_eabi/arm-none-eabi/lib/thumb/libg.a: Cannot hard link to `g++_arm_none_eabi/arm-none-eabi/lib/thumb/libc.a': Operation not permitted
     [exec] tar: g++_arm_none_eabi/arm-none-eabi/lib/thumb2/libg.a: Cannot hard link to `g++_arm_none_eabi/arm-none-eabi/lib/thumb2/libc.a': Operation not permitted
     [exec] tar: g++_arm_none_eabi/bin/arm-none-eabi-ar.exe: Cannot hard link to `g++_arm_none_eabi/arm-none-eabi/bin/ar.exe': Operation not permitted
     [exec] tar: g++_arm_none_eabi/bin/arm-none-eabi-as.exe: Cannot hard link to `g++_arm_none_eabi/arm-none-eabi/bin/as.exe': Operation not permitted
     [exec] tar: g++_arm_none_eabi/bin/arm-none-eabi-g++.exe: Cannot hard link to `g++_arm_none_eabi/bin/arm-none-eabi-c++.exe': Operation not permitted
     [exec] tar: g++_arm_none_eabi/bin/arm-none-eabi-gcc.exe: Cannot hard link to `g++_arm_none_eabi/bin/arm-none-eabi-gcc-4.4.1.exe': Operation not permitted
     [exec] tar: g++_arm_none_eabi/bin/arm-none-eabi-ld.exe: Cannot hard link to `g++_arm_none_eabi/arm-none-eabi/bin/ld.exe': Operation not permitted
     [exec] tar: g++_arm_none_eabi/bin/arm-none-eabi-nm.exe: Cannot hard link to `g++_arm_none_eabi/arm-none-eabi/bin/nm.exe': Operation not permitted
     [exec] tar: g++_arm_none_eabi/bin/arm-none-eabi-objcopy.exe: Cannot hard link to `g++_arm_none_eabi/arm-none-eabi/bin/objcopy.exe': Operation not permitted
     [exec] tar: g++_arm_none_eabi/bin/arm-none-eabi-objdump.exe: Cannot hard link to `g++_arm_none_eabi/arm-none-eabi/bin/objdump.exe': Operation not permitted
     [exec] tar: g++_arm_none_eabi/bin/arm-none-eabi-ranlib.exe: Cannot hard link to `g++_arm_none_eabi/arm-none-eabi/bin/ranlib.exe': Operation not permitted
     [exec] tar: g++_arm_none_eabi/bin/arm-none-eabi-strip.exe: Cannot hard link to `g++_arm_none_eabi/arm-none-eabi/bin/strip.exe': Operation not permitted
     [exec] tar: Exiting with failure status due to previous errors
     [exec] Result: 2


To make the builded IDE working I had to install this files manualy copying them from the oficial online IDE zip.

I think this tarball should be fixed so that can be extracted anyware.
22  Products / Arduino Due / Re: pgmspace.h is not supported? on: October 27, 2012, 07:11:19 pm
Is there a way to add some other directory to the lib global search path?

It works if I put the all directory to the file like this:

#include <C:\arduino-1.5\hardware\tools\avr\avr\include\avr\pgmspace.h>


So this must be a missing search path to the directory where these files are normaly like on previous IDE.

23  Products / Arduino Due / pgmspace.h is not supported? on: October 27, 2012, 02:43:46 pm
I'm getting errors of file not found for this code:

#include <avr/pgmspace.h>

Or the folder \hardware\tools\avr\avr\include\avr where the file exists is not included on the search path for load?

24  Products / Arduino Due / Found another bug regarding adding lilbraries on: October 27, 2012, 02:02:51 pm
If we change the sketch folder to anything apart the default, the examples from the libs don't load correct and also on compiling the those libs fail saying that the files xxxxx.h "No such file or directory".

Strangly the native libs that came with IDE are the only ones that stay ok.

Hummmm... is there any other place or setting to do regarding this on this new version?

25  Products / Arduino Due / Re: Adding libraries? on: October 27, 2012, 11:17:57 am
Thanks, problem solved.

I get the corrent version from Github and compile it, now all is working ok with adding libraries by the menu or just put the folder there.

I think should be a good idea quickly change the download link on the DUO webpage to a current version at least without this bug so others don't get stuck with this problem.
26  Products / Arduino Due / Adding libraries? on: October 27, 2012, 07:27:41 am
Hi, I just got my DUO and can't figure out how to install/add new librarys.

I'm trying to use a TFT library, but copying the folder the IDE is not detecting it and using the menu "Add Library" gives the error "Not a valid library", so anyone knows how this works now for 1.5 IDE?

Thanks.
27  Development / Other Hardware Development / Arduino Mega R3 Screw Shield with TFT ports and onboard RTC on: October 27, 2012, 07:23:00 am
We just created a shield with onboard RTC that could acept other stacked on top or a TFT connected and a lot of screw terminals around replicating all Arduinio Mega R3 and other Mega's ports, also chipKIT MAX32 compatible.






28  Using Arduino / Microcontrollers / Re: New optiboot; beta testers welcome... on: September 27, 2011, 02:19:16 pm
Hi, do I have something wrong or this bootloader used on Arduino 2009 doesn't auto reset after uploading a new sketch?

Is this problem fixed anywhere?

Thanks.
29  Using Arduino / Programming Questions / Re: Best approach for changing PWM in certain time? on: July 03, 2011, 08:15:02 pm
MarkT,thanks for the help you solution is almost perfect for me.

Going now to do more tests and see if I reach the perfect result that I need, since apart the need of diming from 0 to 255 I need to show on the LCD the dimming percentage (0% to 100%), converting is easy, but I get again the float values that I can't compare with the integer pwm values. For example 48% represents 122,4 pwm value, if I want to stop during the DIM on a specific value like this 48% there is no way sinve only going to pass on 122 integer.

 smiley-roll
30  Using Arduino / Programming Questions / Re: Best approach for changing PWM in certain time? on: July 02, 2011, 06:52:38 am
Hummm, sorry... AWOL can you detail that or give a code example, I'm too new on this to understand most of what you are saying.
Pages: 1 [2] 3