0
\$\begingroup\$

I'm trying to work out the best way to attach / interface an stm32f processor with a Linux based ARM SoC?

Is it possible for the stm32 to communicate with the ARM SoC via I2C ...are there any examples of stm32 acting as an I2C client talking to a Linux controller/Kernel Device Driver?

Ideally, I would like be able to upload new firmware to the stm32 from the Linux ARM SoC.

All links, tips and flaming appreciated.

Bruce

asked Nov 11, 2014 at 17:17
\$\endgroup\$
1
  • \$\begingroup\$ There are nearly countless options, but asynchronous serial (ie using "UART" peripherals) and USB may be among the best fits. \$\endgroup\$ Commented Nov 11, 2014 at 17:41

1 Answer 1

0
\$\begingroup\$

STM32's have a serial bootloader built in. See http://www.scienceprog.com/flashing-programs-to-stm32-embedded-bootloader/

STMicro makes a Flash tool to get at the bootloader. If you can find a version that runs under Linux, do some switching to put the STM32 into bootloading mode, and set up uart comms between your chips, you're good to go.

Cross platform Flash Tool for STM32

answered Nov 11, 2014 at 17:47
\$\endgroup\$
1
  • 1
    \$\begingroup\$ Thanks Scott!! I wanted to confirm there were no well known I2C or SPI methods. I also don't have a spare UART, however as this is a Linux system I'll try MAX3109 which provides dual UART via SPI. \$\endgroup\$ Commented Nov 13, 2014 at 12:24

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.