AnsweredAssumed Answered

BF537' SDRAM init code project question....

Question asked by mazx on Oct 1, 2012
Latest reply on Nov 8, 2012 by mazx

Hi there,

I'm trying to setup an "init_code" project for BF537-based custom board to initialize SDRAM. When I'm compiling the project I'm getting the following error.

 

----------------Configuration: HW_Initializer - Debug----------------

Linking...

 

[Error li1021]  The following symbols referenced in processor 'p0' could not be resolved:

        'main [_main]' referenced from 'crtsf532y.doj'

 

Linker finished with 1 error

cc3089: fatal error: Link failed

Tool failed with exit/exception code: 1.

Build was unsuccessful.

 

******************************************

 

The error makes sense in the cotext of the project but what do I do to address it ? Do I need a custom LDF file?

 

Is there a document/tech note that steps you through on how to setup "init_code" projects for custom boards?

 

I've looked at the included INIT project example but that didn't help me much to figure out the solution.

 

My project has a single init file. The content is attached.

 

Thank you in advance.

Attachments

Outcomes