cancel
Showing results for 
Search instead for 
Did you mean: 

I want to know how to create a .exe software to communicate my STM32F446RE through USART

Sprak.11
Associate II

i want o create a .exe same like mentioned below,

its taken from :AN30640693W000003BI4oQAG.png

I want to create a software to communicate STM32F446RE through UART1 to change the UART2 parameter setting & to see the certain variable value Declare in code.

And then need to export that page of the Software as PDF.

7 REPLIES 7
gregstm
Senior III

I've used Delphi (Pascal) to create my own custom downloader/terminal to communicate with the STM32 bootloader (and for debugging). Not sure of the availability of Delphi these days (I bought it over 20 years ago) - but it sounds like freepascal does a similar job these days. The following link talks about serial access - https://wiki.freepascal.org/Hardware_Access

TDK
Guru

A lot of programming languages out there can create EXEs. Do you have experience with any of them?

UART would most likely need to be converted to a USB serial port with an FTDI chip.

If you feel a post has answered your question, please click "Accept as Solution".
S.Ma
Principal

use stlink to program and peek internal variables or even breakpoint to manually tune usart2 control registers. in stm32 st boards, usart1 is usb bridged by st link too. otherwise, on android phone, use hc-05 bluetooth cheap stick to make wireless connection to bluetooth electronics app

Not sure how a PDF is involved, but opening is COM port and transmitting data back and forth is something you should be able to find a million examples for.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
KnarfB
Principal III

You may look at the STM32 Cube Monitor software for easy drafting some GUI IO panels.

Matlab can do similar things.

For serious multi-platform GUI programming at the C++ level, I recommend Qt.

I'd too recommend Qt, it comes with a GUI creator module, and classes for handling serial ports and creating PDF documents.

prain
Senior III

​Use QT. It can be used for your need and can be ported to many operating systems like windows, mac, android, linux.

It​ has many serial port examples just use google