We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello! I am using Analog Device's ADUCM355 chip.
I am trying to program using Keil's examples, but when I try to build the code, I keep getting the error message "64KSRAM.sct(7): error: L6236E: No section matches selector - no section to be FIRST/LAST."
How can I resolve this issue?"
You have not shown everything, but I suspect that the init code is not actually being linked into the application.
Can you add --keep init.o (set as appropriate) to the linker command line.
Which compiler are you using to build the image? If using Arm Compiler 5, you cannot use CMSIS6, which I see is selected in your Run Time Environment Manager.
I am using Arm Compiler 6. I added the code to the linker command line, but the same error keeps occurring...
How can I resolve this issue..??
You would set this in the Target Options
I've changed the settings, but the error still occurs.
Also, when changing the settings, the '--keep init.o' added to the linker command line is removed.
Try adding --entry __vector_table to the linker Misc controls.
It may also be useful to look at the object file of that startup file (fromelf -c) to make sure that the ELF section is indeed named RESET. Are you using link time optimization?