Skip to main content

Quick Start

Build and flash the Blinky example to verify your toolchain, SDK installation, and hardware setup.

What You Need

  • An E1M module (E1M-AEN, E1M-X V2N, or E1M-X V2N-M1) installed on a carrier board
  • A USB cable connected to the debug/programming port
  • The ALP SDK installed on your development machine

1. Configure the Build

From the SDK root directory, create a build directory and run CMake. Replace <board> with your target module:

ModuleBoard Name
E1M-AENe1m_aen
E1M-X V2Ne1m_x_v2n
E1M-X V2N-M1e1m_x_v2n_m1
mkdir build && cd build
cmake -DBOARD=e1m_x_v2n -DEXAMPLE=blinky ..

2. Build

cmake --build . --parallel

On success, the output binary is located at:

build/examples/blinky/blinky.elf

3. Flash

Connect your module via USB and flash the binary:

python3 ../scripts/flash.py --port auto --file blinky.elf

4. Observe

After flashing, the on-board LED should blink at a 500 ms interval. If you have a serial terminal connected:

# Example using minicom (Linux/macOS)
minicom -D /dev/ttyACM0 -b 115200

You should see:

[ALP SDK] Blinky example started
LED ON
LED OFF
LED ON
...

Troubleshooting

SymptomPossible CauseSolution
CMake error: board not foundIncorrect -DBOARD valueCheck the board name in the table above
Flash fails: no deviceUSB cable not connected or wrong portVerify the USB connection and port
No serial outputWrong baud rateUse 115200 baud
LED does not blinkWrong binary or flash failureRe-flash and verify the build output

Next Steps