EmbeddedRelated.com

Solder Dot (@Solderdot)


I guess, you are right when it comes to calculating the CRC anew - this will be different. However, this is about checking the CRC, and this can be done in two ways: 1)...
Hi Vincent,please have a look into the Wikipedia (https://de.wikipedia.org/wiki/Zyklische_Redundanzp...) - in the German page there is a nice example how it works.In...

Re: NAND Flash Memory layout

Reply posted 5 years ago (08/23/2019)
Not having dug into that specific datasheet the following may still be true.The internal architecture of the chip is such that when reading always a whole page is...

Re: Embedded Systems Engineer Interview Questions

Reply posted 5 years ago (06/07/2019)
I was involved few times in the interviews of students applying for an internship. In my department we're doing only embedded software/firmware, not hardware, however...
I guess, there is no need to re-invent the wheel. Use a journaling file system instead of FAT. This will do the trick.
You could set-up a timer to periodically look into the variable and check for changes inside the timer ISR. But this should be done only to narrow down when, where...

Re: Circular buffers

Reply posted 6 years ago (02/05/2019)
So you are using a kind of message protocol, each message consisting of up to 48 bytes.Surely, inside that message there is some length information. So you can consider...

Re: LCD in a complex system with little memory

Reply posted 6 years ago (02/01/2019)
In that case you need to go for a fixed timing approach as proposed by BVRamesh.

Re: LCD in a complex system with little memory

Reply posted 6 years ago (01/31/2019)
Hi,Proposal: Setup a periodic timer with about 10ms duration. Inside the ISR check the busy flag. If not busy write the character. If busy terminate the ISR. Once...
Please note that my code snippet is correct for standarc-C libraries. Maybe your 3rd party lib works differently. However, search your lib for services allowing...
If I get it right you wont to write the data binary, not human readable ASCII text. You can do that this way:FILE *write_ptr;write_ptr = fopen("test.bin","wb"); ...
Are you using a serial port for writing the 32 bits into the shift register(s) or do you directly program a discrete I/O pin for that task?In general it is not...

Re: Low level programming

Reply posted 6 years ago (12/04/2018)
You want to write every piece of code for a given hardware. I assume, most of the code will be C and C++, doing everything in Assembly language is... possibly but...

Re: ARM7TDMI - Nov 2018 - Need supported OS.

Reply posted 6 years ago (11/07/2018)
Depending on what functionality the RTOS requires to do ThreadX may be a good alternative to Nucleus - it's basically a downstripped version of NucleusPlus, done...

Re: ARM7TDMI - Nov 2018 - Need supported OS.

Reply posted 6 years ago (11/07/2018)
Try ThreadX. Works well on ARM7 TDMI. Quite some time on the market and quite mature.

Re: Learning FPGA

Reply posted 6 years ago (09/13/2018)
As always: Before starting hands-on work it's always good to do a requirements analysis. Fingure out what needs to be done and then select the tools. FPGAs are just...

Re: Timer Implementation MSP430F5529LP

Reply posted 6 years ago (09/05/2018)
Besides the timer there is some flaw in your application. You check the status of the variables SEAT and BELT in your while(1) loop, however those are updated exactly...

Re: Event Driven Protocols for RS-485

Reply posted 6 years ago (07/20/2018)
In general you can (ab)use a normal RS485 transceiver as CAN transceiver, however this may be considered as a hack. Since CAN does not specify the actual physical...

Re: Event Driven Protocols for RS-485

Reply posted 6 years ago (07/17/2018)
You may use the CAN bus protocol. It's rather complex but designed for supporting event-driven applications. The physical layer of CAN is open - so you could use...
Many answers have been posted so far. I guess the summarized answer to your question is: Yes, you can do that, and it is safe if you do it the correct way.I agree...
You can go for FileX and LevelX. FileX will provide a FAT compatible file system (supporting anything from FAT12 to EXFAT) and LevelX will provide the wear leveling...

Re: Cooperative scheduling

Reply posted 6 years ago (06/04/2018)
If you're using an RTOS with "real" threads (not just state machines as described earlier) you can go for a kind of mixed approach. Threads will cooperatively suspend...

Re: RTOS Debugging - Tips, Tricks and Tools

Reply posted 6 years ago (05/30/2018)
Monitoring stack usage via magic words was already mentioned. Instead of checking for overflows on the lowest prio thread this should be done on the thread with...

Re: Sensors & Embedded Systems - The Basics

Reply posted 6 years ago (05/30/2018)
The most important thing with sensors is: Know your application.You can spend zillions of dollars for the most sophisticated and fanciest sensors out there but it...

Re: RTOS vs Bare-Metal

Reply posted 6 years ago (05/02/2018)
In the past 15 years I worked in telecom industry, doing firmware for modem chips (yes, the other end of the AT command). Those projects are surprisingly large -...
Talking about caches it should not be forgotten that those memories are fast not only because they are operated at the tremendously high core frequency but also...
Hi, Some comments on CustomSarge's post. When doing your custom die ROM has a big size advantage over RAM. Less area consumed for the same memory size means less...

Re: Compilers for Embedded Systems

Reply posted 7 years ago (03/22/2018)
So what features are there to distinguish compilers? You can check for optimization capabilities: Speed or space. But is this really required? Most microcontrollers...

Re: New Topics - Inspiration Needed!

Reply posted 7 years ago (02/02/2018)
With complexity of projects and the number of developers being involved the need to use a configuration management system becomes more and more apparent. I'd like...
Hardware is the physical device or Gadget, which may be operated by a processor or Controller.Firmware is the software that is running embedded in such a device...

Use this form to contact Solderdot

Before you can contact a member of the *Related Sites:

  • You must be logged in (register here)
  • You must confirm you email address