Show Posts
Pages: [1] 2 3 ... 33
1  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: April 17, 2014, 09:48:32 pm
I just installed EmbedXcode+ ver 149, but when I opened a project, I was not prompted to upgrade.  I ran the Build scheme and looked at the log and it said embedxcode ver 141.
2  Community / Exhibition / Gallery / Re: reflow (toaster) oven now earning its keep on: April 05, 2014, 03:44:07 pm
here's the final circuit
(went through several iterations to get there - as you do!)
and here's the triac heater control

In your circuit, what's the purpose of R5?  Also, I see you have the mains hot connected to MT2 on the triac.  Does it matter which way the triac is wired?  Would it make a difference if MT1 went to mains hot and MT2 went to the oven?
3  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: March 26, 2014, 10:09:46 pm
I'd like to see the Iteaduino Lite board supported by EmbedXcode
See: http://imall.iteadstudio.com/iteaduino-lite.html

I got a bunch of these recently and they seem pretty nice.  You can operate at 3.3v or 5v and they have lots of pads so you can solder leads right to the board.  They only cost $8. 
4  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: March 13, 2014, 02:32:44 pm
Hence the solution of modifying the main makefile, which is preserved from being updated.

Modifying the makefile seems like the best approach.  It would be really nice if EmbedXcode supported multiple BOARD_PORT definitions.  Embedxcode would try the first, if that failed, it would try the next, and so on.
5  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: March 13, 2014, 01:52:43 pm
The way to handle this is to change the default BOARD_PORT on the board configuration file as you did or to uncomment and specify a port after BOARD_PORT on the main makefile.

Thanks.
Are the board config files over-written when you upgrade an existing project to the latest version of EmbedXcode?


6  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: March 13, 2014, 07:36:21 am
I was using EmbedXCode (v1.39) with my Arduino Pro-Mini 3.3v and it was having trouble finding the serial port.  Uploading would fail right away.  So I ran "ls /dev/tty.usb*' in terminal and in the mini 3volt xcconfig file I changed

Code:
BOARD_PORT = /dev/tty.usbmodem*
to
Code:
BOARD_PORT = /dev/tty.usbserial-AH01PAW8

This solved the problem.  Is there a way to make EmbedXcode work better with usbmodem*?  I gather the whole serial port thing is a bit tricky.

Also, I noticed that a few times I uploaded the sketch and Xcode said it was successful but the changes I made didn't take, so the program really didn't upload - strange.   I did see the Tx and Rx LEDs blink rapidly.  This happened when the Target was "Upload", but sometimes it worked properly on Upload.  I changed the target to "Fast" and the program was actually uploaded, but it may have been a coincidence that it worked with the Fast target. 

I'm running on iMac with Mavericks and using Adafruit FTDI Friend.   This morning I installed EmbedXcode v1.41 and had the same issue with the serial port. 
7  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: March 11, 2014, 09:09:08 am
The problem with the Leonardo board is the way Serial ports are managed through USB. The latency you describe is caused by the operating system that needs to re-enumerate the USB devices. What version of Mac OS X do you have?

I've got Mavericks running on a new iMac I got a month ago.
8  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: March 11, 2014, 07:33:48 am
Serial ports in the Leonardo are tricky.
See Guide to the Arduino Leonardo and Micro for more details.

Even with the Arduino IDE, I've seen the Leonardo over serial port behave a bit finicky.  The only real advice in the link above was to hold down the reset button then upload - which works pretty well.  This is close to what I'm doing with Xcode, but it seems that Xcode will fail right away if it doesn't see a serial port while the Arduino IDE keeps looking for a bit.  So with the Arduino IDE you can start the upload, then release the reset button.  With Xcode you have to release the reset button then upload.  Unfortunately, this doesn't seem to help with the Serial Monitor in the Terminal window issue when using Xcode.  Do you have any tips for getting this to work?  Is there anything you can change in EmbedXcode that would help?
9  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: March 10, 2014, 08:26:58 pm
I'm trying to upload to a Leonardo, but xcode doesn't see it. 

I got xcode working with the Leonardo.  I press and release the reset button on the Leonardo.  As soon as I release the button I upload the sketch from Xcode.   My next problem is I can't get the serial monitor working in Terminal with the Leonardo.  I'll choose the Fast scheme and it opens the terminal windows, but not output from the Leonardo appears.
10  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: March 09, 2014, 09:57:47 pm
I'm trying to upload to a Leonardo, but xcode doesn't see it.  I get this error:
Code:
---- Size ----
Binary sketch size:  21028 bytes (of a 28672 byte maximum)
Estimated SRAM used: 1385 bytes (of a 2560 byte maximum)
Elapsed time: 0.8 s

---- Reset ----
screen -X kill
No screen session found.

make: [reset] Error 1 (ignored)
sleep 1
9.2-RESET:  <  leonardo ./ ./
stty -f /dev/tty.usbmodem14644111 1200
sleep 2

---- Upload ----
9.3-UPLOAD:  <  leonardo ./
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avrdude -D -patmega32u4 -C/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf -cavr109 -b57600 -P/dev/tty.usbmodem14644111 -Uflash:w:Builds/embeddedcomputing.hex:i

Connecting to programmer: .avrdude: butterfly_recv(): programmer is not responding
make: *** [raw_upload] Error 1
Command /Applications/Xcode.app/Contents/Developer/usr/bin/make failed with exi

I don't have any other Arduinos plugged into the serial ports.  I'm using EmbedXcode+ 137.  I have not problem uploading to the Leonardo with the Arduino IDE (v1.05)
11  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: March 08, 2014, 08:02:34 am
The solution consists on selecting a scope and targeting specific warnings.

I'd like to do this, but I'm not sure where to start in order to learn more about selecting a scope and targeting specific warnings.  I did some searching online but didn't find much.  Can you point me to a good resource for this?
12  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: March 07, 2014, 07:16:06 pm
Remember, warnings are warnings, not errors.

True, but there are a lot of these warnings in some of my sketches and it really clutters things up, making it harder to spot the other warnings.
13  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: March 05, 2014, 09:22:29 pm
Using the new feature to turn on warning messages I'm mgetting an error for this code:
Code:
Serial.println(F("Hello World"));
The error is:  Only initialized variables can be placed into program memory area

It seems the warning might be a  GCC bug and shouldn't display at all. Regardless, is there a way to suppress this warning message?  My makefile settings are:
Code:
WARNING_OPTIONS = unused-variable unused-function unused-label unused-value

I looked around on GCC Warnings Page, but I wasn't able to figure it out.
14  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: March 05, 2014, 08:46:10 pm
I've just downloaded the latest version of embedXCode, i have the latest version of Xcode and have tried version 1 and 1.5 of the Arduino library and yet everytime i try to build i end up with:

/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/lib/avr5/crtm328p.o:(.init9+0x0): undefined reference to `main'

Every time I create a new project using EmbedXcode, I change main.cpp to main2.cpp
15  Development / Other Software Development / Re: Arduino on Xcode Project — Official Thread on: March 05, 2014, 09:28:11 am
Fixed with embedXcode+ release 137. Thank you for noticing me.

Works now, thanks!
Pages: [1] 2 3 ... 33