Skip to content
View Sumed-Sreedhar's full-sized avatar
🎯
Focusing
🎯
Focusing

Highlights

  • Pro

Block or report Sumed-Sreedhar

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
Sumed-Sreedhar/README.md

Hi, I'm Sumed πŸ‘‹

Embedded firmware developer working with STM32 microcontrollers.
I like the layer where software meets hardware: interrupts, DMA, communication protocols,
and firmware that stays predictable when something goes wrong.

πŸŽ“ 3rd-year Electronics & Instrumentation Engineering student, Bengaluru 🎯 Targeting embedded firmware roles in automotive and mobility


🚧 In Progress

πŸ›°οΈ STM32 Flight Computer

Under active development Β· View repository β†’

A flight computer on the STM32F446RE that reads an IMU, magnetometer, barometer and GPS, estimates orientation and altitude, and logs flight data to an SD card. The goal is one coherent firmware architecture, not a pile of separate sensor demos.

  • Sensors: MPU6500 (IMU), MLX90393 (magnetometer), BMP280 (barometer), NEO-6M (GPS)
  • Firmware: sensor drivers over SPI/I2C/UART, self-test and fault handling, Mahony filter for attitude, PID control, FatFS logging
  • Structure: a flight state machine first as a bare-metal loop, then ported to FreeRTOS tasks
BOOT β†’ SELF_TEST β†’ INIT β†’ READY β†’ ARMED β†’ FLIGHT β†’ LANDING β†’ SHUTDOWN
                  any fault (GPS, IMU, SD, UART) β†’ FAULT

πŸ” Custom Bootloader (STM32F446RE)

Under active development Β· View repository β†’

A bootloader that stays resident in flash, validates a separately linked application, and only then hands over control. It covers the parts of startup that normally stay hidden: flash partitioning, linker layout, image integrity, and the handoff into the application's reset handler.

0x08000000  Bootloader          32 KB
0x08008000  Application Header  16 KB   magic Β· size Β· CRC-32
0x0800C000  Application Image  464 KB   vector table starts here

Working today

  • Separate bootloader and application projects with custom flash partitioning and a dedicated .header linker section
  • Application linked at a non-default address, with vector table relocation by the application
  • Image validation before every boot: magic number β†’ reset handler β†’ size β†’ hardware CRC-32, each failure reported with its own code over UART
  • Header-free binary generation (objcopy --remove-section=.header) and a Python utility that reproduces the STM32 hardware CRC convention for size and checksum metadata
  • Controlled handoff: interrupts disabled, SysTick stopped, MSP loaded, jump to the application's reset handler
  • Verified on hardware: valid image boots, corrupted CRC is rejected, bad magic number is rejected

Next

  • Stricter vector-table checks, automated header generation, and full negative-test coverage
  • A firmware update path, version metadata, and dual-image fallback
  • Fault-aware boot, with the goal of hosting the flight computer firmware so it can be updated and recovered without a debugger

πŸ“¦ Previous Work

Project What it does
Road Surface Monitoring Device STM32F446RE + ESP32-S3. Detects road anomalies with an IMU and ultrasonic sensor, tags them with GPS, and uploads them over Wi-Fi. Uses interrupt-driven UART with a ring buffer for NMEA parsing and a custom STM32 ↔ ESP32 packet protocol.
Deterministic Data Acquisition Engine Timer-triggered ADC sampling into a circular DMA buffer, processed on half- and full-transfer interrupts.
BME280 Environmental Monitor I2C driver written from the datasheet, with calibration and compensation, timer-based sampling and UART output.
Multi-Mode PWM Controller PWM, EXTI, UART commands and a matrix keypad, coordinated by a hierarchical state machine with fault override.
Interrupt-Driven UART CLI Buffered command interface with echo, backspace handling and command parsing.

πŸ› οΈ Skills

Languages C, Python (build and host-side tooling)
Platforms STM32F4 (CubeProgrammer, HAL, CubeMX, CubeIDE), ESP32-S3 (PlatformIO)
Interfaces UART, SPI, I2C, ADC, DMA, timers/PWM, EXTI, hardware CRC
Focus Interrupt-driven design, state machines, streaming data, sensor drivers, memory layout, linker scripts, boot flow and image validation
Tools Git, ST-LINK, GNU Arm toolchain (objcopy, objdump), logic analyzer, Linux
Learning FreeRTOS, sensor fusion, fault-tolerant boot and recovery

Interested in embedded firmware, real-time systems, and low-level software.
Browse my repositories

Pinned Loading

  1. Event-Driven-PWM-LED-Controller-STM32F446RE- Event-Driven-PWM-LED-Controller-STM32F446RE- Public

    Event-driven PWM LED controller on STM32F446RE with state machine, keypad + UART CLI input, auto-ramp mode, lock mode, and fault handling.

    C 5 1

  2. Deterministic-Data-Acquisition-Engine Deterministic-Data-Acquisition-Engine Public

    Hardware-timed ADC streaming engine with DMA circular buffering on STM32.

    C 2

  3. stm32-bme280-environment-monitor stm32-bme280-environment-monitor Public

    STM32F446RE-based environmental monitoring system using BME280 over I2C with timer-driven sampling, interrupt-based UART telemetry, modular firmware architecture, and compensated temperature, press…

    C 2

  4. Road_Surface_Monitoring_Device Road_Surface_Monitoring_Device Public

    RC car model to monitor the road surface condition using STM32 and ESP32

    C 2 2

  5. STM32-Embedded-Flight-Computer STM32-Embedded-Flight-Computer Public

    Embedded flight computer firmware for STM32F446RE.

    C 1

  6. STM32F446-Custom-Bootloader STM32F446-Custom-Bootloader Public

    Custom Bootloader for the STM32F446RE microcontroller.

    C 2 1