Post Go back to editing

Boot loader and firmware flashing on BF514F16

Just a newbie question here, Is there any step by step tutorial  on how to flash a Boot loader and firmware into Blackfin BF514F16 using ICE1000 and visual DSP? I have the Boot loader and firmware both in .LDR files  downloaded from the manufacturer site.

Can these .LDR needs  to be converted to .DXE to work on visual DSP? 

Thanks in advance.



tagged
[edited by: GenevaCooper at 1:45 PM (GMT -5) on 29 Jan 2024]

Thread Notes

Parents
  • Hi,

    We suggest to refer the Readme.txt available in the VDSP installation path to get details about loading .ldr file in flash:
    < VDSP installation path >\VisualDSP 5.1.2\Blackfin\Examples\ADSP-BF518F EZ-Board\Power_On_Self_Test\readme.txt
    Regarding "Can these .LDR needs to be converted to .DXE to work on visual DSP?"
    >>>There is no way to convert LDR files to DXE files.LDR (Loader) files and DXE (Dynamic eXecutable) files are using for different purposes.
    LDR files are associated with the loading or bootloading of programs or firmware into a target device's memory and DXE files is an executable file that contains the compiled code and data for a specific application or program intended to run on a DSP.
    We suggest to refer the EE-240(ADSP-BF533 Blackfin® Booting Process).Please find the below link,
    Regards,
    Divya.P
Reply
  • Hi,

    We suggest to refer the Readme.txt available in the VDSP installation path to get details about loading .ldr file in flash:
    < VDSP installation path >\VisualDSP 5.1.2\Blackfin\Examples\ADSP-BF518F EZ-Board\Power_On_Self_Test\readme.txt
    Regarding "Can these .LDR needs to be converted to .DXE to work on visual DSP?"
    >>>There is no way to convert LDR files to DXE files.LDR (Loader) files and DXE (Dynamic eXecutable) files are using for different purposes.
    LDR files are associated with the loading or bootloading of programs or firmware into a target device's memory and DXE files is an executable file that contains the compiled code and data for a specific application or program intended to run on a DSP.
    We suggest to refer the EE-240(ADSP-BF533 Blackfin® Booting Process).Please find the below link,
    Regards,
    Divya.P
Children
  • Hi Divya,

    Thanks for your reply, Here is my situation The .LDR bootloader and firmware  files that I have came from manufacturers website. I'm using ICE1000 as the programming device.

    but when I tried to load the .ldr file to Visual DSP it's saying file is invalid or damaged. is this mean I need to have the bootloader and firmware in DXE format to flash this on the chip?

    is there a way I can load the .ldr file  on visual DSP?

    Thanks,

  • Hi Noliem,

    Regarding "is this mean I need to have the bootloader and firmware in DXE format to flash this on the chip?"
    >>>No, it's not possible to flash in DXE format to the chip.

    Regarding "is there a way I can load the .ldr file  on visual DSP?"
    >>>Yes, you can load .ldr format in flash.

    We recommend to refer topic "V.  USING LOADER FILES" in the "Readme.txt" available in the below VDSP installation path which provide steps to program the .ldr file into flash
    < VDSP installation path >\VisualDSP 5.1.2\Blackfin\Examples\ADSP-BF518F EZ-Board\Power_On_Self_Test\readme.txt

    Please follow the steps and let us share the screenshots of error along with steps if you are facing any issues.

    Regards,
    Divya.P

  • Hi Divya,

    Thanks for your help, after reading and trials it finally make sense to me how to do it. but I'm having another issue which I don't understand what causes it.

    when I programed the flash it does not do anything for 20 minutes the progress bar showing nothing and it will show a message Error: Failed erasing affective field when Erase affected  in pre-program erase option is chosen. see pic attached.  and when I chose Erase All, it will show Error: Failed erasing Flash, see pic attached.  it also showing error if I chose Erase Base on map. see pic attached.

    If a choose No erase, it will work programming the flash, but I does not seems to be overwriting the old firmware. I put a new firmware in and after successful programed, it was still on the old firmware.

    I'm using an Ice 1000 and connecting to a consumer product with Blackfin BF514F16 processor.  i used the BF518FEzFlashDriver_M25P16 as the loader.

    Can they  put the processor core in Secure entry mode or secure mode? preventing  the flash to get erase?

    any idea how to circumvent this issue?

    Thanks,

  • Hi Noliem,

    1) Since you are using custom board, please share the silicon revision of your board, and the flash part you are using?
    2) Did you use the loader file from the manufacturer's website or created an simple application?
    3) Is it possible to change the boot mode to '0' and then debugging the simple LED application. Then flash the simple LED application and check whether the error occurs during flashing.

    Regards,
    Ranjitha R