0
\$\begingroup\$

Is it possible to program HEX file from STM32 to ATMega 328 ? I can think of some Serial communication, but I don't know whether is it possible to do on tiny STM32F0 series or it needs more powerful STM32.

It will probably be required boot loader support on ATMega chip for Serial programming.

Thanks.

\$\endgroup\$

1 Answer 1

1
\$\begingroup\$

You can use SPI to perform ISP on a AVR MCU. The exact steps and connections required are detailed in the "Memory Programming" section, "Serial Downloading" subsection of the '328 datasheet as well as in AVR910. I recommend that you implement a known protocol such as that described in AVR109 so that your programmer works with existing tools.

\$\endgroup\$
1
  • \$\begingroup\$ I was originally thinking of creating something like embedded system where ATMega would do some low level calculations for STM32 and STM32 would have access to load a new program into it. It would not have direct access to any other programmers. \$\endgroup\$
    – WebScript
    Commented Feb 26, 2016 at 10:55

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.