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

ST Nucleo 476 Project Exported from mbed Not getting linked on Keil

Hello,

I have got a project in mbed on platform Nucleo-476 board, which sends ASCII characters to serial port. It compiles well and and when .bin file is downloaded in the board, it runs well.

I exported it to Keil uVision 5. It compiles correctly but just fails to link giving following message:

.\BUILD\476_Nucleo_send_Msg_To_PC.axf: error: L6218E: Undefined symbol Image$$RW_m_crash_data$$ZI$$Base ( referred from mbed/TARGET_NUCLEO_L476RG/ TOOLCHAIN_ARM_STD/ mbed_fault_handler.0).

It seems that some setting is required.

Will somebody help me please with the solution? thanks in advance.

Serial pc(SERIAL_TX, SERIAL_RX);

DigitalOut myled(LED1);

unsigned char i;

int main()
{
    pc.printf("Continuous Transmission Program Commences...\n");

    while(1)
    {
        for (i=0x20;i<=0x7F;i++)
        {
            wait(0.1);
            pc.printf("%c", i);// send character to PC
            myled = !myled;
        }
        pc.printf("\n");// send newline character
    }
}