AnsweredAssumed Answered

ldf question

Question asked by Tom00 on Oct 19, 2011
Latest reply on Oct 21, 2011 by CraigG

Hello!

 

I observed a strange behavior of my program, if I placed code/data into the sdram (start address 0x4). With an offset (sdram start address 0x100) everything is fine.

In the mapping file I saw that the complier place some variables (___l1_code_cache, ___l0, ___l1, etc) into the sdram, which overlay with the external program code/data. I assume this caused by problems, but I don't understand why these variables are placed in the sdram nor the purpose of the variables.

I am using the Default LDF file for the BF518 (see attachment).

 

Can I delete these variables?

 

-Thomas

 

 

LDF symbols

Symbol Address
___wab00xffb00fb4
___l00x4c
___wab10xffa13fb4
___l10x4c
___wab20xffa07fb4
___l20x4c
___wab50xff907fb4
___l50x4c
___wab70xff807fb4
___l70x4c
___wab80x203fffb4
___l80x4c
___wab90x1ffffb5
___l90x4c
___l1_code_cache0x0
___l1_data_cache_b0x0
___l1_data_cache_a0x0
stack_and_heap_in_L1_data_a0xff802000
stack_and_heap_in_L1_data_a_length0x5fb4
ldf_stack_space0xff802000
ldf_stack_end0xff805304
ldf_heap_space0xff805308
ldf_heap_end0xff807fb4
ldf_heap_length0x2cac

Attachments

Outcomes