0x416c6578 / lds-006-firmware

A WIP custom firmware for the LDS-006 LIDAR module.
6 stars 1 forks source link
firmware

LDS-006 Custom Firmware

This is a (currently very early) attempt at writing an alternate firmware for the LDS-006 LIDAR.

Information about the module can be found here.

This project uses the PlatformIO build system, with most of the setup taken from this repo (huge thanks to the original developer, this saved a lot of headache). I made a custom configuration for the GD32F130F6P6, but most things stayed the similar to the original project.

Other Work

User opravdin has done some nice work in finding the protocol and implementing a controller for the motor, see here.

Building

Uploading

You need an ST-Link to flash the firmware. Connect the ST-Link to the debug header to the right of the GD32 CPU. The pinout is GND->CLK->DATA->3v3 (GND is the pad with the star shape that connects it to the ground plane TODO: Add image).

OpenOCD

PlatformIO

Fixing Bricked CPU

High Level TODOs