. \OBJ\TEMPLET.SCT (7): Error:L6236E:No section matches selector-no sections to be first/last.
This error has always occurred when using KEIL4 to compile the connection project, which is a bit strange; devices is 32f101rb, the boot file is. MDS, so
Flash selection should not be a problem. However, replace the. MDs with. HDS without error. Found on the Internet, try to configure the next linker, but still not.
Helpless under will. The SCT file was edited and blocked a line (full text below):
; *************************************************************
; Scatter-loading Description File generated by uvision * * *
; *************************************************************
Lr_irom1 0x08000000 0x00040000 {; load region size_region
Er_irom1 0x08000000 0x00040000 {; Load address = execution Address
*.O (RESET, +first)
* (inroot$ $Sections)
. Any (+ro)
}
Rw_iram1 0x20000000 0x0000c000 {; RW data
. Any (+RW +zi)
}
}
The third line of "*.O (RESET, +first)" is blocked here, as follows:
Lr_irom1 0x08000000 0x00040000 {; load region size_region
Er_irom1 0x08000000 0x00040000 {; Load address = execution Address
; *.O (RESET, +first) (Shield off)
* (inroot$ $Sections)
. Any (+ro)
}
Rw_iram1 0x20000000 0x0000c000 {; RW data
. Any (+RW +zi)
}
}
After the compile again without prompting the error, but still do not know what the meaning, not knowing will affect the use after, shelf bar
Hehe, the above procedure is completely wrong, this SCT file is 256KB Flash files, should use 128KB Flash files. Just in the net
Found the problem, the original: http://blog.21ic.com/user1/8088/archives/2011/86377.html.
The point is that the startup file in the Library HD.S option two options Include in Target build and always build, and Md.s does not select both.