3 Software package with firmware and USB PD project
The software package for the kit is composed of the following parts:
1. STSW
-USB2TYPEC1 firmware: a zip file containing the flash image of the USB Power Delivery demo
firmware already loaded on the SPC58 microcontroller. You can download updates from the STSW-
USB2TYPEC1 page on www.st.com.
2. USB Power Delivery SPC5-STUDIO project: contains the complex driver for STUSB1702Y device, the USB
Power Delivery stack, and a demo application.
RELATED LINKS
1 Evaluation kit overview on page 2
3.1 How to program SPC58 microcontroller present on SPC58EC-DISP
The firmware STSW
-USB2TYPEC1 is pre-loaded on the discovery board SPC58EC-DISP. In the zip file, the
“.wsx” represents the hook file for the Universal Debug Engine® (UDE) to burn the USB-PD code onto the SPC58
microcontroller flash memory. Follow the procedure below to burn the code onto the flash memory of SPC58:
Step 1. Download and install SPC5-UDESTK-SW USB/JTAG debugger from www.st.com
Step 2. Connect the mini-B USB cable between your PC and the SPC58EC-DISP discovery board
Step 3. Turn-on the discovery board
Step 4. Run the UDE application on your PC
Step 5. In the UDE program, [Open] file st_usbpd.wsx
You will find the .wsx file in the zip in the UDE directory.
A window appears.
Step 6. In the new window, press [Program All]
A confirmation message appears in the same window when the operation is complete. At this point, the
firmware is flashed to the microcontroller memory.
Step 7. Exit the window
Step 8. Reset the SPC58EC-DISP discovery board to run the updated firmware
3.2 How to open the SPC5 Studio project
The SPC5 Studio project gives you access to the USBPD library plugin source code. Follow the procedure below
to open the project:
Step 1. Obtain a valid username and password: send an email to credentials@spc5studio.com and specify the
following information:
–
your company name
– your project
– project target run-rate
– the date
Step 2. Open SPC5 Studio
Step 3. Go to [Help]>[Install new Software] and then click the [Add] button
UM2451
Software package with firmware and USB PD project
UM2451 - Rev 1
page 10/22