AnsweredAssumed Answered

Resolving CodeWarrior Segment Data Warning

Question asked by crezyoz on Jun 29, 2015
Latest reply on Jun 30, 2015 by crezyoz

I am working with CW 10.6.4 . It is a PE project for the K70 using the TWR. When attempting to download to the board I get the message

 

"Errors exist in project, Continue? "

 

Yet, there are no errors in the problems window.

 

There is this in the warnings, but I have no clue what it is referring to as clicking on it goes nowhere.

 

Description    Resource    Path    Location    Type

Segment data have to begin at address aligned to 2048 Please align ORIGIN of data segment to 2048

 

Why is there no error in the problems window?

 

What do you think the segment warning refers to?

 

Here is the excerpt from my linker file

 

MEMORY {

  interrupts  (RX) : ORIGIN = 0x00000000, LENGTH = 0x000001E8

  code        (RX) : ORIGIN = 0x00000410, LENGTH = 0x000FFBF0

  data        (RW) : ORIGIN = 0x1FFF0000, LENGTH = 0x00020000

  cfmprotrom  (RX) : ORIGIN = 0x00000400, LENGTH = 0x00000010

}

 

 

UPDATE: Well, it appears this error was from another project in the workspace and was CLOSED, and NOT a required project for the one I was building.

Is that a bug ?

 

Yes, it is.

Outcomes