cancel
Showing results for 
Search instead for 
Did you mean: 

What need to change building a hex for IAP download?

hg-chen
Associate II
Posted on April 02, 2008 at 05:17

What need to change building a hex for IAP download?

2 REPLIES 2
hg-chen
Associate II
Posted on May 17, 2011 at 12:27

STM32

the example boot code of IAP via UART takes up 8K byte ,

What need to change building a hex for IAP download?

l, in lnkarm_flash.xcl ?

// Code memory in FLASH

-DROMSTART=0x8000000 ---> 0x8002000 ?

-DROMEND=0x801FFFF

2, in NVIC_Configuration ?

void NVIC_Configuration(void)

{

#ifdef VECT_TAB_RAM

/* Set the Vector Table base location at 0x20000000 */

NVIC_SetVectorTable(NVIC_VectTab_RAM, 0x0);

#else /* VECT_TAB_FLASH */

/* Set the Vector Table base location at 0x08000000 */

NVIC_SetVectorTable(NVIC_VectTab_FLASH, 0x0); --->?

#endif

}

3, anything else?

jilisegiar
Associate II
Posted on May 17, 2011 at 12:27

The STM32F10xxx in-application programming using the USART(AN 2575) shows how to generate a binary file(same thing for hex file). There is a pre-configured example under:

STM32F10x_IAP_AN/IAP_AN/binary