Skip to main content
Cynthia MacLeod
Associate II
April 10, 2019
Question

When executing the Project Generation command from ST Motor Control Workbench I always get a javax.net.ssl.SSLHandshakeException error showing.

  • April 10, 2019
  • 3 replies
  • 863 views

Version info:

 MC Workbench      : 5.3.2.18569

 WB_to_Mx          : 0.15.6.template-19-01-16

 STM32CubeMX       : 5.1.0

 MC Firmware Library: 5.3.3

Generation options:

 Target Toolchain  : ST TrueSTUDIO

 Target Driver     : HAL - Hardware Abstraction Layer

 Target STM32 FW   : 1.9.0

Updated ioc: C:\xxxx\xxxx\xxxx\xxxx\xxxx\xxxx\xxxx.ioc

Generating...

C:\xxxx\xxxx\xxxx\xxxx\xxxx\xxxx\

 ...\.extSettings

Code generation started

Exception in Publisher javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake

 ...\Src\motorcontrol.c

 ...\Inc\motorcontrol.h

 ...\Inc\drive_parameters.h

 ...\Inc\mc_tasks.h

 ...\Src\mc_api.c

 ...\Src\motor_control_protocol.c

 ...\Inc\mc_api.h

 ...\Src\mc_config.c

 ...\Inc\mc_config.h

 ...\Inc\mc_stm_types.h

 ...\Src\mc_tasks.c

 ...\Src\regular_conversion_manager.c

 ...\Inc\regular_conversion_manager.h

 ...\Inc\parameters_conversion.h

 ...\Inc\parameters_conversion_f0xx.h

 ...\Inc\pmsm_motor_parameters.h

 ...\Inc\power_stage_parameters.h

 ...\Src\stm32f0xx_mc_it.c

 ...\Inc\mc_parameters.h

 ...\Src\mc_parameters.c

 ...\Src\ui_task.c

 ...\Inc\ui_task.h

 ...\Src\user_interface.c

 ...\Inc\user_interface.h

 ...\Src\stm32f0xx_it.c

 ...\Inc\stm32f0xx_it.h

 ...\Src\stm32f0xx_hal_msp.c

 ...\Inc\stm32f0xx_hal_conf.h

 ...\Inc\main.h

 ...\Src\main.c

Completed with errors

This topic has been closed for replies.

3 replies

CSzat
Associate II
April 11, 2019

Same for me, but it appears quite "randomly".

The very next compile-attempt almost always works without me changing a single thing though.

MYu
Associate II
May 11, 2019

After upgrading MX , I met similar problems.

Anyway I solved the tartet STM32 setting by "latest"

Target STM32 FW  : Latest

Laurent Ca...
Senior III
June 22, 2021

The question has been moved from the section "Motor Control Hardware" to the "STM32 Motor Control" section (the question is about the STM32 MC SDK). 

Best regards