- Muchas notas - Fran Acién

20230220 - DTUSat LPCXpresso workspace install

Today I wanted to upload code to the microcontroller of the COMS and I needed to setup LPCXpresso. Here I will put how I did it.

  • The most recent version of the software of the COM SS is under the COM_SW_Test_Development branch. Download the repository in recursive and move to the COM_SW_Text_Development branch
  • Create the workspace
    • Go to the common repository
    • Unzip the lpcxpresso_workspace.zip where you want to work
    • Fix the paths under Common/create_symlinks.sh
    • Go to the unziped folder and execute the Common/create_symlinks.sh
    • Install MCUXpresso IDE, open it and then File->Open Projects, and select the folder of the workspace

In order to program the MCU:

  • Connect the LPC-Link2
  • Push the red simbol that is a chain, “RedLink Server” and then “Boot Debug Probe”. After that you should be able to upload code.
  • Push the simbol that is IC “GUI Flash Tool”.
  • It is necessary to be connected VREF, GND, SWDIO, SWCLK, RESET.
  • It is possible to debug it but clicking the blue bug simbol, start debugging with the active build.