AnsweredAssumed Answered

How can I update my firmware from uart with BF518F?

Question asked by mauri1106 on May 7, 2012
Latest reply on Jun 1, 2012 by mauri1106

Hi all.

       I'm using  BF518F to create my own application (using both internal spi flash memory and external sdram) and all works fine: I'm able to store data in internal spi flash memory, to read data from it and so on.

My application is completely stored in internal spi flash memory and the DSP boots from it without problems.

Now I would update the whole content of flash memory without using JTAG, but from my application: for this purpose I think to create in my application a function running, for example, in SDRAM, able to receive the new ".ldr" file from uart and store it in flash memory.

I know that ".ldr" file is an "intel hex" format but I'm a little confused on how to store every byte contained in the ".ldr" file into the correct flash memory location so that, after reset, the processor can start again with the new firmware release.

I've normally used this way to update firmware on different cpu with 8051 core, but I've never tried on blackfin.

Can I simply respect the usual hex format rules?

 

Thanks in advance for help

Maurizio

Outcomes