Wednesday, November 27, 2024

Creating a blinky application using mbed baremetal using Mbed Studio

Creating a blinky application using mbed baremetal using Mbed Studio

Blinking an LED is the equivalent to "Hello World" when testing a programming language on general purpose computers. We will be using Mbed Studio for this exercise. Note that Mbed Studio will be sunset on July 2026, so only use this for fun and not for profit.

Pre-requisite:
- Hardware that supports mbed. I am using FRDM-K64F, below are the key specifications of this board
  • Part#: MK64FN1M0VLL12
  • Vendor: NXP
  • Board name: FRDM-K64F
  • Description: Freedom Development Board for Kinetis K24 (1 MB Flash), K63 and K64 MCUs
  • CPU: ARM® Cortex®-M4-based Microcontroller with FPU
  • Frequency: 120 MHz
  • SRAM: 256KB
  • Flash: 1MB
- Host: Windows 10 LTSC 2021
- Mbed Studio already installed
- Account created at https://os.mbed.com

Step 1: Connect FRDM-K64F to the computer.
Step 2: Run Mbed Studio("C:\Users\<user>\AppData\Local\Programs\Mbed Studio\Mbed Studio.exe")
Step 3: Login to mbed
Step 4: Create new program
Ste 5: Program details - mbed-os-example-blinky-baremetal
Ste 6: Select a target - I am using FRDM-K64F
Step 7: Sample debug session
Go thinkering!

No comments:

Post a Comment

Q&A: How to create a blinky baremetal application on STM32F407G-DISC1 using STM32CubeMX and Keil μVision

Q: How to create a blinky baremetal application on STM32F407G-DISC1 using STM32CubeMX and Keil μVision Answer: Blinking an LED is the equiv...