AnsweredAssumed Answered

Project broken after installing Update 9

Question asked by PGaganoff on Feb 28, 2011
Latest reply on Mar 2, 2011 by PGaganoff

Hi!

 

My project is using VDK and LWIP and it worked perfectly till I installed recent update.

After opening project, IDE rewritten LDF and after recompiling and relinking it hangs exactly after LWIP started on ker_set_auxdata((void*)kADI_TOOLS_IOEThreadType);

Stack shows

stack.jpg

I found changes made to LDF:

IT WAS:

 

RESERVE(___wab0=MEMORY_END(MEM_L1_SCRATCH) - 75, ___l0 = 76)
RESERVE(___wab1=MEMORY_END(MEM_L1_CODE) - 75, ___l1 = 76)
RESERVE(___wab3=MEMORY_END(MEM_L1_DATA_B_CACHE) - 75, ___l3 = 76)
RESERVE(___wab5=MEMORY_END(MEM_L1_DATA_A_CACHE) - 75, ___l5 = 76)

RESERVE(___wab7=MEMORY_END(MEM_ASYNC3) - 75, ___l7 = 76)
RESERVE(___wab8=MEMORY_END(MEM_SDRAM0_BANK3) - 75, ___l8 = 76)

NOW:

 

RESERVE(___wab0=MEMORY_END(MEM_L1_SCRATCH) - 75, ___l0 = 76)
RESERVE(___wab1=MEMORY_END(MEM_L1_CODE) - 75, ___l1 = 76)
RESERVE(___wab4=MEMORY_END(MEM_L1_DATA_B) - 75, ___l4 = 76)
RESERVE(___wab6=MEMORY_END(MEM_L1_DATA_A) - 75, ___l6 = 76)

RESERVE(___wab7=MEMORY_END(MEM_ASYNC3) - 75, ___l7 = 76)
RESERVE(___wab8=MEMORY_END(MEM_SDRAM0_BANK3) - 75, ___l8 = 76)

 

Also

 

INPUT_SECTIONS($OBJECTS(.frt) $LIBRARIES(.frt))

was originally in L1_data_a, L1_data_b, sdram0_bank1, sdram0_bank2 sections.

Now it was moved to L1_data_b_tables only

 

found _basiccrt.s file also changed: lines removed

/////////////////////////////////////////////////////////////////
// standard
.start.end:        // Required by the linker to know the size of the routine
                // that is needed for absolute placement.

.global start;
.type start,STT_FUNC;
.global .start.end;                     //THIS LINE REMOVED
.type .start.end,STT_FUNC;
       //THIS LINE REMOVED

.extern _main;
.type _main,STT_FUNC;
.extern ldf_stack_end;
.extern __unknown_exception_occurred;
.type __unknown_exception_occurred,STT_FUNC;

I really dont understand all of this options, I just want my project to continue working, but this autochanges broken it. What am I suppose to do?

 

LWIP library was relinked with old options. Without relinking result is the same, so I doubting lwip library is the source of problem currently.

1) What is INPUT_SECTIONS($OBJECTS(.frt) $LIBRARIES(.frt))?

2) Where must I look in?

 

Thanks in advance, Paul

Attachments

Outcomes