BF514F Flash Programming

Hi everyone,

I am trying to load a program into the internal SPI Flash memory of the BF514F processor. The program simply toggles two LEDs I have on my custom board and I have tested it in debug mode and it works fine. I used the Flash Programmer provided by vinodbableshwar on the Engineer Zone (http://ez.analog.com/message/39260#39260 - second to last post). The Flash Programmer loads fine on my processor using the USB-ICE JTAG Debugger. I have built my LED test program into an LDR file with the following settings:

Project Type: Loader file

Load -> Options -> Boot Mode: Flash/PROM / SPI (tried both)

                       Boot Format: Intel Hex

                       Output Width: 8-bit / 16-bit (tried both on the Flash/PROM Boot Mode Setting)

                     Use default start address: Checked

No boot kernel

No ROM splitter

After I program the LDR file through the Programming Tab in the Flash Programmer (VisualDSP++ Update 10) I try to compare what is written to the LDR file itself and I receive an error that the value in the flash does not match that of the file selected (starts at offset 0x00000000 and keeps going from that point forth). I was wondering if there is anything that I could potentially be missing that might cause the LDR to not load properly to flash memory. I am using custom hardware so it is very possible that there is a hardware error, however, I want to make sure I don't miss any software errors before I move to debugging hardware.

Any suggestions would be greatly appreciated.

Thank you,

Nima Haghighi-Mood

  • 0
    •  Analog Employees 
    on Apr 24, 2012 3:21 AM

    HI Nima,

    It seems that flash reading operations are working fine on your board. But Program cycles have some issues.

    Because while loading driver code, it reads Device and Manufacturing code of flash and compares with known values. If it matches then only Driver code is ready to accept further commands (in second tab of GUI).

    I suspect the IDDFLASH current is not sufficient on your board to perform the write operations. For write operations required IDDFLASH current is more compared to that of required for read operations. So, I agree with you that you need to check your board design. From what source you are supplying VDDFLASH (I mean is it capable of supplying required IDDFLASH?. Refer Datasheet for more details)

  • 0
    •  Analog Employees 
    on Aug 2, 2018 4:35 PM
    This question has been assumed as answered either offline via email or with a multi-part answer. This question has now been closed out. If you have an inquiry related to this topic please post a new question in the applicable product forum.

    Thank you,
    EZ Admin