Content originally posted in LPCWare by MarcVonWindscooting on Sat Nov 02 14:39:01 MST 2013
Quote: pcalton
We have lost over a week of development time on this issue, eventually writing our own SPIFI driver with no working example (that show how the peripheral itself is manipulated to meet the requirements of a given SPIFI chip) to use as a guide.
No, you have not lost a week. You've won the understanding, that you cannot have the NXP support team provide you with the pre-build libraries for your commercial project on your favourite platform / IDE (acronym for "I don't edit"). Example code is not production code - at least to my understanding. Why at all not have the LPCXpresso team have provide support for your final product?? You use their chips, isn't that enough of honour? :bigsmile:
I once used 'foreign' code (uIP) in one of our company's project. The final product turned out to be not stable, when running for months. Who is to blame? The author of uIP? Really?
I never did such again. uIP is open source. I don't understand it. The intersection of my coding style and uIP's coding style is plain empty besides uIP beeing plain illegal code for a modern C-compiler (restrict, type casts,...). But that's irrelevant. My project, my responsibility, my fault :exmark: No one else is to blame for 'lost time' or 'delays' or 'malfunction' except me, myself and I.
You should be proud of having built your own SPIFI driver and if you want to contribute to a community, you should share your code. Because that solved your problem, right? ;-)