[Project: Embedded] Hands On RTOS with MCU’s Part 1

The Project:

Finally found a really good RTOS book that contains enough info on RTOS basic concepts, mature FreeRTOS, stable IDE, debug tools, affordable hardware and most importantly ‘SystemView – Real-time Analysis and Visualization’.

Will be doing a mini-series on my progress completing projects in the book!

My goal is to be a better embedded systems engineer and RTOS!

The Book:

The book can be found from Amazon here: https://www.amazon.com/Hands-RTOS-Microcontrollers-Building-real-time-ebook/dp/B086V86RQP

The Hardware:

STM32 Nucleo-144 development board with STM32F767ZI MCU, supports Arduino, ST Zio and morpho connectivity – https://www.amazon.com/Nucleo-144-development-STM32F767ZI-supports-connectivity/dp/B077FTNLQF/ref=sr_1_2?dchild=1&keywords=stm+nucleo&qid=1592792074&sr=8-2

Download and Install Software:

  1. STM32CubeIDE (Dev Env)- https://www.st.com/en/development-tools/stm32cubeide.html
  2. Seger J-Link (Debugger Drivers)- https://www.segger.com/downloads/jlink
  3. Segger, REFLASH, converting ST-LINK On-Board Into a J-Link – https://www.segger.com/products/debug-probes/j-link/models/other-j-links/st-link-on-board/
  4. Segger Ozone (Soft Debug Made App)- https://www.segger.com/downloads/jlink#Ozone
  5. Segger SystemView (Soft Debug RTOS)- https://www.segger.com/downloads/jlink#SystemView

Setup Environment:

The step-by-step:

  1. Copy Repo address here: https://github.com/PacktPublishing/Hands-On-RTOS-with-Microcontrollers
  2. Make directory ‘C:\projects’
C:\> cd C:\
C:\> mkdir projects
  1. Change directory to ‘projects’
C:\> cd projects
  1. Clone repo: git clone https://github.com/PacktPublishing/Hands-On-RTOS-with-Microcontrollers
C:\projects> git clone https://github.com/PacktPublishing/Hands-On-RTOS-with-Microcontrollers
  1. Open Application ‘STM32CubeIDE’
  2. Save to some workspace (not too critical where)…
  3. Go to File->Import
  4. Go to General->Existing Projects into Workspace
  5. Open and browse to ‘C:\projects\…’ then click ‘Next’
  6. Right click on project Chapter5_6->properties
  7. Go to Resource->Linked Resources and click on ‘Linked Resources’ tab
  8. Resolve paths… and ‘Apply and Close’
  9. Right click on project Chapter5_6->Index->Rebuild
  10. Right click on project Chapter5_6->Build Project
  11. DONE!

Then follow the illustrations (click to see full):


Discover more from deepHomeBrew

Subscribe now to keep reading and get access to the full archive.

Continue reading