arm-gcc: pointer to constant string

Started by pozz in comp.arch.embedded2 months ago 60 replies

--- 1.c --- void foo(void) { dummy("hello"); } --- 2.c --- static const char *s; void dummy(const char *ss) { s =...

--- 1.c --- void foo(void) { dummy("hello"); } --- 2.c --- static const char *s; void dummy(const char *ss) { s = ss; } "hello" is a constant string declared inside function foo(). Is there a guarantee that his pointer (passed to dummy()) is valid after exiting foo()? In other words, is the string on the stack (in this case it will not be valid after foo()) or in F...


chip that can do audio over IP

Started by Anonymous in comp.arch.embedded2 months ago 8 replies

Hi I'm a software engineer wondering about a hardware solution. We currently have a product that uses an ATA to convert audio to IP to send to a...

Hi I'm a software engineer wondering about a hardware solution. We currently have a product that uses an ATA to convert audio to IP to send to a remote device where an ATA converts digital back to audio. We dial the ATA to tell it where we want the audio to go. We need to allow up to 63 remote devices to simultaneously receive one-way outgoing audio (speech and maybe background


clock synchronization over IP

Started by Anonymous in comp.arch.embedded2 months ago 36 replies

We need to synchronize clocks (so we can synchronize audio) on physically separated controllers that are connected via ethernet that may or may...

We need to synchronize clocks (so we can synchronize audio) on physically separated controllers that are connected via ethernet that may or may not be connected to the internet. The controllers have ARM9 LPC3250 SOM and embedded Linux. We need to synch with no more than 50 ms difference but preferably less. Synchronization needs to continue working between any two controllers reg


Speth email change

Started by John Speth in comp.arch.embedded2 months ago 5 replies

Lance and ROI- Nancy and I are changing our primary email address. Our new primary email will be "johnspeth@yahoo.com". We'll keep the...

Lance and ROI- Nancy and I are changing our primary email address. Our new primary email will be "johnspeth@yahoo.com". We'll keep the present Frontier email address for overlap for a month or two then our Frontier email address will no longer work. I've already changed it for TDA. I tried to change it for Morningstar and it wouldn't allow me because it said "johnspeth@yahoo.com...


Conference call over VOIP

Started by gp.k...@gmail.com in comp.arch.embedded2 months ago 3 replies

I asked a related question repeatedly but I have a slightly simpler question. We have a bunch of controllers running embedded Linux and...

I asked a related question repeatedly but I have a slightly simpler question. We have a bunch of controllers running embedded Linux and connected via ethernet. We need to provide conference call audio between up to six parties where all callers can hear each other. We need a solution that doesn't depend on a niche product that might not be around for long. Are there any sugges


Buildroot configuration for Sinovoip Banana Pi M3 - all 8 cores enabled

Started by Anonymous in comp.arch.embedded2 months ago

Hi, For a few years I couldn't use my Banana Pi M3 for any serious work, because I couldn't compile the optimized Linux image for...

Hi, For a few years I couldn't use my Banana Pi M3 for any serious work, because I couldn't compile the optimized Linux image for it. Yesterday I've managed to create a Buildroot configuration that allows building of BR image for it. Thanks to use of 4.18.6 kernel the SMP is supported and all 8 cores are working. The sources are available on alt.sources: https://groups.google.com/for


OpenSTM32 (Eclipse) debugger trying to write RAM section

Started by John Speth in comp.arch.embedded2 months ago

Hi Folks- I'm having a problem in which the OpenSTM32 System Workbench debugger reports ?Warn : no flash bank found for address 20000000?...

Hi Folks- I'm having a problem in which the OpenSTM32 System Workbench debugger reports ?Warn : no flash bank found for address 20000000? when I flash my STM32 target using System Workbench. The debugger then fails the binary compare process and prevents me from debugging. My linker script defines a memory region called DTCM which is mapped to RAM starting at 0x20000000 for 64K b


Out of Root Code Space

Started by KlinsmannMCW in comp.arch.embedded2 months ago 1 reply

I have a large design that is based on Rabbit 6700 board and using Dynamic C 10.72A version. The main source code has about 600 lines, many of...

I have a large design that is based on Rabbit 6700 board and using Dynamic C 10.72A version. The main source code has about 600 lines, many of which, there are many self created library used. The error I am constantly having the problem is "ERROR STRING.C : Out of root code space." Does anyone know what have I possibly went wrong or what should I do in order to solve this error? Thanks,...


Gerbv

Started by Anonymous in comp.arch.embedded3 months ago 20 replies

Anyone using Gerbv as a Gerber viewer? I'm having a problem where a few drill locations in a drill file look out of location. I seem to have...

Anyone using Gerbv as a Gerber viewer? I'm having a problem where a few drill locations in a drill file look out of location. I seem to have narrowed the problem to the use of trailing zero suppression. I can verify the drill file (which contains only line feeds it appears, so not so easy to view) has a few entries with the trailing zero suppressed. In Gerbv these are all being


DDCMP and 68302

Started by Anonymous in comp.arch.embedded3 months ago 3 replies

Does anyone know anything about DDCMP and the 68302 chip. We have some software that uses it in asynchronous mode over RS485 and we want to see...

Does anyone know anything about DDCMP and the 68302 chip. We have some software that uses it in asynchronous mode over RS485 and we want to see if we can emulate the DDCMP behaviour on another product without the 68302 micro so that we can communicate with the existing product but from a new device with a different microprocessor. The 68302 manual says that in asynch mode when i


Ask a Question to the EmbeddedRelated community

To significantly increase your chances of receiving answers, please make sure to:

  1. Use a meaningful title
  2. Express your question clearly and well
  3. Do not use this forum to promote your product, service or business
  4. Write in clear, grammatical, correctly-spelled language
  5. Do not post content that violates a copyright