Sunday, 27 June 2021

An Ultimate guide for embedded/firmware engineer interview preparation

 


Field of embedded engineering is quite challenging and demanding. You need to be master of both the worlds software and hardware.

Here I have tried to compile entire list of my blogposts which can help you in preparation of embedded/firmware interview.

Note that most of the questions were asked in a real interview to me or some of my friends. So, you might have skipped lot of things in your life but don't skip here.


1) Prepare your self for C language questions :

Pro tip : Out of all interviews I have seen there are some generic questions asked on repetitively , like volatile , extern , static , or basic compilation flow etc , so prepare well for this basic questions.

pandya electronics: C interview questions - Part 1

pandya electronics: C interview questions - Part 2

pandya electronics: C interview questions - Part 3

pandya electronics: C interview questions - part 4


2) Understand basics of compilers and cross compilers :

Well you need to have knowledge about your favorite IDE like keil , IAR , eclipse etc. But you should also have very good understanding of how compiler works , how code optimization works , what is linker , preprocessor etc.

pandya electronics: Compiler and optimization related questions - part 1


3) Real time operating systems :

Accept it or not RTOS is integral part of embedded system and is a must have skill in your resume. I recommend no mater what prepare RTOS questions in your interview.

pandya electronics: Real time OS and Computer architecture questions - part 1


4) Prepare Hardware related stuff :

Well embedded engineering is half without hardware , and hardware knowledge is must for any engineer.

pandya electronics: Electronics/Embedded/Electrical questions - part 1


5) C++ and STL :

Now days there is lot of embedded development happening in C++ as well.

pandya electronics: C++ STL and data structures - part 1


6) if you are preparing for energy meter company like landis and gyr , or secure meters :

pandya electronics: Power and energy measurement basic theory and key points


Soon , I will try to add posts for niche domain like Memory domain, Bluetooth, wi-fi , audio , video , USB, testing , devops etc. Let me know if you have suggestions. 

Monday, 14 June 2021

How to use multiple python versions on same machine with virtulenv , for windows.

 

In this blog post we will see how to use different python versions on same machine using virtualenv. In this example we will use python 3.8.

virtualenv for python is like sandbox which completely isolates your development environment. so that you can maintain different python versions for your different projects.



1) install python 3 from here : https://www.python.org/downloads/

note: do not add this to path variable , it can create issue at later stages. Also keep note of installation path for current python installation , we would need this while creating virtulenv. 

  

2) open cmd and install virtualenv : pip install virtualenv

 

3) create a folder where you want to create your virtual env.

 

4) create a virtual env named "venv" with python3 : virtualenv venv -p C:\Python3\python.exe

 

5) start virtual env : .\venv\Scripts\activate.bat

 

6) if you have  "requirements.txt" then install your python modules from "requirements.txt" : pip install -r requirements.txt

 

7) if you wish to create "requirements.txt" : pip freeze > requirements.txt

 

8) stop current virtual env : .\venv\Scripts\deactivate.bat


Ref : https://www.c-sharpcorner.com/article/steps-to-set-up-a-virtual-environment-for-python-development/

Let me know what topics you would like to read.