Skip to main content
vinothraj
Associate III
December 11, 2012
Question

Stm32f407 Discovery IAP pgm

  • December 11, 2012
  • 2 replies
  • 716 views
Posted on December 11, 2012 at 15:49

How to use the hex2bin.exe?

 i have hex2bin.exe.

1.I want to convert the user program hex file to user program binary file.

another one is

2.how to change the load address of the user program.i am using the keil compiler

1. Set the program load address at 0x08004000, using your toolchain linker file

2. Relocate the vector table at address 0x08004000, using the �NVIC_SetVectorTable�

function from the misc.h/.c driver (under STM32F4xx_StdPeriph_Driver\inc) or by

modifying the value of the constant �VECT_TAB_OFFSET� defined in the

system_stm32f4xx.c file.�i did not understand this.where will i do

any suggestion.

#hex2bin #wait-for-you--clive1-!-!-!
    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    December 11, 2012
    Posted on December 11, 2012 at 17:23

    2) Go to the Options for the Project, under the Target tab change the IROM1 base address and size to reflect the application load address and reduced Flash footprint.

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    vinothraj
    vinothrajAuthor
    Associate III
    December 12, 2012
    Posted on December 12, 2012 at 08:43

    Thank Brother.Yes its working