2008-03-19 06:05 PM
splitting code in two parts using the scatter file
2006-06-21 10:38 PM
Hello,
I want to load and execute my program in bank0 and bank1 of internal flash. Some files must be copied in bank0 and some files in bank1. For this I must split code in two parts using the scatter file. Did somebody already do that? Thanks2006-06-27 07:06 PM
It doesn't function. The compiler returns an error message.
Here is the scatter file: BANK0 0x40000000 ; for bank0 of flash { FLASH_B0 0x40000000 { 71x_vect.o (Vect, +First) 71x_init.o (Init) * (+RO) } RAM_0 0x20000000 { * (+RW) * (+ZI) } } BANK1 0x400C0000 ; for bank1 of flash { FLASH_B1 0x400C0000 { flash_prog.o (+RO) ; code of flash_prog file } RAM_1 0x20008000 { flash_prog.o (+RW,+ZI) ; data of flash_prog file } } Here is the error message: Error S0025 (Server): Unable to write memory at specified addr while Loading File. Failed loading 'P:\Gestion Flash Memory SPI\Update STR710 - 28juin 7h10 - soft courant\Debug\soft_duj.axf' Flash opened on ARM7TDMI_0:ARM-ARM-USB for 'STARM71xF On-Chip Flash' at '0x40000000' Error: Flash already opened at 0x400C0000 - only one allowed Error: Unable to write Program memory at 0x400C0000 Error S003B (Server): Failed opening/reading Flash method file2008-03-19 06:05 PM
Does anyone know how to fix those two errors, S0025 and S003B?