Cannot build with Keil uVision5 - error: L6236E

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Cannot build with Keil uVision5 - error: L6236E

Jump to solution
1,818 Views
danielmilutinov
Contributor III

Hello, 

I've been using MCUXpresso with my IMXRT1050-EVKB board and am very happy with it.

However I would like to use Keil uVision5 sometimes because of the simulator option that enables one to debug code without having to download it to the IMXRT1050-EVKB board. 

I installed uVision5 and the MIMXRT1052_DFP pack:

Image 1.png

 I then started a new project:

Image 2.png

and checked the following options:

Image 3.png

However when I build I get a ".\Objects\v1.sct(7): error: L6236E: No section matches selector - no section to be FIRST/LAST." error:

Image 4.png

Please help!

0 Kudos
1 Solution
1,804 Views
carstengroen
Senior Contributor II

You need a SCT file (scatter file) for the linker. Look in one of the many Keil samples in the NXP SDK. There are Keil samples for all the examples (if you also selected Keil during the build/download of the SDK

View solution in original post

0 Kudos
2 Replies
1,805 Views
carstengroen
Senior Contributor II

You need a SCT file (scatter file) for the linker. Look in one of the many Keil samples in the NXP SDK. There are Keil samples for all the examples (if you also selected Keil during the build/download of the SDK

0 Kudos
1,786 Views
danielmilutinov
Contributor III

Thank you, that works nicely!

0 Kudos