Sign Up

Unlock the Gateway: Join the Embed Threads

Have an account? Sign In

Captcha Click on image to update the captcha.

Have an account? Sign In Now

Sign In

Unlock the Possibilities: Dive In with Login Access

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

Embed Threads

Embed Threads

Embed Threads Navigation

  • Blogs
  • Forum
  • About Us
  • Contact Us
  • Books
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Forum
  • Communities
  • Questions
    • New Questions
    • Must Read Questions
    • Trending Questions
    • Hot Questions
  • Polls
  • Groups
  • Add group
  • Badges
  • Users
  • Help
  • Blogs
  • Forum
  • About Us
  • Contact Us
  • Books

alokm014

Enlightened
Ask alokm014
940 Visits
6 Followers
20 Questions
  • About
  1. Asked: February 5, 2024In: Career and Professional Development

    How to switch from Non Tech to Embedded software development?

    Best Answer
    alokm014 Enlightened
    Added an answer on February 8, 2024 at 11:18 am

    It sounds like you're on a good path for transitioning into embedded software development! Here are some suggestions to continue and enhance your journey: 1. Continue Learning about Microcontrollers: Since you're already familiar with PIC 8-bit MCUs and are studying device driver development using 3Read more

    It sounds like you’re on a good path for transitioning into embedded software development! Here are some suggestions to continue and enhance your journey:

    1. Continue Learning about Microcontrollers: Since you’re already familiar with PIC 8-bit MCUs and are studying device driver development using 32-bit STM32 MCUs, continue exploring different microcontroller architectures and families. Each has its own features, peripherals, and development tools. Expanding your knowledge will make you versatile and better equipped to work with various embedded systems.

    2. Deepen Your Understanding of Embedded Systems Concepts: Ensure you have a strong grasp of embedded systems fundamentals, including real-time operating systems (RTOS), interrupt handling, memory management, and low-level hardware interactions. Understanding these concepts will be crucial for developing efficient and reliable embedded software.

    3. Learn About Communication Protocols: Embedded systems often communicate with other devices or systems using various protocols such as UART, SPI, I2C, CAN, Ethernet, Bluetooth, and Wi-Fi. Understanding how these protocols work and how to implement them in your embedded projects will be essential.

    4. Practice Embedded Software Development: Keep building projects and practicing your skills. Work on projects that involve integrating sensors, actuators, and communication modules with your microcontrollers. This practical experience will help solidify your understanding and improve your problem-solving skills.

    5. Stay Updated with Industry Trends and Technologies: Embedded systems are constantly evolving with new technologies and trends. Stay updated with industry news, attend workshops or webinars, and consider joining relevant online communities or forums to connect with other embedded developers and learn from their experiences.

    Overall, it seems like you’re heading in the right direction with your background and current studies. Keep exploring, learning, and building projects, and you’ll continue to grow as an embedded software developer. Good luck on your journey!

    See less
    • 0
    • Share
      Share
      • Share onFacebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  2. Asked: October 30, 2023In: Embedded Software Development

    SD card data logging

    alokm014 Enlightened
    Replied to answer on November 16, 2023 at 10:47 am

    share me the link of your code

    share me the link of your code

    See less
    • 1
    • Share
      Share
      • Share onFacebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  3. Asked: October 30, 2023In: Embedded Software Development

    SD card data logging

    alokm014 Enlightened
    Replied to answer on November 15, 2023 at 12:18 pm

    #include #include "fatfs.h" #include FATFS gSDFatFs; /// File system object for SD card logical drive FIL gMyFile; /// File object char aSDPath[4] = { 0 }; /// SD card logical drive path static uint8_t aExcelHeader[] = "Time, vCell1, vCell2, vCell3, vCell4, vCell5, vCell6, vCell7, vCell8, vCell9, vCRead more

    #include
    #include “fatfs.h”
    #include

    FATFS gSDFatFs; /// File system object for SD card logical drive
    FIL gMyFile; /// File object
    char aSDPath[4] = { 0 }; /// SD card logical drive path
    static uint8_t aExcelHeader[] = “Time, vCell1, vCell2, vCell3, vCell4, vCell5, vCell6, vCell7, vCell8, vCell9, vCell10, vCell11, vCell12, vCell13, vCell14, vCell15, vCell16, Stack Voltage, PACK Pin Voltage, LD Pin Voltage, CC2 Current, TS1, TS2, TS3, TS4”;

    /**
    * @brief Create Default Directories.
    * @param none
    * @retval FRESULT status
    * @warning This function takes 2 seconds to create directory
    */
    uint8_t SD_Init(void)
    {
    FRESULT ret; /* FatFs function common result code */

    ret = f_mount(&gSDFatFs, (TCHAR const*)aSDPath, 1);

    if(ret != FR_OK)
    {
    /* f_mount failed */
    return ret;
    }

    // Create New Folder
    ret = f_mkdir(“Logs”);
    if((ret != FR_EXIST) && (ret != FR_OK))
    {
    /* f_mount failed */
    return ret;
    }

    /* ToDo
    * create a file to log desynchronized data
    */
    ret = f_mount(NULL, (TCHAR const*)aSDPath, 1);

    return ret;
    }

    /**
    * @brief Append data into sd card and create file if not exist.
    * @param pDir file name
    * @param pData The buffer to write
    * @retval FRESULT status
    */
    uint8_t SD_File_Operations( uint8_t *pDir, uint8_t *pData)
    {
    FRESULT ret; /* FatFs function common result code */
    uint32_t byteswritten; /* File write/read counts */
    uint8_t aDirPath[20];

    sprintf((char*)aDirPath,”Logs/%s.csv\n”,pDir); /* File read buffer */

    ret = f_mount(&gSDFatFs, (TCHAR const*)aSDPath, 1);

    if(ret != FR_OK)
    {
    /* f_mount failed */
    return ret;
    }

    // Create New file
    switch (f_open(&gMyFile, (char*)aDirPath, FA_CREATE_NEW | FA_WRITE))
    {
    case FR_EXIST:

    f_open(&gMyFile, (char*)aDirPath, FA_OPEN_APPEND | FA_WRITE);

    ret = f_write(&gMyFile, pData, strlen((char *)pData), (void *)&byteswritten);
    if((byteswritten == 0) || (ret != FR_OK))
    {
    return ret;
    }
    f_close(&gMyFile);

    break;

    case FR_OK:

    ret = f_write(&gMyFile, aExcelHeader, strlen((char *)aExcelHeader), (void *)&byteswritten);
    if((byteswritten == 0) || (ret != FR_OK))
    {
    return ret;
    }
    f_close(&gMyFile);

    break;

    default:
    return ret;

    }

    ret = f_mount(NULL, (TCHAR const*)aSDPath, 1);

    return ret;
    }

    See less
    • 0
    • Share
      Share
      • Share onFacebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  4. Asked: October 30, 2023In: Embedded Software Development

    SD card data logging

    Best Answer
    alokm014 Enlightened
    Added an answer on October 31, 2023 at 5:42 am

    You can use a state machine, eliminating the need to mount and unmount the SD card every time. Ensure you implement proper error handling. This code is quite basic. If you encounter any issues after optimizing the code, we're here to help you address them.

    You can use a state machine, eliminating the need to mount and unmount the SD card every time. Ensure you implement proper error handling. This code is quite basic. If you encounter any issues after optimizing the code, we’re here to help you address them.

    See less
    • 0
    • Share
      Share
      • Share onFacebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  5. Asked: October 5, 2023

    STM32 board is not shown in Device Manager ( Not Detected by My PC)

    alokm014 Enlightened
    Added an answer on October 22, 2023 at 8:20 am

    It seems like you're experiencing connectivity issues with your STM32U5 series board (B-U585I-IOT02A Discovery kit). Here are some troubleshooting steps to resolve the problem: 1) Check for Driver Installation: Ensure that the necessary USB drivers for your STM32 board are installed on your PC. YouRead more

    It seems like you’re experiencing connectivity issues with your STM32U5 series board (B-U585I-IOT02A Discovery kit). Here are some troubleshooting steps to resolve the problem:

    1) Check for Driver Installation: Ensure that the necessary USB drivers for your STM32 board are installed on your PC. You can usually find these drivers on the official STMicroelectronics website. Download and install the appropriate drivers if they are missing.

    2) USB Cable: Even if you’ve tried different cables, ensure you are using a high-quality USB cable that supports data transfer, not just charging.

    3) Power Source: Double-check the power source for your STM32 board. Make sure the jumper settings for power (5V UCPD and 5V_USB_STLK) are correct.

    4) Reset the Board: Try a hard reset of the board. Disconnect it from the PC, press and hold the RST and USER buttons, then reconnect it while holding these buttons. This should force it into DFU mode.

    5) Device Manager: Open Device Manager and check for any disabled or hidden devices. Sometimes, the board might appear but with a yellow warning sign. If so, right-click and enable it.

    6) ST-Link Drivers: Make sure that you have the ST-Link drivers installed if your board uses them for debugging.

    7) STMCube Programmer: Ensure you are using the latest version of the STMCube Programmer. It’s possible that the software might not recognize older versions of the board.

    8) Firmware and IDE Compatibility: Verify that the firmware on your board is compatible with the version of STMCube IDE you are using. It’s essential that they are in sync.

    9) Try Another PC: If possible, test your board on a different PC to eliminate the possibility of issues with your current computer’s USB ports.

    See less
    • 0
    • Share
      Share
      • Share onFacebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  6. Asked: August 14, 2023In: Embedded Software Development

    Why is the "ADDR flag" cleared without reading the SR2

    Best Answer
    alokm014 Enlightened
    Replied to answer on August 14, 2023 at 7:17 pm

    Configure an interrupt to trigger when the "ADDR" flag is set. This way, when the address is matched during the address phase, an interrupt will be generated, allowing you to handle the address match in the interrupt service routine (ISR). This approach can provide you with more control over the addRead more

    Configure an interrupt to trigger when the “ADDR” flag is set. This way, when the address is matched during the address phase, an interrupt will be generated, allowing you to handle the address match in the interrupt service routine (ISR). This approach can provide you with more control over the address-matching process.

    See less
    • 1
    • Share
      Share
      • Share onFacebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  7. Asked: August 14, 2023In: Embedded Software Development

    Why is the "ADDR flag" cleared without reading the SR2

    alokm014 Enlightened
    Added an answer on August 14, 2023 at 9:37 am

    The reason for this automatic clearing of the ADDR flag without explicitly reading SR2 could be attributed to the nature of the I2C protocol and its hardware implementation. When the I2C peripheral detects that the slave address matches and the ADDR flag is set, it knows that the address phase has bRead more

    The reason for this automatic clearing of the ADDR flag without explicitly reading SR2 could be attributed to the nature of the I2C protocol and its hardware implementation. When the I2C peripheral detects that the slave address matches and the ADDR flag is set, it knows that the address phase has been successfully completed. At this point, the I2C peripheral might automatically clear the ADDR flag as it transitions to the next phase of communication, which could involve reading or writing data.

    In many microcontroller or peripheral implementations of the I2C protocol, this automatic clearing of the ADDR flag can help simplify software handling

    See less
    • 0
    • Share
      Share
      • Share onFacebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  8. Asked: July 11, 2023In: Embedded Software Development

    Can anyone guide a complete Road map to become an Embedded firmware Engineer?

    alokm014 Enlightened
    Added an answer on August 13, 2023 at 6:39 pm

    Remember, becoming an Embedded Firmware Engineer is a journey that requires continuous learning and practical experience. The roadmap you choose may vary based on your interests and career goals, but the key is to remain dedicated, curious, and adaptable to the ever-evolving field of embedded systemRead more

    Remember, becoming an Embedded Firmware Engineer is a journey that requires continuous learning and practical experience. The roadmap you choose may vary based on your interests and career goals, but the key is to remain dedicated, curious, and adaptable to the ever-evolving field of embedded systems.

    Read my blog: https://embedthreads.com/bridging-the-gap-a-roadmap-to-a-successful-career/

    See less
    • 0
    • Share
      Share
      • Share onFacebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  9. Asked: July 22, 2023In: Embedded Networking and Communication

    OTA in ESP32

    alokm014 Enlightened
    Added an answer on August 13, 2023 at 6:31 pm

    Yes, it is possible to perform OTA updates on an ESP32 from a different Wi-Fi network, even if you are physically located in a different country. The requirement for both the ESP32 and the computer to be on the same Wi-Fi network is a common scenario for convenience, but it's not a strict limitationRead more

    Yes, it is possible to perform OTA updates on an ESP32 from a different Wi-Fi network, even if you are physically located in a different country. The requirement for both the ESP32 and the computer to be on the same Wi-Fi network is a common scenario for convenience, but it’s not a strict limitation.

    The ESP32 can connect to any Wi-Fi network with internet access, and you can set up your ESP32 to listen for OTA updates on a specific port. As long as your ESP32 is accessible from the internet (using its IP address and the designated port), you can initiate an OTA update from your computer in the USA to the ESP32 in India.

    Here are the general steps to achieve this:

    1. Configure the ESP32 for OTA:
    Set up your ESP32 to be capable of receiving OTA updates. Make sure you have the necessary libraries and code in place to handle OTA updates.

    2. Port Forwarding:
    In the router settings of the network where your ESP32 is connected (in India), you need to configure port forwarding to route incoming connections on the OTA port to the local IP address of your ESP32.

    3. Determine ESP32’s Public IP:
    Find out the public IP address of the network in India where your ESP32 is connected. You can use online services like “WhatIsMyIP” to determine this IP.

    4. Update Code from USA:
    From your computer in the USA, you can initiate the OTA update by sending the firmware to the ESP32’s public IP address using the specified port. This may involve using specialized tools or scripts, depending on your development environment.

    5. Firewall and Security Considerations:
    Keep in mind that security and firewall settings can affect this process. Ensure that your ESP32’s firewall allows incoming connections on the designated OTA port. You might also want to consider implementing security measures like authentication and encryption for the OTA process to ensure the integrity of the updates.

    See less
    • 0
    • Share
      Share
      • Share onFacebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  10. Asked: July 6, 2023In: Career and Professional Development

    Choosing the Right Industry for Career Growth in Embedded Software: Insights and Required Skills

    Best Answer
    alokm014 Enlightened
    Added an answer on August 13, 2023 at 6:18 pm

    Choosing the Right Industry for Embedded Software Career Growth: Insights & Skills 1. Automotive Industry: - Skills: RTOS, C/C++, CAN, Safety Compliance 2. IoT: - Skills: Low-power MCUs, Wireless Comm, Cloud, Security 3. Aerospace & Defense: - Skills: Avionics Standards, Real-time Systems 4.Read more

    Choosing the Right Industry for Embedded Software Career Growth: Insights & Skills

    1. Automotive Industry:
    – Skills: RTOS, C/C++, CAN, Safety Compliance

    2. IoT:
    – Skills: Low-power MCUs, Wireless Comm, Cloud, Security

    3. Aerospace & Defense:
    – Skills: Avionics Standards, Real-time Systems

    4. Medical Devices:
    – Skills: Regulatory Compliance, Safety-critical Dev

    5. Industrial Automation:
    – Skills: Industrial Protocols, PLC, Control Systems

    6. Consumer Electronics:
    – Skills: Multimedia, UI/UX, Hardware Interaction

    7. Energy & Smart Grids:
    – Skills: Power Electronics, Energy Management, Grid Protocols

    In all industries, strong programming, debugging, and problem-solving skills are essential. Choose based on your passion and desired skillset. Stay adaptable and keep learning to excel in the dynamic world of embedded software.

    Bonus:
    If you’re looking for inspiration and a comprehensive list of top embedded-based companies, check out my blog on the “Top 50 Embedded Software Companies”! This resource will provide valuable insights into the leading players in the field, helping you make an informed decision based on your personal interests and aspirations. Remember, your career path is as unique as you are, so explore the opportunities and embark on a journey that aligns with your passion. Happy reading and happy exploring!

    Blog Link: https://embedthreads.com/exploring-the-top-50-indian-companies-for-embedded-system-engineers/

    See less
    • 1
    • Share
      Share
      • Share onFacebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
1 2 3

Sidebar

Ask A Question

Stats

  • Questions 85
  • Answers 1k
  • Best Answers 15
  • Users 802

Free PDF Downloads

A Roadmap to a Successful Career

HTTP, WS and TLS: The Complete Guide

Embedded Interview Questions

  • Popular
  • Answers
  • alokm014

    Embedded System Testing: Strategies and Approaches

    • 480 Answers
  • Aditya007

    Programming Error while using PICKIT4

    • 127 Answers
  • Tanmoy Chandra Dey

    Why is the "ADDR flag" cleared without reading the SR2

    • 112 Answers
  • NML

    STM32

    • 92 Answers
  • BHASKAR

    RTC IN STM32 DATE PROBLEM

    • 79 Answers
  • Scammell
    Scammell added an answer If some one wants to be updated with latest technologies… June 27, 2025 at 7:05 am
  • Lavigne
    Lavigne added an answer This information is priceless. Where can I find out more?… June 27, 2025 at 5:32 am
  • Sandridge
    Sandridge added an answer I love your blog.. very nice colors & theme. Did… June 27, 2025 at 4:27 am
  • Расслабление мышц губ
    Расслабление мышц губ added an answer I relish, result in I discovered exactly what I was… June 27, 2025 at 3:34 am
  • stats crazy time
    stats crazy time added an answer I believe this article will help many new players start… June 27, 2025 at 3:33 am

Explore

  • Forum
  • Communities
  • Questions
    • New Questions
    • Must Read Questions
    • Trending Questions
    • Hot Questions
  • Polls
  • Groups
  • Add group
  • Badges
  • Users
  • Help

Footer

Embed Threads

Embed Threads

Join us on a transformative journey where knowledge is amplified and solutions are empowered.

About Us

  • Blogs
  • Forum
  • About Us
  • Contact Us
  • Books

Legal Stuffs

  • Privacy Policy
  • Adsense Disclaimer

Help

  • Help
  • Contact Us

Follow

© 2024 Embed Threads. All Rights Reserved
With Love by Embed Threads.