cancel
Showing results for 
Search instead for 
Did you mean: 

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

Cynthia MacLeod
Associate II

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

3 REPLIES 3
CSzat
Associate II

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

After upgrading MX , I met similar problems.

Anyway I solved the tartet STM32 setting by "latest"

Target STM32 FW  : Latest

Laurent Ca...
Lead II

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