Hi Mark,
now it works fine, also with timers interrupts.
1) I have disabled "Generate Linker file" in Build Option in PE, and edit it manually as your indication:
MEMORY {
m_interrupts (RX): ORIGIN = 0x00008080, LENGTH = 0x000000F8
m_cfmprotrom (RX) : ORIGIN = 0x00008400, LENGTH = 0x00000010
m_text (RX) : ORIGIN = 0x00008410, LENGTH = 0x00017BF0
m_data (RW): ORIGIN = 0x1FFFE000, LENGTH = 0x00002000
}
2) In "User code after PE Initializzation" in Build Option I have added , that is visible after building in CPU.c file:
//:::::::::::::::::::::::::::::::::::::::::::::::::::::::
// USER CODE AFTER PE INITIALIZATION
uint32_t *pdst ;
uint32_t *psrc;
uint16_t i ;
// Copy Application Stored Interrupt Vector table to RAM
pdst=(uint32_t*) (0x1FFFE000 );
psrc=(uint32_t*)( 0x8080 );
for (i=0;i<0xF8;i++,pdst++,psrc++)
{ (*pdst) = (*psrc);
}
// Then redirect the vector table to RAM by changing the SCB_VTOR like this:
// Redirect the vector table to the new copy in RAM
SCB_VTOR = (uint32_t)(0x1FFFE000);
//:::::::::::::::::::::::::::::::::::::::::::::::::::::::
Using only a MSD boot ,esist an easily mode to enlarge the application program (over 70K as writen in reademe file) ?
Thanks