cancel
Showing results for 
Search instead for 
Did you mean: 

STSW-IMG035_F401 gesture recognition on NUCLEO-F401RE; output via UART?

EthanLiao
Associate II

Hi,

I have downloaded "GestureEVK_v1.5.0" and tried "gesture recognition" function.
It can be launched by GUI and worked well.
I also downloaded "STSW-IMG035_F401" and tried to run "gesture recognition".
However, it keeps printing the messages as shown below.
I have no idea how to let "STSW-IMG035_F401" start running "gesture recognition" and output results through UART after downloading to NUCLEO-F401RE?(No need to enter a start aommand.)
Could you guide me in detail about how to modify the code of "STSW-IMG035_F401" to achieve this objective?
Thank you.

 

EthanLiao_0-1740117408786.jpeg

Hardware: NUCLEO-F401RE
Software: STSW-IMG035_F401
Sensor: VL53L8
IDE: STM32CubeIDE 1.16.0

1 ACCEPTED SOLUTION

Accepted Solutions
John E KVAM
ST Employee

First the easy part... In your terminal program, you can set the line-feed to auto. It tells the system to accept <lf> as <cr><lf>. 

(I started using YAT -Yet Another Terminal as my terminal. It's my new favorite.)

As the STM32 is responding, you clearly have some code in there. 

But I'm going to guess that when switching to the gesture you did not go to the firmware (FW) and copy the .bin file to the STM32. Could that be it?

The GUI kind of shows you how to do the download, but the gesture is more a manual process.

 

 


If this or any post solves your issue, please mark them as 'Accept as Solution' It really helps. And if you notice anything wrong do not hesitate to 'Report Inappropriate Content'. Someone will review it.

View solution in original post

4 REPLIES 4
John E KVAM
ST Employee

First the easy part... In your terminal program, you can set the line-feed to auto. It tells the system to accept <lf> as <cr><lf>. 

(I started using YAT -Yet Another Terminal as my terminal. It's my new favorite.)

As the STM32 is responding, you clearly have some code in there. 

But I'm going to guess that when switching to the gesture you did not go to the firmware (FW) and copy the .bin file to the STM32. Could that be it?

The GUI kind of shows you how to do the download, but the gesture is more a manual process.

 

 


If this or any post solves your issue, please mark them as 'Accept as Solution' It really helps. And if you notice anything wrong do not hesitate to 'Report Inappropriate Content'. Someone will review it.
labussiy
ST Employee

@EthanLiao , have you fixed your issue?

Are you able to compile the STM32F401 project and get the same behavior as the binary file provided in the GestureEVK package?


Our community relies on fruitful exchanges and good quality content. You can thank and reward helpful and positive contributions by marking them as 'Accept as Solution'. When marking a solution, make sure it answers your original question or issue that you raised.

ST Employees that act as moderators have the right to accept the solution, judging by their expertise. This helps other community members identify useful discussions and refrain from raising the same question. If you notice any false behavior or abuse of the action, do not hesitate to 'Report Inappropriate Content'

Hi @labussiy and @John E KVAM ,

I have fixed the issue.

Thank you so much.

 

Best regards,

Ethan

 

John E KVAM
ST Employee

Ethan -

If it was a simple mistake then no problem, but if it was lack of really good documentation on ST's part then could you suggest how to make the documentation better? It might help someone else from falling into the same hole. 

But well done on getting it to run. Good luck with your project.

- john


If this or any post solves your issue, please mark them as 'Accept as Solution' It really helps. And if you notice anything wrong do not hesitate to 'Report Inappropriate Content'. Someone will review it.