Author Options:

Pcduino arduino IDE? Answered

I just got my PcDuino from the arduino contest, and I can't get any IO to work, using the arduino coding.  I tried following any tutorials that exist, but there are few, and don't account for the problems I had.  1) example files would not execute, even when recompiled, launched from LXTerminal, etc.  arduino IDE would not unzip.  When I used my regular pc to unzip it and put it on the pcduino with a flash drive (I copied the files to the pcduino, and even set it as executable), but the arduino shell script refuses to run. 

Apparently the new distro of ubuntu has arduino IDE built in, is there a way to update without using another computer?
If anyone's had sucess just blinking an LED, did you have any similar problems, and if so, how did you get it to work?
(I am NOT a linux guy, this is my second linux device after a raspberry pi, which I also got in many a shouting match with).   


I have been playing with pcDuino recently - they are cool and all the demos worked well for me.

When you boot do you get a menu with options to do updates/upgrade - if so - use that.

Otherwise you may need to load the latest version again - you should go to the pcDuino web site - they have plenty of good instructions.

I don't get an automatic update GUI, but is there a way (like on the raspi) to get the newest version using terminal? I would like to make. Sure that there's no easy way before I risk making a very fast, powerful paperweight.

These links tell you how to load a fresh image to an SD card:



I tried using
sudo apt-get update
sudo apt-get install pcduino
sudo apt-get(whatever the command is) upgrade
sudo apt-get install
It went through a bunch of downloading and stuff, and I rebooted afterword, after running install, it said there were no uninstalled updates, but it doesnt seem to have done anything. Do you or anyone else know why?
Also, where were said upgrade menus? Did you interface the code through the IDE or through terminal?

I know the "right" thing to do is re-flash it with the newest OS, but as I said, I dont want to risk destroying it and an SD card if there's an easier way.

The pcDuino comes with the operating system installed "inside" on NAND memory, so installing on a micro SD card is separate and should not interfere with the original install.

It will not destroy your SD card either, at most you need to reformat it again after use.

To update the original pre-installed operating system:-
1. shortly after power on the first message on screen is something like "Press [F8/1/A]....." - so press one of those keys.
2. select the update option, 3rd from the bottom (make sure board had network cable and internet access)
3. watch and wait .... might take quite a while as you have older system
4. I do not know if you need to reboot - probably not - follow what ever prompts for do/don't get.
5. After all updated - select done, continue to GUI desktop, select menu, programming, Arduino and enjoy!

In the manuals there are full instructions for creating a bootable micro SD card and also for how to re-flash the NAND installation (I have not done either - I only did the F8 update)

Also have you looked at the pcDuino forums for information and help?

I just found the software version I'm using, turns out its one of the earliest images. Still, I don't know why
sudo apt-get update
sudo apt-get install pcduino
doesn't work. The official site says that that's how to update!
the board-config.sh does the same, so I guess I'm going to have to take a shot at re-flashing the NAND.
if it works, Ill mention how I got it to work so anyone else can.
If not, then you'll have a nice guide how to make a sleek, fancy paperweight.

Alright, I got it to work (yay!), after about two and a half hours, two flash drives, two micro SD cards and four different programs it works. basically, its just this tutorial,
but use the downloads at the top of this page
and dont worry about the "env_nandd.fex" file that they mention. There is only the kernel, update,sh, and ubuntu files. Everthing else worked to the letter. Somehow.
(If you cannot unzip the file, get 7zip, its free and it worked fine)

You really only need one microSD card, but I have one computer that cannot run new programs, and one that is not connected to the internet or an SD card slot, so I had to transfer a couple of the 1GB+ files several times. (download, load to flash drive, load to other computer, unzip, load to flash drive, load to SD card).