cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F217 Revision 2 Bootloader

Kevin Chan
Associate
Posted on May 08, 2018 at 20:36

Hi,

I have a STM3221G-EVAL board with the STM32F217IGH6 and am trying to program over CAN. I checked the revision code on the chip to see what version bootloader it has and found it was a revision '2' chip. I can't find any information though on what bootloader is on these chip revisions and whether it supports programming over CAN.. I could only find an errata sheet for this revision. Any help is appreciated, thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
Kent Swan
Senior
Posted on May 08, 2018 at 23:06

Download a copy of AN2606.  Refer to section 4.2 to get the memory address of where the bootloader id is.  For instance on the STM32L462, the bootloader id address is listed as 0x1FFF6FFE in AN2606 which should have a low byte value of 0x92 if current.  Use the following pattern in your code to retrieve that byte.

    uint8_t            bootLoaderVersionByte = (uint8_t)(*((uint32_t*)0x1FFF6FFE));

View solution in original post

1 REPLY 1
Kent Swan
Senior
Posted on May 08, 2018 at 23:06

Download a copy of AN2606.  Refer to section 4.2 to get the memory address of where the bootloader id is.  For instance on the STM32L462, the bootloader id address is listed as 0x1FFF6FFE in AN2606 which should have a low byte value of 0x92 if current.  Use the following pattern in your code to retrieve that byte.

    uint8_t            bootLoaderVersionByte = (uint8_t)(*((uint32_t*)0x1FFF6FFE));