How do you read digital inputs from microswitch, jumpers, dip-switches...?

Started by pozz in comp.arch.embedded2 hours ago 1 reply

Often I have digital inputs connected to switches managed by the user. For example: microswitches, tactile switches, push-buttons,...

Often I have digital inputs connected to switches managed by the user. For example: microswitches, tactile switches, push-buttons, dip-switches, simple jumpers and so on. What is your preferred method to read the status of this inputs? I usually arrange a debounce method for reading push-buttons and similars (tactile switches, micro-switches...) and I know there are many (many many) ...


clock synchronization over IP

Started by Anonymous in comp.arch.embedded22 hours ago 12 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


arm-gcc: pointer to constant string

Started by pozz in comp.arch.embedded2 days ago 37 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.embedded5 days ago 4 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


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

Started by Anonymous in comp.arch.embedded5 days 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.embedded1 week 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.embedded1 week 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.embedded4 weeks 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.embedded1 month 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


"Boost context" for task switching on embedded Linux on ARM

Started by Anonymous in comp.arch.embedded1 month ago 20 replies

Following on from my recent question about PThreads I have a new question about...

Following on from my recent question about PThreads I have a new question about Boost:context https://www.boost.org/doc/libs/1_67_0/libs/context/doc/html/index.html We have some legacy code(Motorola 68000 C) that we want to use that has cooperative task switching. We want to run it all as a single thread and keep its co-operative organization within that thread. Is "Boost context" a


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