Skip to main content
wfarid
Associate II
November 28, 2016
Question

[STM32F4] In-Circuit Programming (ICP) vs In-Application Programming (IAP) using USART

  • November 28, 2016
  • 2 replies
  • 1095 views
Posted on November 28, 2016 at 23:45

Hi guys,

Why would I update the firmware using the IAP instead of the ICP?

I'm thinking about connecting an STM32F4 uController to a BeagleBone and I want to have the capability to update the firmware on the STM32F4 using an application on the BeagleBone. If I have the STM32F4 pins (BOOT0, BOOT1 and NRST) along with USART1 connected to the BeagleBone, can't I just write an application on BeagleBone which controls those pins and update the STM32F4 flash accordingly?

Thanks!
    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    November 29, 2016
    Posted on November 29, 2016 at 03:08

    The protocol is well enough documented, and can be implemented on an embedded platform, whether that is a BeagleBone, or another STM32

    ICP works well for programming blank (new) devices, and ones you've bricked.

    IAP allows you to define a protocol that better suits your needs, adding integrity checking, encryption, or whatever.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    wfarid
    wfaridAuthor
    Associate II
    December 1, 2016
    Posted on December 01, 2016 at 21:16

    Thanks clive1!