ADC Buffer

Post your requests and ideas on the future development of mikroC PRO for PIC32.
Author
Message
LGR
Posts: 3204
Joined: 23 Sep 2004 20:07

Re: ADC Buffer

#16 Post by LGR » 17 Feb 2011 20:19

Since we're on the subject of reliability, two things:

1) Mikroelectronika specifically disclaims use of their software in developing life-critical applications. If, for example, a vehicle application caused large damages, in a court, this could be used as evidence that it's not for any kind of mission-critical application, whether it is life-critical or not. So it's probably a bad idea to use mikroC in anything that has serious damage potential.

2) If you are going to use one of the mE compilers, I would think that MikroPascal would be better at avoiding bad programming practices.

I don't see the niche for mE compilers in anything mission-critical, unless they want to specifically address these issues. I sure wouldn't want that kind of liability hanging over my head without a supplier who specifically claims that their product is suitable.
If you know what you're doing, you're not learning anything.

rmteo
Posts: 1330
Joined: 19 Oct 2006 17:46
Location: Colorado, USA

Re: ADC Buffer

#17 Post by rmteo » 17 Feb 2011 20:25

@Peter, @LGR,

Thank you for your reply. I notice the same issue with all of the MCHP products. Do you know of any third-party validation tools (not just MISRA-C, but more importantly like DO-187 Level A) for PIC32 and/or PIC24/dsPIC33?
Why pay for overpriced toys when you can have
professional grade tools for FREE!!! :D :D :D

p.erasmus
Posts: 3391
Joined: 05 Mar 2009 10:28

Re: ADC Buffer

#18 Post by p.erasmus » 17 Feb 2011 21:41

So it's probably a bad idea to use mikroC in anything that has serious damage potential.
I agree and therefore I specificaly mentioned that we use other devices with other Tools for such applications !
Using mikroC for an instrument panel has no danger besides that it can stop to diplay or similar using it in telephone
or airconditioning system has no potential danger and I also think using C does not teach you bad programming habits.


@rmteo
Nothing that I am aware off besides that there is companies which use the Microchip tools with the automotive RTOS and plug in
from Vector which then is Automotive approved and the tool gaurantee is provided by Vector
P.Erasmus
Saratov,Russia
--------------------------------------------------------------

rmteo
Posts: 1330
Joined: 19 Oct 2006 17:46
Location: Colorado, USA

Re: ADC Buffer

#19 Post by rmteo » 17 Feb 2011 21:58

@peter,

Thank you. VectorCast looks like a good solution.
Why pay for overpriced toys when you can have
professional grade tools for FREE!!! :D :D :D

bartt
Posts: 156
Joined: 20 Jul 2012 18:52
Location: Left coast

Re: ADC Buffer

#20 Post by bartt » 01 Jul 2013 22:09

This is an interesting tangential discussion.. I do agree that the current state of Me libraries renders them not Industrial Quality, as I have trapped them in infinite loops if noise is induced in the system. I found this to be the case in I2c and serial libraries, and posted to this effect some time ago. Hence the need to develop real libraries.

To revisit the original topic:
How about an interrupt driven ADC library? This would (once setup) deposit values into a set of variables on regular intervals in response to adc requests, and the resulting interrupts, upon completion.
If anyone is interested I'll post a first order approximation.
Bart

Post Reply

Return to “mikroC PRO for PIC32 Wish List”