Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).
Hi everyone, with a BF537 board if I change few function of a firmware, I know that one must recompile the application and reload the boot flash. I have a question about the ability to change only 1 module of an application that run on a custom board with BF537: it is possible reload on flash only the module that I changed, and not the entire application again? The application could be work in different models of boats, and every model has a different behavior, that is covered in few functions of my application. So for a costumer is useful and fast to load a little piece of flash. I know that the compiled firmware is relocated statically, and I don't know how tied togheter the main application with a module (few function that could be changed during life cicle). Please give me your suggestions regards, Maurizio
that should be pretty easy if you have segmented flash. Just put the modules you want to change in a specific block and only erase and reprogram that block. You will have to set up the linker file to make sure that addresses within that block are known to the rest of the system, but once you get the hang of it that is straight forward. The main trick is to understand your flash and make sure your modules will always fit within a fixed number of segments. Patience, persistence, truth, Dr. mike On Wed, 9 Jan 2008 v...@email.it wrote: > Hi everyone, > with a BF537 board if I change few function of a firmware, I know that one must recompile the application and reload the boot flash. > > I have a question about the ability to change only 1 module of an application that run on a custom board with BF537: it is possible reload on flash only the module that I changed, and not the entire application again? > > The application could be work in different models of boats, and every model has a different behavior, that is covered in few functions of my application. > So for a costumer is useful and fast to load a little piece of flash. > > I know that the compiled firmware is relocated statically, and I don't know how tied togheter the main application with a module (few function that could be changed during life cicle). > > Please give me your suggestions > > regards, > Maurizio >
have a look at Application Note EE-323 from ADI. ** <http://www.analog.com/UploadedFiles/Application_Notes/4112850638625827398EE_323_Rev_1.pdf&g t;http://www.analog.com/processors/blackfin/technicalLibrary/applicationNotes/index.html v...@email.it wrote: > > Hi everyone, > with a BF537 board if I change few function of a firmware, I know that > one must recompile the application and reload the boot flash. > > I have a question about the ability to change only 1 module of an > application that run on a custom board with BF537: it is possible > reload on flash only the module that I changed, and not the entire > application again? > > The application could be work in different models of boats, and every > model has a different behavior, that is covered in few functions of my > application. > So for a costumer is useful and fast to load a little piece of flash. > > I know that the compiled firmware is relocated statically, and I don't > know how tied togheter the main application with a module (few > function that could be changed during life cicle). > > Please give me your suggestions > > regards, > Maurizio > >