Welcome, Guest. Please login or register.

Username: Password:

Author Topic: Arduino IDE version for compiling the code  (Read 3660 times)

galileo

  • Newbie
  • *
  • Posts: 1
    • View Profile
Arduino IDE version for compiling the code
« on: October 01, 2015, 10:14:08 »

Hi Tom,

Could you help to give a hint about how I can compile the source code with the Arduino IDE?
I used Arduino IDE v1.6.5 to compile the code without any problem. But if I use the firmware to download to the board (Arduino Mega or DIY board), the firmware doesn't run normally when doing GoTo. I used Cartes du Ciel (Skychart) for the GoTo test. At first the steppers started normally. But after a few seconds, the status LED stopped blinking and it seemed that the Skychart had lost contact with the board. Is this related to the UART interrupt handling or timer interrupt handling?
 
Any advise for this issue?

Thanks in advanced! :)

Leo

Logged

grizli21

  • Full Member
  • ***
  • Posts: 28
    • View Profile
Re: Arduino IDE version for compiling the code
« Reply #1 on: November 16, 2015, 16:43:26 »

Hi Galileo,
It seems i have the same problem as you described.
I didn't read your post so i opened a new one yesterday.

Are you getting problem when using the source code at github?
This is the exact description of what i get if i use the source code, slewing 3 seconds then lost contact and freezing eqmod.

Everything rune fine when i use the hex firmware that is supplied in the config tool.
Unfortunatly in my case i need to change some pinmapping this is the reason i have no other choice to use the source code.



Logged

TCWORLD

  • Administrator
  • *****
  • Posts: 809
    • View Profile
    • AstroEQ
Re: Arduino IDE version for compiling the code
« Reply #2 on: November 17, 2015, 05:16:22 »

I used to use Arduino 1.0.x to compile, so I would advise using that - I have no idea what has changed between 1.0.x and 1.6.x nor do I wish to find out.

I am now using UECIDE with the "arduino" core and the attached board file.

Let me know if using either solves the problem.
Logged
Tom Carpenter (AstroEQ)

makovroman

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Arduino IDE version for compiling the code
« Reply #3 on: March 05, 2016, 10:56:13 »

I had the same problem I have it corrected firmware of the Arduino platform version 1.0.6 and everything worked like clockwork. I think the problem in version Arduino need version 1.0.6 .
Logged