A place to get software for embedded components?

I am wondering if anyone knows of a place on the Internet that I can buy or download software modules written in C or C ++ for the interaction between microprocessors and other components such as DACs, ADCs or UARTs. Similar to git-hub for C firmware. Does this place exist?

+6
c embedded real-time
source share
7 answers

You might be looking for something called a “board support package” or BSP . For this operating system, it will have a collection of drivers / libraries that will help you exchange data with the hardware component.

To say that some standard hardware interfaces, for example, 16550 Uart, may have drivers that come with the OS.

+3
source share

You can also take a look at Jean Labrosse's Embedded Block Building Systems . It has some direct C libraries for working with UART, analog input / output, timers, etc.

Of course, you still need to connect them to the actual implementation of the hardware chip (as other answers indicated, you can usually get libs libraries to help with them from chip manufacturers), but they can be a convenient shell for allowing you to move the software more easily more high level from one device to another. There is no destructive material for the earth that would be especially difficult to make yourself, but it is there to be taken, so why not? Even if it’s not quite what you might need, it’s a leg.

+2
source share

Typically, the device manufacturer will provide you with libc, which you can use for all low-level material.

+1
source share

first decide which chip manufacturer to go to ... next, go to their official website or contact them, you will get libraries for supported IO and other means of communication.

0
source share

Alright, what about TI? BSP is what I know about, but they do not exist for software that exists below the O / S level.

2nd, let's say I wanted the software to make the TI MSP430 microcontroller talk with the DAC7565. I really can't find software that links the two in a reliable way.

I am talking about a complete software package, which is equivalent to a stone in Ruby, where I could call functions such as "OutputVoltage (unsigned int voltage, notinged int channel)" and not pay attention to the hardware implementation.

@nobugz Yes, I agree, but it is terribly holding back. C should look like Ruby, where you can focus only on what you want to do without spending time limiting yourself due to software availability ...

0
source share

@Shaihi

I'm not, I'm a software engineer with an engineering firm that sets up its own boards. I just can’t believe that all over the world and throughout the history of software development I am the first person who needs to interact with this microcontroller and this DAC. Therefore, it must exist somewhere. Maybe I can’t pick it up, but someone, somewhere, did it before.

I am a very young engineer, but it seems to me that there are hundreds or thousands of guys who write the same software over and over again. And on top of that, since there are many software engineers who are terribly good at abstraction and reuse, I bet that there are many engineers who end up repeating the same software again, because the software they the record is too closely related to this particular application.

Just like a gigantic waste of engineering hours.

0
source share

Have you checked the application notes on the A / D provider website? They very often have C code. The problem with the assembly language code is that there are so many different manufacturers of ADCs and microprocessors and so many different ways to connect the microcircuit that they cannot provide a general purpose library. In addition, the programmer may want to poll the final conversion flag or allow the chip to be interrupted when the conversion is completed. This is a very specific application. Your best hope is that the seller has an example code that will serve as a guide for using the chip. The good news is that the user guides for these peripherals are much better than 20 years ago.

In addition, the seller probably has application engineers to help you with the development.

0
source share

All Articles