Using C preproc to uniquely identify structure members

Started by John Speth in comp.arch.embedded4 hours ago 5 replies

I could use some advice for a problem that I've had on my mind for years. I'm looking for a black box function that will examine a memory...

I could use some advice for a problem that I've had on my mind for years. I'm looking for a black box function that will examine a memory block of a known structure and output a list of IDs that point to any members that have changed. I have a strong feeling that this problem has been solved by many people before me but I've never seen any solution. I'm looking for an elegant solution th...


Task, process, thread, etc.

Started by Don Y in comp.arch.embedded6 days ago 23 replies

I've been refactoring some of my RTOS documentation. Comments from the reviewers suggest there's still some confusion as to terms (despite the...

I've been refactoring some of my RTOS documentation. Comments from the reviewers suggest there's still some confusion as to terms (despite the fact that I explicitly define them! : < ) All seem to understand the notion of a "thread". And, to a lesser extent, an "application" (this one's a bit harder as there's often no clear-cut distinctions; do you tie it to a "pre-packaged set of algo


Multi-master RS485

Started by pozz in comp.arch.embedded2 weeks ago 30 replies

Are there any *real* implementation of multi-master half-duplex RS485 bus? I often use half-duplex RS485 and I always use a master-slave...

Are there any *real* implementation of multi-master half-duplex RS485 bus? I often use half-duplex RS485 and I always use a master-slave polling protocol. This choice dramatically reduce the complexity of the system and it works well with a limited number of nodes. When the nodes are 10 or 20 and they usually send only a few bytes in a minuted, the polling scheme is inefficient. The bu...


Linux embedded and direction control of RS485 transceiver

Started by pozz in comp.arch.embedded2 weeks ago 18 replies

I have an half-duplex RS485 bus with 10-20 different nodes. Some of them are 8-bit MCU based, one of them could be Linux embedded. It's...

I have an half-duplex RS485 bus with 10-20 different nodes. Some of them are 8-bit MCU based, one of them could be Linux embedded. It's half-duplex, so it's important for the transmitter node to disable the driver as soon as the last transmitted bit is shifted out. Many small low-cost MCU has interrupt on transmission complete, so the delay of disabling the driver is usually on the ord...


Seeking Avocet/Huntsville Micro HMI-200 materials

Started by msg in comp.arch.embedded3 weeks ago 15 replies

Greetings: Found at a local dump: Huntsville Micro HMI-200-8096 -- Intel 8096 ICE with DIP pod and probes, no software or...

Greetings: Found at a local dump: Huntsville Micro HMI-200-8096 -- Intel 8096 ICE with DIP pod and probes, no software or documentation. Avocet's website is devoid of operating documentation and ftp.hmi.com/ftp.avocet.com now rejects anonymous logins. Any old books, pdfs, old DOS/Win16 Sourcegate s/w, etc. would help a lot! Thanks, Michael msg _at_ cybertheque _dot_ org


Obsolete 8051 Dev Gear

Started by Chris in comp.arch.embedded3 weeks ago

I have some 8051 ICE equipment back from my initial employment in the 80s Nohau Emul51 Hardware (2 x Full length ISA cards, pod with some...

I have some 8051 ICE equipment back from my initial employment in the 80s Nohau Emul51 Hardware (2 x Full length ISA cards, pod with some adapters eg DIP40, PLCC44 etc) and software (on floppies, MSDOS-based). Is it of interest to anyone or send it to landfill? -- Cheers Chris.


Addressing on I2C

Started by ZOT in comp.arch.embedded3 weeks ago 4 replies

Are they some 'reserved' 'well known' addresses on i2c? -- Les politiciens sont imprévoyants, les électeurs sans mémoire.

Are they some 'reserved' 'well known' addresses on i2c? -- Les politiciens sont imprévoyants, les électeurs sans mémoire.


Static allocation and data hiding

Started by pozz in comp.arch.embedded1 month ago 2 replies

It's a common problem in embedded projects. You want to hide private data of modules, but you don't want to use dynamic memory allocation. In...

It's a common problem in embedded projects. You want to hide private data of modules, but you don't want to use dynamic memory allocation. In the .h file you write the typedef only and in .c file you write the full definition of the struct. In this way you can't statically allocate the struct, because the compiler doesn't know the inner definition. If you want to use static allocation,...


Is there such thing as a 4 bit CRC ?

Started by boB in comp.arch.embedded1 month ago 35 replies

If I create a 1 byte command that only uses 4 bits for 16 different functions, and there were NO following bytes (there might be...

If I create a 1 byte command that only uses 4 bits for 16 different functions, and there were NO following bytes (there might be folling bytes for some CMDs), I was thinking that the lower 4 bits could be used for error detection. Could of course just truncate an 8 bit CRC I suppose and place it there. Just thought I would ask. Never thought of only 4 bits before but sometimes a ...


Looking for uC/OS-II companion CD

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

Hi, I have the "MicroC/OS-II The Real Time Kernel" book (2nd ed), but since I bought it used, it came without the companion CD. Does...

Hi, I have the "MicroC/OS-II The Real Time Kernel" book (2nd ed), but since I bought it used, it came without the companion CD. Does anyone have the companion CD, or know where to get it? I looked on Micrium's website, and while they have many downloadable files, this one is not one of them. TIA My con-ned email address can be corrected by removing - and changing one other cha...


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