<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Firmware Architecture on Vamsi Kiran | Firmware Engineer</title><link>https://vamsikiran277.github.io/tags/firmware-architecture/</link><description>Recent content in Firmware Architecture on Vamsi Kiran | Firmware Engineer</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 15 Apr 2026 10:00:00 +0000</lastBuildDate><atom:link href="https://vamsikiran277.github.io/tags/firmware-architecture/index.xml" rel="self" type="application/rss+xml"/><item><title>BSP-Backed Embedded Application</title><link>https://vamsikiran277.github.io/projects/bsp-application/</link><pubDate>Wed, 15 Apr 2026 10:00:00 +0000</pubDate><guid>https://vamsikiran277.github.io/projects/bsp-application/</guid><description>&lt;h3 id="-technology-stack"&gt;🛠 Technology Stack&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Languages:&lt;/strong&gt; Bare-Metal C (C11)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Hardware:&lt;/strong&gt; STM32F407 (Discovery Board) - ARM Cortex-M4&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Simulation:&lt;/strong&gt; Renode (Antmicro)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Protocols:&lt;/strong&gt; UART (USART2), SysTick Timer logic&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Tools:&lt;/strong&gt; arm-none-eabi-gcc, GDB, Renode&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h3 id="the-project-overview"&gt;The Project Overview&lt;/h3&gt;
&lt;p&gt;A modular firmware application demonstrating a clean separation between hardware-specific drivers (BSP) and high-level application logic. The project focuses on non-blocking execution, architectural maintainability, and full system virtualization using the Renode framework.&lt;/p&gt;
&lt;h3 id="technical-highlights"&gt;Technical Highlights&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Layered Architecture (BSP):&lt;/strong&gt; All register-level operations (RCC, GPIO, UART) are encapsulated within a dedicated Board Support Package. The application layer interacts only with abstract APIs, containing zero raw register addresses.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Non-Blocking Logic:&lt;/strong&gt; Replaced &amp;ldquo;busy-wait&amp;rdquo; loops with a &lt;strong&gt;SysTick-based interrupt system&lt;/strong&gt;, allowing the CPU to process concurrent tasks (LED Heartbeat and Status Reporting) without stalling the execution thread.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;UART Serial Driver:&lt;/strong&gt; Developed a custom driver for USART2, featuring manual Baud Rate calculation for the &lt;strong&gt;16 MHz HSI clock&lt;/strong&gt; to ensure stable &lt;strong&gt;115200 baud&lt;/strong&gt; communication.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Virtual Hardware Validation:&lt;/strong&gt; Successfully virtualized the STM32F407 hardware environment in &lt;strong&gt;Renode&lt;/strong&gt;, enabling cycle-accurate firmware testing and UART output auditing without physical silicon.&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h3 id="simulation--hardware-verification"&gt;Simulation &amp;amp; Hardware Verification&lt;/h3&gt;
&lt;p&gt;The project is validated using &lt;strong&gt;Renode&lt;/strong&gt; to audit register-level interactions and verify the timing logic of the Board Support Package. By mapping the internal &lt;code&gt;USART2&lt;/code&gt; peripheral to a virtual analyzer, the firmware execution is audited for cycle-accurate behavior before deployment to physical silicon.&lt;/p&gt;</description></item></channel></rss>