Hi Rahul, this is a q&a site where we resolve questions related to software testing. I see that your question is about firmware development, that can not be answered in a single thread.
We suggest you try developing a firmware, if you face any issue, you can write back with what you tried, what you expected and what is actual. And, error logs.
With all these information in place, we can resolve your query quick.