Consultancy and Total Solutions Training Provider for Embedded Systems, Electronics and Electrical Engineering, Programming, Computing, Operations, ISO9000, ISO14000 and Management.

Bridging the Gap

Training Courses

SD Memory with FAT on Bare-metal Embedded Systems

Course id: 0046


SD memory has become the ubiquitous solid state memory of choice for all forms of smart electronics. This course concentrates on implementing and accessing the FAT file system on SD memory cards on embedded systems developed without operating systems (bare metal).

Course highlight
Participants would be programming the STM32F103ZE ARM Cortex-M3 microcontroller with the Keil MDK-ARM compiler.

What you will learn

This course concentrates on the theoretical and practical knowledge to allow participants to achieve the following learning outcomes. Upon completing the course, participants would be able to:
  • Know the fundamentals of the FAT file system
  • Access SD memory cards
  • Implement and use the FAT file system

Who should attend

This course is suitable for engineers who would like to work with data storage with microcontrollers in a bare-metal environment.


Participants are required to know how to program in C, and have a basic understanding of programming embedded systems.

Course methodology

This course is presented in a workshop style with example-led lectures interlaced with demonstrations and hands-on practical for maximum understanding.

Course duration

2 days.

Course structure

  • SD Card
    • Overview of SD Card
    • Accessing modes
    • Hands-on practical 1: Accessing SD Cards
  • Storage Partitioning
    • The Master Boot Record
    • Partition table information
    • Hands-on practical 2: Investigating the MBR and Partition Table
  • FAT File System
    • Fundamentals of the FAT file system
    • File creation and deletion
    • Locating files
    • Creating subdirectories
    • Long file names
    • Hands-on practical 3: Investigating FAT
  • FatFS File System
    • Introduction
    • Implementing FatFS on embedded systems
    • Hands-on practical 4: Implementing FatFS
    • File access
    • Hands-on practical 5: File Access with FatFS


Dr Royan Ong

Course Schedule





News on ProvenPac

  ProvenPac Sdn. Bhd.
  C-4-3 Gembira Park,
  Jalan Riang, 58200
  Kuala Lumpur, Malaysia

  Tel: +603 03 5889 5889

No public course
currently scheduled.


Please inform me when
this course is scheduled.


Please contact me to
arrange in-house training.