Go to advanced search

by edy_3dz
Sat Apr 20, 2013 7:45 pm
Forum: Troubleshooting
Topic: [SOLVED] Internet connection problems
Replies: 6
Views: 15458

Re: Internet connection problems

I just tried a clean Raspbian, and everything it's working fine. So definitely it's something software. I can't leave the fresh installation, as I have a bunch of software that I compiled and installed on my old configuration. Suggestions? LE: Nevermind, I changed the IP of my Pi and now it works. S...
by edy_3dz
Sat Apr 20, 2013 2:43 pm
Forum: Troubleshooting
Topic: [SOLVED] Internet connection problems
Replies: 6
Views: 15458

Re: Internet connection problems

Ping works form another device to my router.
I restarted the router, but the problem persists.
The strange thing is that I can connect through SSH to my Pi...
by edy_3dz
Sat Apr 20, 2013 1:46 pm
Forum: Troubleshooting
Topic: [SOLVED] Internet connection problems
Replies: 6
Views: 15458

[SOLVED] Internet connection problems

Hi, Recently, Internet stopped working on my headless Pi. Ping works to other devices on the network, but not to the router. Here's some outputs: pi@raspberrypi ~ $ ifconfig eth0 Link encap:Ethernet HWaddr b8:27:eb:a6:8e:6d inet addr:192.168.1.114 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST ...
by edy_3dz
Fri Dec 28, 2012 10:01 am
Forum: Bare metal, Assembly language
Topic: Baking Pi and extending in C/C++
Replies: 22
Views: 3470

Re: Baking Pi and extending in C/C++

That code didn't use the C function, so it was normal to work as it is :P
Anyway, I managed to make it work eventually, after reading lots of code on github :lol:

Thanks for your help anyway.
by edy_3dz
Thu Dec 27, 2012 8:39 pm
Forum: Bare metal, Assembly language
Topic: Baking Pi and extending in C/C++
Replies: 22
Views: 3470

Re: Baking Pi and extending in C/C++

Putting -c to gcc as a parameter seems to resolve my problems, as no error is raised. But I'm pretty sure something is not right, probably in my code, as the OK led doesn't blink as I wanted. I'll come back the day after tomorrow, when I'll have some time to look into it. Thanks Philippe for your he...
by edy_3dz
Thu Dec 27, 2012 5:16 pm
Forum: Bare metal, Assembly language
Topic: Baking Pi and extending in C/C++
Replies: 22
Views: 3470

Re: Baking Pi and extending in C/C++

No test.o is generated with make. I can generate test.o separately with "arm-none-eabi-gcc -nostartfiles source/test.c build/gpio.o -o build/test.o", but it's not something that I want to make in the future, when I'll have multiple .C files. Anyway, even after I build the test.o object file, I have ...
by edy_3dz
Thu Dec 27, 2012 4:53 pm
Forum: Bare metal, Assembly language
Topic: Baking Pi and extending in C/C++
Replies: 22
Views: 3470

Re: Baking Pi and extending in C/C++

What configuration do you use?
Thanks for your time, I appreciate your help, I just don't want to have a long topic, so others can browse through it easily.
by edy_3dz
Thu Dec 27, 2012 4:39 pm
Forum: Bare metal, Assembly language
Topic: Baking Pi and extending in C/C++
Replies: 22
Views: 3470

Re: Baking Pi and extending in C/C++

Removed "C", external "C", the result is always the same: C:\Users\Edy\AppData\Local\Temp\ccmjQrVp.o: In function `myGetGpioAddress': test.c:(.text+0x0): undefined reference to `GetGpioAddress' Please try the suggestions you want to make before posting on the forum, my topic got flooded by assumptio...
by edy_3dz
Thu Dec 27, 2012 4:28 pm
Forum: Bare metal, Assembly language
Topic: Baking Pi and extending in C/C++
Replies: 22
Views: 3470

Re: Baking Pi and extending in C/C++

That was something that I have seen somewhere else for exporting a function. It seems that it's wrong, I removed it, but the error regarding extern "C" remains.
by edy_3dz
Thu Dec 27, 2012 3:35 pm
Forum: Bare metal, Assembly language
Topic: Baking Pi and extending in C/C++
Replies: 22
Views: 3470

Re: Baking Pi and extending in C/C++

Exactly the same error. Line 4 column 8 is right before "C", so it seems that it must be some incorrect syntax...
by edy_3dz
Thu Dec 27, 2012 3:16 pm
Forum: Bare metal, Assembly language
Topic: Baking Pi and extending in C/C++
Replies: 22
Views: 3470

Re: Baking Pi and extending in C/C++

arm-none-eabi-gcc source/test.c -o build/test.o
In file included from source/test.c:1:0:
source/test.h:4:8: error: expected identifier or '(' before string constant
by edy_3dz
Thu Dec 27, 2012 2:51 pm
Forum: Bare metal, Assembly language
Topic: Baking Pi and extending in C/C++
Replies: 22
Views: 3470

Re: Baking Pi and extending in C/C++

I didn't even dare to use myGetGpioAddress function in assembly, my current problem is the other way around, using the GetGpioAddress procedure from assembly in C :P
by edy_3dz
Thu Dec 27, 2012 11:29 am
Forum: Bare metal, Assembly language
Topic: Baking Pi and extending in C/C++
Replies: 22
Views: 3470

Baking Pi and extending in C/C++

Hello everyone and Happy Holidays! I am following Alex Chadwick's course from the University of Cambridge website. I'm only at lesson 5, but I want to extend functionality in C, and maybe in C++ in the future. My problem is that I didn't manage to mix C and assembly files. So, this is what I have do...
by edy_3dz
Sat Aug 11, 2012 12:54 pm
Forum: Other projects
Topic: How would I connect my old VGA monitor to the Raspberry Pi?
Replies: 10
Views: 25366

Re: How would I connect my old VGA monitor to the Raspberry

Just been looking on Amazon. This product for £14.97 http://www.amazon.co.uk/gp/product/B007SM7O2U/ref=olp_product_details?ie=UTF8&me=&seller=&gclid=CJ_cvfX217ECFcVkfAod-38A1Q has got reviews that say it worked with a Pi & Raspbian I'm using a similar product bought from ebay.com with $15, and work...
by edy_3dz
Mon Jul 30, 2012 11:35 am
Forum: Android
Topic: Gingerbread Image
Replies: 24
Views: 34074

Re: Gingerbread Image

After booting up (and showing the terminal), a blank black screen appears. There is no GUI?
I'm using the RCA Video output.

Go to advanced search