2021-02-10 05:40 AM
How to connect UART for bootloader and upload new file to chip in Linux.
If anyone knows please help me out.
Solved! Go to Solution.
2021-02-11 01:56 AM
In Linux like in any other OS you can write a program that talks over a serial port.
For example, minicom, microcom and so on. You can even write a python script for this.
AN3155 describes the protocol.
If this still looks too complex or too much work, find somebody else to help.
-- pa
2021-02-10 11:25 AM
Which STM MCU you use? Do you mean port Linux (like uboot) to your platform or just receive Linux typed command through UART and based on the command to load file?
2021-02-10 09:30 PM
MCU - STM32H743BITx
I am working on one of the project where 2 Devices are there,
1) SOM based Device (TORADEX SOM - HOST)
2) Microcontroller based device(STM32H743BITx - TARGET).
I have updated the new firmware to the TARGET (STM32H743BITx) from STM32CubeProgrammer over UART in Windows.
But requirement is to update the new firmware from the HOST(TORADEX SOM) to TARGET(STM32H743BITx).
The HOST(TORADEX SOM) is Linux based OS.
I went through the AN3155 but I'm unable to understand how to send those commands in Linux or is there any other way to achieve this.
Because I didn't find any information regarding the commands whether it is a Linux commands or windows commands anywhere in the AN3155.
So i need to understand how it can be done.
Please help me out.
2021-02-11 01:56 AM
In Linux like in any other OS you can write a program that talks over a serial port.
For example, minicom, microcom and so on. You can even write a python script for this.
AN3155 describes the protocol.
If this still looks too complex or too much work, find somebody else to help.
-- pa