This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Link Error

Hello!
I got some error messages during linking procedure as below.

linking...
*** ERROR L110: CANNOT FIND SECTION OR REGBANK SECTION: ?PR?PFLASH CLASS: FLASH_CODE
*** ERROR L127: UNRESOLVED EXTERNAL SYMBOL SYMBOL: _PR_PFLASH_s_ MODULE: MAIN.obj (MAIN)
*** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL SYMBOL: _PR_PFLASH_s_ MODULE: MAIN.obj (MAIN) ADDRESS: 0014H
*** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL SYMBOL: _PR_PFLASH_s_ MODULE: MAIN.obj (MAIN) ADDRESS: 0018H
Target not created

The code is listed below the error messages with user classes and user sections.

User Classes - SROM(0x18200-0x1FDFF)
User Sections - ?PR?PFLASH%FLASH_CODE(0x00F800)[!]

SROM_PS(PFLASH)

void main(void)
{
    unsigned int ui_received, ui_send;

    hmemcpy(SROM_PS_TRG(PFLASH), SROM_PS_SRC(PFLASH), SROM_PS_LEN(PFLASH));

    Project_Init();

        while (1)
        {
                // Receive a data from PC
                ui_received = ASC_uwGetData();

                ui_send = ui_received;

                // Resend the data to PC
                ASC_vSendData(ui_send);

        }
}

I would appreciate it if anybody tells me how to fix this error. Thanks.

-Yoong-Goog Cho