EmbeddedRelated.com
The 2024 Embedded Online Conference

Floating point vs fixed arithmetics (signed 64-bit)

Started by kishor in comp.arch.embedded12 years ago 54 replies

Hi friends, I am working on stellaris LM3s6965 (cortex-m3) & Keil 4.20 for data acquisition. ADC is signed 24-bit. To perform software...

Hi friends, I am working on stellaris LM3s6965 (cortex-m3) & Keil 4.20 for data acquisition. ADC is signed 24-bit. To perform software Gain calibration I have two options, 1. 64-bit fixed width arithmetic uint16_t Gain; // 0x8000 means gain is 1 int32_t ADC_Reading; // It contains 24-bit signed integer ADC reading ADC_Reading = ((int64_t)ADC_Reading * Gain) / 0x8000; ...


Remapping to Processor code region Vs Without remapping

Started by mohsenzandie in comp.arch.embedded6 years ago 6 replies

What is the differences between: 1.Remapping memories to processor code region and 2.Executing the program code built with absolute addresses...

What is the differences between: 1.Remapping memories to processor code region and 2.Executing the program code built with absolute addresses without remapping I read something about executing multiple image in a microprocessor (ARM Cortex-M3) and i'm ambiguous about differences between executing with remapping image to "code space" and without remapping? I would be grateful if you help me ...


Position independent code with fixed data and bss

Started by Christopher Collins in comp.arch.embedded6 years ago 20 replies

MCU: STM32F4 (ARM Cortex M4) Build environment: arm-none-eabi-gcc 4.8.4 20140725 My goal is to build an image that can be run from any...

MCU: STM32F4 (ARM Cortex M4) Build environment: arm-none-eabi-gcc 4.8.4 20140725 My goal is to build an image that can be run from any properly-aligned offset in internal flash (i.e., position-independent). I found the following set of gcc flags that achieves this goal: # Generate position independent code. -fPIC # Access bss via the GOT. -mno-pic-data-is-text-relati...


C++ hardware library for (small) 32-bit micro-controllers

Started by Wouter van Ooijen in comp.arch.embedded10 years ago 48 replies

(posted to comp.lang.c++, comp.arch.embedded, yahoo-groups/lpc2000) I am working on a portable C++ hardware library for real-time...

(posted to comp.lang.c++, comp.arch.embedded, yahoo-groups/lpc2000) I am working on a portable C++ hardware library for real-time applications on small (but still 32-bit) micro-controllers. My typical (and current only) target is the Cortex M0 LPC1114FN28 (4k RAM, 32K Flash) using GCC. Efficiency is very important, in run-time, RAM use, and ROM use. The typical restrictions for small mi...


ARM Cortex-M3 (Stellaris LM3S811) soft float problem (GCC/QEMU)

Started by frikkiethirion in comp.arch.embedded14 years ago 3 replies

Good day, I'm running GCC 4.4.2 (newlib 1.17) cross compiled for target: arm-none-eabi under Linux. I'm testing my small application under QEMU:...

Good day, I'm running GCC 4.4.2 (newlib 1.17) cross compiled for target: arm-none-eabi under Linux. I'm testing my small application under QEMU: qemu-system-arm -M lm3s811evb and use Eclipse/GDB to debug the application. I've run into a problem where floating point arithmetic causes the chip to crash. GCC was compiled with the "soft-float" option. My application is also compiled with the "so...


First Snapdragon Core Board ever

Started by Reese in comp.arch.embedded8 years ago 1 reply

G8916 Core Board First Snapdragon Core Board ever CPU:Qualcomm Snapdragon 410/Part Number MSM8916 Cortex-A53 Quad Core...

G8916 Core Board First Snapdragon Core Board ever CPU:Qualcomm Snapdragon 410/Part Number MSM8916 Cortex-A53 Quad Core 1.2GHz 40.5mm*56.5mm*2.8mm 4G TD-LTE FDD-LTE Cellular G8916 core board package and encapsulate the core function that communication equipment needed into one motherboard, integrated basic communication functions that CPU, memory, GPS devices required, though the pins and sup...


First Snapdragon Core Board ever

Started by Reese in comp.arch.embedded8 years ago

G8916 Core Board First Snapdragon Core Board ever CPU:Qualcomm Snapdragon 410/Part Number MSM8916 Cortex-A53 Quad Core...

G8916 Core Board First Snapdragon Core Board ever CPU:Qualcomm Snapdragon 410/Part Number MSM8916 Cortex-A53 Quad Core 1.2GHz 40.5mm*56.5mm*2.8mm 4G TD-LTE FDD-LTE Cellular G8916 core board package and encapsulate the core function that communication equipment needed into one motherboard, integrated basic communication functions that CPU, memory, GPS devices required, though the pins and sup...


External SPI Flash for storing data

Started by pozz in comp.arch.embedded5 years ago 15 replies

I have a board with Cortex-M3 NXP LPC1875 MCU with 512kB internal Flash, one 8MB external SDRAM and 2MB external SPI Flash. The external Flash...

I have a board with Cortex-M3 NXP LPC1875 MCU with 512kB internal Flash, one 8MB external SDRAM and 2MB external SPI Flash. The external Flash is connected to a normal SPI, not SPIFI (in other words, it isn't mapped to the internal address space). Insted the SDRAM is mapped to the internal address space, starting from address 0xA000 0000. The application will use a 480x272 RGB LCD conne...



The 2024 Embedded Online Conference