vdk lwip project

An ethernet communication is established using lwip with vdk on blackfin processor BF527. When it is executed in debug mode using emulator, it works well, whereas when the code is booted after loading from an external FLASH (4MB) it doesn't work at all? Is there any file missing to be added or is it due to some other issue related to initialization or linking?

regards

sandeep

  • +1
    •  Analog Employees 
    on Dec 1, 2020 7:24 AM

    Hi,

    Please ensure that you are selecting the boot mode option as 'Flash/PROM' when generating the loader file. This option will boot the processor from external Flash in the ADSP-BF527 EZ-Board.

    Please note that SW2 (Boot Mode Select) is used for booting purpose.

    The Boot Mode selection switch selects between the different boot modes of the processor. The Boot Mode Switch table shows the available boot mode settings. You can refer the Boot Mode Switch table in pg no 2–11 of the below linked Ez-kit manual:
    www.analog.com/.../ADSP-BF527_ezkit_man_rev.1.7.pdf

    Have you chosen the correct boot mode for external flash, Please ensure, once flashing has been completed we would recommend you try changing the boot mode SW2 (0 to1) pin on the target, power cycling the board and check.

    Please refer the ADSP-BF52x Blackfin Processor HRM Manual from the below link:
    www.analog.com/.../ADSP-BF52x_hwr_rev1.2.pdf

    Also, could you please try add the init code in the project via "load > Option > initialization file" and try booting the LDR.

    The sources and prebuilt executables for the init codes for the ADSP-BF527 EZ-KIT Lite are available in below installation path,
    <installation path >\Analog Devices\VisualDSP 5.1.2\Blackfin\ldr\ezkitBF527_initcode.dxe

    Please refer the below FAQ's to load program to flash on EZ-KIT

    FAQ: How to load and run a program from flash on an EZ-KIT in VisualDSP++?
    ez.analog.com/.../faq-how-to-load-and-run-a-program-from-flash-on-an-ez-kit-in-visualdsp

    FAQ: How to debug a target board which boots from Flash?
    ez.analog.com/.../faq-how-to-debug-a-target-board-which-boots-from-flash

    If still you are facing issues, Can you please answer the below questions.
    1. Could you please confirm whether you are using Ez-kit or custom board.
    2. Please confirm whether you are able to boot simple project successfully in your target board.
    3. Are you using different external flash part, please confirm the flash driver that you are using.

    If this doesn't helps,can you please explain your exact issue in detail. Also, please share us your project which replicates this issue along with steps to reproduce.This will help us to assist you further.

    Regards,
    Nishanthi.V