Discussion:
[fedora-arm] F23 Arduino
Robert Moskowitz
2016-01-05 21:53:10 UTC
Permalink
This is on my pcDuino3 nano lite. This board supposedly has arduino
features and can be controled with Arduino IDE. I am using the tutorial
I found at:

http://www.linksprite.com/quick-start/

Where I got the pdf:

https://s3.amazonaws.com/pcduino/book/Introduction+to+pcDuino.pdf

In this pdf, they are using Arduino IDE 1.5.4 and showing to add the
pcDuino board. The version of Arduino in F23 is 1.0.6 and it does not
seem to be able to add a board under tools. So I enabled
fedora-updates-testing and upgraded to 1.6.4.

I go to open it, and nothing happens. I have rebooted, and nothing
happens. I do not see anything in /var/log/messages. I need so help to
figure out what is wrong here.

thanks
Peter Robinson
2016-01-06 01:23:40 UTC
Permalink
Post by Robert Moskowitz
This is on my pcDuino3 nano lite. This board supposedly has arduino
features and can be controled with Arduino IDE. I am using the tutorial I
http://www.linksprite.com/quick-start/
https://s3.amazonaws.com/pcduino/book/Introduction+to+pcDuino.pdf
In this pdf, they are using Arduino IDE 1.5.4 and showing to add the pcDuino
board. The version of Arduino in F23 is 1.0.6 and it does not seem to be
able to add a board under tools. So I enabled fedora-updates-testing and
upgraded to 1.6.4.
I go to open it, and nothing happens. I have rebooted, and nothing happens.
I do not see anything in /var/log/messages. I need so help to figure out
what is wrong here.
Robert, below is a fairly standard process, not just for Fedora but
any distro, for debugging a problem on an application:

1) Define what you mean by "nothing happens", does any thing appear at all?
2) Run it from the command prompt to see if there's a segfault or some
other output indicating why
3) Check bugzilla to see if anyone else has reported the problem [1]
3) If it crashes run it from gdb and gather a backtrace [2]
4) Update the bug with relevant information if it exists or report a
bug [3] attaching the above information if not.

Peter

[1] https://apps.fedoraproject.org/packages/arduino/bugs
[2] https://fedoraproject.org/wiki/StackTraces#How_do_I_generate_a_backtrace.3F
[3] https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&version=rawhide&component=arduino
Robert Moskowitz
2016-01-06 02:15:03 UTC
Permalink
thanks. A couple questions below.
Post by Peter Robinson
Post by Robert Moskowitz
This is on my pcDuino3 nano lite. This board supposedly has arduino
features and can be controled with Arduino IDE. I am using the tutorial I
http://www.linksprite.com/quick-start/
https://s3.amazonaws.com/pcduino/book/Introduction+to+pcDuino.pdf
In this pdf, they are using Arduino IDE 1.5.4 and showing to add the pcDuino
board. The version of Arduino in F23 is 1.0.6 and it does not seem to be
able to add a board under tools. So I enabled fedora-updates-testing and
upgraded to 1.6.4.
I go to open it, and nothing happens. I have rebooted, and nothing happens.
I do not see anything in /var/log/messages. I need so help to figure out
what is wrong here.
Robert, below is a fairly standard process, not just for Fedora but
1) Define what you mean by "nothing happens", does any thing appear at all?
Nothing visibly happens.
Post by Peter Robinson
2) Run it from the command prompt to see if there's a segfault or some
other output indicating why
I am going to have to dig a bit to figure out what Xfce is running. I
SHOULD be able to figure this one out myself.
Post by Peter Robinson
3) Check bugzilla to see if anyone else has reported the problem [1]
3) If it crashes run it from gdb and gather a backtrace [2]
What is gbd and how do I run it from there. Or rather, point me to
instructions about this, please.
Post by Peter Robinson
4) Update the bug with relevant information if it exists or report a
bug [3] attaching the above information if not.
I knew once I found what was happening, I would more than likely be
filing a bug report. But should really have realized to check there first.

thanks
Peter Robinson
2016-01-06 03:01:06 UTC
Permalink
Post by Robert Moskowitz
Post by Peter Robinson
Post by Robert Moskowitz
This is on my pcDuino3 nano lite. This board supposedly has arduino
features and can be controled with Arduino IDE. I am using the tutorial I
http://www.linksprite.com/quick-start/
https://s3.amazonaws.com/pcduino/book/Introduction+to+pcDuino.pdf
In this pdf, they are using Arduino IDE 1.5.4 and showing to add the pcDuino
board. The version of Arduino in F23 is 1.0.6 and it does not seem to be
able to add a board under tools. So I enabled fedora-updates-testing and
upgraded to 1.6.4.
I go to open it, and nothing happens. I have rebooted, and nothing happens.
I do not see anything in /var/log/messages. I need so help to figure out
what is wrong here.
Robert, below is a fairly standard process, not just for Fedora but
1) Define what you mean by "nothing happens", does any thing appear at all?
Nothing visibly happens.
Post by Peter Robinson
2) Run it from the command prompt to see if there's a segfault or some
other output indicating why
I am going to have to dig a bit to figure out what Xfce is running. I SHOULD
be able to figure this one out myself.
Post by Peter Robinson
3) Check bugzilla to see if anyone else has reported the problem [1]
3) If it crashes run it from gdb and gather a backtrace [2]
What is gbd and how do I run it from there. Or rather, point me to
instructions about this, please.
See the link I referenced at [2] below. All the information was
provided in the links that I referenced. There is also google or even
"dnf info gdb" would provide you this informaiton.
Post by Robert Moskowitz
Post by Peter Robinson
4) Update the bug with relevant information if it exists or report a
bug [3] attaching the above information if not.
I knew once I found what was happening, I would more than likely be filing a
bug report. But should really have realized to check there first.
thanks
Rich Mattes
2016-01-06 05:16:45 UTC
Permalink
Post by Peter Robinson
Post by Robert Moskowitz
What is gbd and how do I run it from there. Or rather, point me to
instructions about this, please.
See the link I referenced at [2] below. All the information was
provided in the links that I referenced. There is also google or even
"dnf info gdb" would provide you this informaiton.
Post by Robert Moskowitz
Post by Peter Robinson
4) Update the bug with relevant information if it exists or report a
bug [3] attaching the above information if not.
I knew once I found what was happening, I would more than likely be filing a
bug report. But should really have realized to check there first.
Arduino is a java app, so gdb isn't going to help much.

That said, I also encountered a failure of the IDE to launch with
arduino-1.6.4-3 on x86_64. I have figured out why and filed a bug at
[1]. It's possible that you are facing the same problem.

Rich

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1296002
Robert Moskowitz
2016-01-06 16:35:18 UTC
Permalink
Post by Rich Mattes
Post by Peter Robinson
Post by Robert Moskowitz
What is gbd and how do I run it from there. Or rather, point me to
instructions about this, please.
See the link I referenced at [2] below. All the information was
provided in the links that I referenced. There is also google or even
"dnf info gdb" would provide you this informaiton.
Post by Robert Moskowitz
Post by Peter Robinson
4) Update the bug with relevant information if it exists or report a
bug [3] attaching the above information if not.
I knew once I found what was happening, I would more than likely be filing a
bug report. But should really have realized to check there first.
Arduino is a java app, so gdb isn't going to help much.
That said, I also encountered a failure of the IDE to launch with
arduino-1.6.4-3 on x86_64. I have figured out why and filed a bug at
[1]. It's possible that you are facing the same problem.
Rich
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1296002
I just updated this bug report. I get the same error with F23-arm, but
I don't have any package_index.json file to move around. That may be
due to the different installation method I used (Fedora-updates-testing
repo).

Thanks for starting this bug report.

Loading...