Hey Sigma Embedded fans! 🎉 We're thrilled to have you here. This repository is the heart of all our exciting tech endeavors. Whether you're here to contribute, learn, or just explore, you've come to the right place.
The Sigma Tech Projects repository is dedicated to driving innovation and sharing knowledge in the tech community. From cutting-edge projects to insightful discussions, we're all about pushing the boundaries of technology.
- Project Code: Access the source code for our latest tech projects.
- Documentation: Comprehensive guides and references to help you understand and contribute to our projects.
- Issues and Discussions: Engage with the community, report issues, and discuss solutions.
We welcome contributions from everyone! Whether it's improving our documentation, adding new features, or reporting bugs, your input is invaluable. Here's how you can get started:
- Fork the repository: Create your own copy of the repository.
- Clone the repository: Download your fork to your local machine.
- Submit a pull request: Send your changes for review.
Don't miss out on any updates! Follow us on our social media channels:
This project is a bootloader for the STM32L5 microcontroller series (You can customize it for your specific STM32). It allows uploading a .bin file to the microcontroller via UART using the Xmodem protocol and uses a Secure Boot verifying the Application Integration! Please check these videos to know more about the project:
- Part1 : https://youtu.be/kslrqPsXlkk?si=c7DvNsEs6xCgNGLe
- Part2 : https://youtu.be/zkowaqlYEYA?si=FCBelba8EAOQTEUg
- Part3 : https://youtu.be/xWvAp5bXaRo?si=m-1tw4P3QUfwecpI
- UART Communication: Utilizes UART for serial communication between the host PC and the STM32L5.
- Xmodem Protocol: Implements the Xmodem protocol for reliable file transfer.
- Secure Boot : Adding the Integrity verification by calculating the Hash value of the Application using SHA256 Algorithm.
- Hardware Setup: Connect the STM32L5 to a PC using a UART interface (STlink).
- Software Setup: Clone this repository and open it in your preferred IDE (STM32CubeIDE).
- Upload Process: Use the provided scripts or tools (Tera Term) to upload the .bin file via UART.
- Prepare the .bin File: Ensure your firmware is compiled into a .bin file and see the magic of the postbuild ;)
- Run the Bootloader: Start the bootloader on the STM32L5.
- Upload the File: Use the Xmodem protocol to upload the .bin file with metadata from your PC to the STM32L5.
Happy coding! 🚀