omap

Kernel oops Oops: 80000005 on arm embedded system

拟墨画扇 提交于 2019-12-23 21:11:41
问题 Please help me to solve this Oops. I use a 1 milli sec high resolution timer and installing it as a seperate module with "insmod". This fires every 1 ms and i have to do some task with this timer interrupt. There are other processes which does image transfer and i see ethernet driver interrupt appearing to send the image. This enet interrupt is having some high priority and looks like it is delaying the 1 ms timer interrupt above, but i am not sure. I see the below Oops after running test for

Slow replot of a Qwt graph in embedded linux

陌路散爱 提交于 2019-12-13 05:24:00
问题 I'm facing some problems while developing an Qt-based embedded solution for Linux. Basically my application plots a QwtPlot graph with up to 8 QwtPlotCurves attached to it. A QwtPlot::replot() is called each 1 second. Data arrives from a socket connection connected to another .c app in the same system. Hardware is a Texas' OMAP. The problem is that depending on the configuration, the replot becomes very, very slow. To be more specific, if I put 4 curves to be shown, no delay is perceived, but

divide by zero exception in ARM OMAP3515 processor

不想你离开。 提交于 2019-12-12 22:00:26
问题 I am using OMAP3515 processor (Generic CortexA8 Device) for my project, I was working on exception handling but this processor dos not generate any exception when any divide by zero instruction is given , it simply goes not next instruction. I want to know whether any configuration available to generate divide by zero exception. 回答1: Cortex A8 does not support divide-by-zero for integer operations. Other than normal interrupts and debug exceptions, the only fault exceptions supported are data

Hello world, bare metal Beagleboard

笑着哭i 提交于 2019-12-04 11:21:16
问题 I'm trying to get a 'hello world' type program running on my Beagleboard-xm rev. C, by calling a C puts function from assembly. So far I've been using this as a reference: http://wiki.osdev.org/ARM_Beagleboard Here's what I have so far, but there's no output. hello.c volatile unsigned int * const UART3DR = (unsigned int *)0x49020000; void puts(const char *s) { while(*s != '\0') { *UART3DR = (unsigned int)(*s); s++; } } void hello() { puts("Hello, Beagleboard!\n"); } boot.asm .global start

Aligned and unaligned memory accesses?

送分小仙女□ 提交于 2019-11-30 06:31:23
问题 What is the difference between aligned and unaligned memory access? I work on an TMS320C64x DSP, and I want to use the intrinsic functions (C functions for assembly instructions) and it has ushort & _amem2(void *ptr); ushort & _mem2(void *ptr); where _amem2 does an aligned access of 2 bytes and _mem2 does unaligned access. When should I use which? 回答1: An aligned memory access means that the pointer (as an integer) is a multiple of a type-specific value called the alignment. The alignment is