This is my introduction blog post on using the Atmel sama5d3-xplained development board, I was kindly given the opportunity to roadtest the device along with a few other bits and bobs. http://www.element14.com/community/roadTests/1348
I didn't have a great deal of time when the unit first arrived to work on it much and just seemed to go around in circles a little bit with guides and documents that didn't really seem to work for me, I've just managed to get some time and actually made some headway! so I'm going to blog about my progress and hopefully save other people time and headscratching trying to get up and running with it.
At first I was going to cross compile C programs to run on it along with the poky yocto linux distribution, but alas cannot seem to get a crosscompiler that works for it. I've followed 3 separate guides and all of them have proven fruitless, the only hope seems to be copying codesourcery runtime libraries and files over but Id rather look for another way in, I've spent nearly 6 hours on installing, building, making and cross compiling files only for them to not run on the target. I need another solution:
Yay! It suddenly came to me... I've never before used Python, but am led to believe it's quite a basic language and I should be able to pick it up. So plugging in my Xplained, accessing it through ssh, I just typed python at the root command prompt and "Hurray!" something that works straight out of the box!! The python live interpreter starts with 3 prompts >>>
I did a quick hello world etc.. but now needed to use it to do some real work, so it's back to the terminal to have a poke about with the linux environment and see what I can fiddle with!
My current system setup is the running the demo_linux_nandflash_pda4 nand image, there is a guide on how to install it here http://www.atmel.com/Images/Atmel-42328-Using-SAM-BA-for-Linux-on-SAMA5D3-Xplained_Training-Manual_AN8995.pdf (thanks to Greg Fenton for providing the link)
- ssh into the sama5d3 xplained through network cable
- mounting and using the SD card slot
- using gpio's using bash through the terminal
- transferring what we know about gpio control into python libraries
once these blogs are finished, I'll have a better idea of the direction to move in with more guides