Error: L6218E: Undefined symbol arch_asm_delay_us

Hi,

I'm trying to compile an example project (simple_button) from BLE_SDK6_examples (github.com/dialog-semiconductor/).

I have already the SDK installed and I have executed the python script as suggested (python dlg_make_keil5_env_v2.py -sdkpath “<path to your sdk repository>”).

When I try to compile the project it says the following error:

Rebuild started: Project: simple_button
*** Using Compiler 'V6.21', folder: 'C:\Keil_v5\ARM\ARMCLANG\Bin'
Rebuild target 'Simple_Button_531'
compiling exceptions.c...
assembling startup_DA14531.s...
compiling uart_utils.c...
compiling systick.c...
compiling system_DA14531.c...
compiling user_periph_setup.c...
compiling syscntl.c...
compiling main.c...
compiling otp_cs.c...
compiling gpio.c...
compiling hw_otpc_531.c...
compiling uart.c...
compiling arch_system.c...
linking...
.\out_DA14531\Objects\simple_button_531.axf: Error: L6218E: Undefined symbol arch_asm_delay_us (referred from uart.o).
Not enough information to list image symbols.
Not enough information to list load addresses in the image map.
Finished: 2 information, 0 warning and 1 error messages.
".\out_DA14531\Objects\simple_button_531.axf" - 1 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:00:01

I don't know what to do to remove this error.

Can someone help me?

Thanks.

Best regards

Parents Reply
  • Hi Javier,

    Thank you for the reply.

    Thanks a lot for your help, the link is useful. I've been able to debug DA14531MOD from the USB Dev Kit with cables connected to my board.

    Glad you were able to debug and program your custom board via the USB Dev Kit.

    I'm able to debug and sometimes the device can be programmed.

    Do you have any clue why this is happening?

    Thanks.

    The Renesas SmartBond Flash Programmer is a Development Tool and not a Production tool.
    Unfortunately, we can not guarantee that it is going to work 100% of the time while testing.
    The issues you are witnessing should be related to noise on the SWD lines. 
    Please use as small as possible (in length) wires to connect the custom board with the SWD interface on the USB Dev Kit.

    You can also try to work with the SmartSnippets Toolbox. It requires some more steps in order to program a device, but on the Log window you can receive debug messages that would make us understand why the programming might have failed.

    Best Regards,
    OV_Renesas

Children
No Data