Skip to content

Upload code to the robot with uKeil Pro version

Jorge Pérez edited this page Aug 19, 2024 · 3 revisions

Set up:

  1. Look for the information about the DevBoard you'll be using.

    • ARM Processor in it
    • Datasheet for the ARM processor (and it's family)
  2. Download ST-LINK V# drivers from: STM32 site. I believe they are only available on Windows.

  3. Download the latest version of MDK-ARM from here. This will also install uKeil IDE.

    • If you want to be able to plug and play the code, you should first request a temporary uKeil pro version.
  4. Download the necessary drivers from STM32 Keil Pack Installer about your chip's family.

    • You can guide yourself by the images:

    • Open Keil IDE

    • Select Family Installer. As shown in the image

    • Open family installer

    • The following window will pop-up

    • Family installer main screen

    • Look for your device's family on the search bar and download all the packages from "device specific"

    • Select packages

  5. The following steps vary depending on whether you have the uKeil Pro version or not.


Actual steps:

  1. Obtain your desired project from Robomaster's or your team's Git.

  2. Open uKeil IDE.

  3. On the to left part of the screen:

    • Click project.
    • Open project.
    • Browse your files until you find something.uvprojx. It's usually under the MDK-ARM folder (from Robomaster's examples).
    • rm_selectfile
  4. Click on the Magic Wand from the tools menu.

    • rm_keilMagicWand
    • The following menu will pop-up:
    • rm_magicWandMenu
  5. Go to the Debug tab

    • rm_debugconfig
    • Select ST-Link Debugger
  6. Click on the settings button next to it

    • If you installed correctly ST-Link drivers, and the USB stick is connected to the computer, a device will appear.

rm_setup

  1. Close all menus by saving or clicking OK.

  2. Build the project.

    • rm_build
  3. Upload it LOAD.

Clone this wiki locally