User:Nigel

From AVRFreaks Wiki

Jump to: navigation, search

Hi All

Just got my Network Gateway (NGW) from avnet.com, Bayswater, 3153, Melbourne Australia Now its Time to Play with it :)

Cheers



Search ALL Search



(You're freaking me out, I also got an NGW from AVnet around 12 May and my first name is Nigel - it is like I have no memory of what I type on this wiki :P -Dingo_aus)

Hey Dingo_aus User:Dingo_aus User_talk:Dingo_aus

I'm from the south (Melbourne) just down the road from avnet

I See that your from sunny Brisbane

What is the project you are working on?




Both My Ethernet ports where not working out of the box

Found a Fix but only one of the 2 ethernet ports are working

I have added this info to Network Known issues



Dingo_aus (24/06/07): Brisbane isn't so sunny at the moment, more like freezing but not like you guys in Melb ;) I'm hoping to eventually upgrade one of my robots with the NGW board and feed some camera input into OpenCV running on it (all a long way off as this is a only a hobby which I never have enough time for)

How about yourself? is it just the NGW or are you doing something with the AVR32 generally?



Nigel (25/06/07): I Want to use the NGW as a home automation device. Need to make up an input board that can handle input voltages from 5V - 300V ac/DC (Digital) on any/all inputs. Don’t need any outputs at the moment. Got to work out what GPIO I can use and how to use them. A friend of mine is into robot wars.



Dingo_aus (25/06/07): My next step is to work with the GPIO pins. Apart from my fumblings with turning LEDS on and off, which is on this wiki, when I get the chance I want to go through this documentation - http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/gpio.txt;h=36af58eba136bac198ea3b1f33f34236be9ce5df;hb=HEAD

I'm hoping once I've read it I'll understand all about Linux and I/O from pins ;)

Hope it helps.

Solar power eh? sounds neat. a million uses for the the NGW100 jump to mind when combined with "home automation" maybe I should buy a couple more now :D


Nigel (1/07/07): How is the project going? I have an I/O board working now (only 1 input and LED) Just need to learn how the GPIO works



Dingo_aus(1/07/2007): I was going to work on it this weekend but everything got sidetracked and it is now 9:15 on Sunday (hpw'd I get here so quickly? :) ) I saw your GPIO work and post on the forums, I'm going to see if I can emulate it and get it working this week.


Nigel (1/07/2007): Check the wiki out for new info Reading a Switched Input

I tried your Hello World demo. It didn't work :(

/media/mmcblk0p1 # ./Hello_World2.elf
./Hello_World2.elf: can't load library 'libstdc++.so.6'

I added the "stdc++" and path. It complies fine, But its still a dynamic link

Is there another switch in the complier?

I have run through your instructions twice and reinstalled AVR Studio. No luck

Is there a switch to force static lib?

Cheers


Angus (5/08/2007): I was having the same dynamic library issue working through the Hello World example. It looks like one way to force the static linking of the stdc++ library is to place the "-static" linker directive in the "Linker flags" field under "Miscellaneous" under the "AVR32/GNU Linux C++ Linker" section.

Hope this works for others having the same issue.


Nigel (14/08/2007): Angus you are a legend. That was the problem. I can now complie C++ instead of C

May have to update the Hello World Demo Wiki!

Personal tools