Skip to main content
ojoel
Associate
Mar 27, 2013 7:55 AM UTC
Question

Programming MCU using CAN

Posted on March 27, 2013 at 08:55

Hi all!

I am currently working on a project where i am to program the MCU (STM32F107) over the CAN bus. I have looked into to the ''in-application programming'' and the bootloader datasheet, but there is some question marks.

The MCU should be programmed without any human interactions, except sending the update over the CAN bus. What the problem is that boot0 and boot1 needs to be set/not set, and STs example of in-application program needs a joystick or equal to make the correct choices

Yours sincerly

Joel
    This topic has been closed for replies.

    1 reply

    Andrew Neil
    Super User
    Mar 27, 2013 8:16 AM UTC
    Posted on March 27, 2013 at 09:16

    ''ST's example of in-application program needs a joystick or equal to make the correct choices''

    So you need to look at what the code does in response to the joystick (or whatever) - and do that !
    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.