Hello Everybody
I have imported a Keil project in to Arm Development studio but get the following error :Error: L6236E: No section matches selector - no section to be FIRST/LAST.Finished: 0 information, 0 warning and 1 error messages.
In Keil everything is ok - compiles and debugs.
The error comes from the fsp.scat file line 25
########################################
#ifndef DATA_FLASH_S_START#define DATA_FLASH_S_START DATA_FLASH_START#endif
#######################################
The memory_regions.scat file is below - also has errors hilied
Multiple markers at this line- Missing base address- Unknown attribute- Unable to parse content
/* generated memory regions file - do not edit */ #define RAM_START 0x20004000 #define RAM_LENGTH 0x4000 #define FLASH_START 0x00000000 #define FLASH_LENGTH 0x20000 #define DATA_FLASH_START 0x40100000 #define DATA_FLASH_LENGTH 0x1000 #define OPTION_SETTING_START 0x00000000 #define OPTION_SETTING_LENGTH 0x0 #define OPTION_SETTING_S_START 0x00000000 #define OPTION_SETTING_S_LENGTH 0x0 #define ID_CODE_START 0x01010018 #define ID_CODE_LENGTH 0x20 #define SDRAM_START 0x90000000 #define SDRAM_LENGTH 0x0 #define QSPI_FLASH_START 0x60000000 #define QSPI_FLASH_LENGTH 0x0 #define OSPI_DEVICE_0_START 0x68000000 #define OSPI_DEVICE_0_LENGTH 0x0 #define OSPI_DEVICE_1_START 0x70000000 #define OSPI_DEVICE_1_LENGTH 0x0
The fsp.scat is originally from a Renesas project example for Keil and its own IDE (estudio)
Any help would be much appreciated
Many thanks and have a nice weekend
Andy
Hi Andy,
This is not a scatter file - it is likely #include'd into an actual scatter file to define the various addresses used therein.
A scatter file has LOAD and EXECUTION regions defined, see for example:
https://www.keil.com/support/man/docs/armlink/armlink_pge1362066014602.htm
Can you share the project you are working with? It is probably best to do this via an official support case, which you can create via the Support menu at top of this page.
Hi Ronan, Thanks for the reply - I will submit a project to support sometime next week
Thanks Andy