Understanding of (InRoot$$Sections) in keil mini2440 scatter loading file scatter

Publisher:SereneSunsetLatest update time:2022-05-12 Source: eefocusKeywords:keil  mini2440  scatter Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

After checking some information, I finally got to know

(InRoot

Sections) to load the image, and this section of code is ∗ (InRoot

Sections) to load the image, and this section of code is ∗ (InRoot

Sections) It is part of __main().


Starting from the startup code

Startup Code

1. Address table for exception/interrupt jumps.

2. Stack initialization

3. Scatter loading image files


IMAGE (image file)

1 RO,

1 RW,

1 ZI.


And the load region and execution region of RO are the same, and this is where

*(InRoot$$Sections)

The main function is to copy the RW area to RAM, and then create the ZI area behind the RW area.

This section exists in the library function __main function.

If you comment it out, a warning will be reported that the segment cannot be found.

Keywords:keil  mini2440  scatter Reference address:Understanding of (InRoot$$Sections) in keil mini2440 scatter loading file scatter

Previous article:ARM one scattered loading file (scatter) detailed description
Next article:Keil mini2440 bare metal code problem solving notes 1

Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号