Go to advanced search

by SKyd3R
Wed May 21, 2014 2:49 pm
Forum: Bare metal, Assembly language
Topic: Raspi Interrupts using C
Replies: 3
Views: 1711

Re: Raspi Interrupts using C

That's a very generic question.

Maybe looking at other post about the same questions will help you or try to be more specific.
by SKyd3R
Wed May 07, 2014 7:50 am
Forum: Bare metal, Assembly language
Topic: __eabi div operations
Replies: 16
Views: 15021

Re: __eabi div operations

Thanks for all your help. I think I managed to make the functions I need :)

If anyone need it I could upload them.
by SKyd3R
Mon Apr 28, 2014 9:31 am
Forum: Bare metal, Assembly language
Topic: __eabi div operations
Replies: 16
Views: 15021

__eabi div operations

Hello, I'm trying to create a bare metal system but I have the following undefined references: undefined reference to `__aeabi_idiv' undefined reference to `__aeabi_idivmod' undefined reference to `__aeabi_uidivmod' undefined reference to `__aeabi_uldivmod' undefined reference to `__aeabi_ldivmod' I...
by SKyd3R
Mon Apr 21, 2014 3:31 pm
Forum: Bare metal, Assembly language
Topic: Getting interrupts from GPIO (in assembler)
Replies: 9
Views: 6819

Re: Getting interrupts from GPIO (in assembler)

Can you know what interrupt does the handler call without checking the pending vectors?

Looking at the pending vectors you can get the pending interrupts but no the one that makes the handler call in order to attend only that interrupt.
by SKyd3R
Wed Mar 12, 2014 12:15 pm
Forum: Bare metal, Assembly language
Topic: System Timer Interrupts? (Or using interrupts at all)
Replies: 12
Views: 16674

Re: System Timer Interrupts? (Or using interrupts at all)

That post was really useful colinh, thanks a lot. But since I read dwelch67's post I wonder how I could know what interrupt is the handler running for. I mean, there are lots of interrupts that could trigger the irq handler, and I can find out the pending interrupts but I don't know how to check wha...
by SKyd3R
Mon Mar 10, 2014 9:59 am
Forum: Bare metal, Assembly language
Topic: System Timer Interrupts? (Or using interrupts at all)
Replies: 12
Views: 16674

Re: System Timer Interrupts? (Or using interrupts at all)

I end up with some modifications and didn't work. The only think I need is to program the timer in order to show a message. I hope with this code will be enough to find out why the "irq_interrupt" message won't stop appearing. .section .init .globl _start _start: ldr pc,reset_handler ldr pc,undefine...
by SKyd3R
Fri Mar 07, 2014 12:19 pm
Forum: Bare metal, Assembly language
Topic: System Timer Interrupts? (Or using interrupts at all)
Replies: 12
Views: 16674

Re: System Timer Interrupts? (Or using interrupts at all)

If I use bts' code with this handler (and the function putString implemented to print any String with determined length):

Code: Select all

void kIrqHandler(){
	putString("irq_interrupt",13);
	irqDisable();
}
It never stops to show "irq_interrupt" on the screen. Any suggestion?
by SKyd3R
Thu Dec 19, 2013 6:03 pm
Forum: Bare metal, Assembly language
Topic: Port xv6 to Raspberry Pi: status update
Replies: 9
Views: 4907

Re: Port xv6 to Raspberry Pi: status update

I can't compile it, I download this gcc-arm-none-eabi version: https://launchpad.net/gcc-arm-embedded I got the following error while trying to make xv6-rpi: arm-none-eabi-objdump -S build/initcode.o > initcode.asm make -C tools make[1]: Entering directory `/home/dave/xv6-rpi/src/tools' gcc -Werror ...
by SKyd3R
Mon Nov 25, 2013 4:28 pm
Forum: Other programming languages
Topic: Compiling Ada for ARM
Replies: 67
Views: 21124

Re: Compiling Ada for ARM

Wow, what a debate we have here, I will post the solution I found in case someone else is looking for it. I found an arm-eabi compiler that seems to work. It's supposed to be used for the LEGO Mindstorm, but will do the job. Here it is the link: http://www.dit.upm.es/~str/proyectos/mindstorms/2012/i...
by SKyd3R
Mon Nov 18, 2013 4:46 pm
Forum: Other programming languages
Topic: Compiling Ada for ARM
Replies: 67
Views: 21124

Re: Compiling ADA for ARM

Sorry Heater, but I can't use the RPi for compiling the code because I want to make an ADA based OS, so no working OS will be running on the RPi during the coding.

crosstool-hg (http://crosstool-ng.org/) didn't work for me. Any other idea?

Thank you :)
by SKyd3R
Thu Nov 14, 2013 10:21 am
Forum: Other programming languages
Topic: Compiling Ada for ARM
Replies: 67
Views: 21124

Compiling Ada for ARM

Hi there,

All I want to do is compiling in my laptop some Ada code so I can use it on the RPi (or even make a simulation).
I've got gnat, but I can't find any flag for gnatmake to select the arch as ARM.

Thank you.

Go to advanced search