Launch Embeetle IDE once you've installed it.
Download sample project
Select CREATE
in the Home Window.
Select WCH as the vendor and find the lana-tny-01
project. As you can see, there is also a lana-tny-01-blaster-2024
and lana-tny-01-communicator-2024
project in the list. You can choose those if you have one of these devices. If you just want to flash an LED on your LANA TNY board, choose the simple lana-tny-01
project.
Click CREATE
to download the project. Embeetle will offer you to download also all the required tools that are not yet on your computer. Accept these downloads. Make sure you've installed either the WCH USB-C drivers or the drivers for WCH-ISP tool.
Build and Flash
Click the build button in the toolbar at the top, to start the code compilation. If all goes well, you should now have a .elf
, .bin
and .hex
file in the build/
folder.
Click the flash button.
Depending on your earlier choice (flashing through the USB-C port or with the flash/debug probe), either the wchisp
tool or OpenOCD
launches to flash the firmware.
Page last edited January 20, 2025
Text editor powered by tinymce.