Technical discussions about the TI C28x DSPs (including the C2810, C2811, C2812, F2801, F2806, F2808, F2810,, F2811, F2812, R2811 and R2812).
Hello, I am currently stuck with the following situation: I have two C projects that need to run on one C2812. Both projects contain assembler instructions to jump to the starting point of the other program. Both programs run perfectly independent and share the same ram sections. They are placed in different flash banks and only one project writes the start vector. However, I have not yet found a way to put both projects into one .out file. I have already tried the incremental linking process, but the linker fails to merge the two out files with the message >> application error: cannot find abbreviation table entry for code 0x64 warning: unrecognized tag 0x0 >> fatal error: errors occurred while processing DWARF information Currently the only way to put both programs into flash is to use the flash programmer and 1. make a full erase, put program "foo" in e.g. flash sectors B, C, D, E and write the start vector in sector A. 2. change the project, untick sectors A,B,C,D,E in the erase sector selection and flash program "bar" in sectors F,G,H,I,J. Is there any way to flash only once? Regards, Michael You can post a message or access and search the archives of this group on DSPRelated.com: http://www.dsprelated.com/groups/c28x/1.php _____________________________________
Michael, A small time saving in programming could be achieved by using the "smart sector selection" feature of C2oooProg. Also, this programmer can be called from the command line, so you could write a batch file which automatically flashes the DSP twice. Cheers, On 7/25/07, Michael Brunotte <m...@mixed-mode.de> wrote: > Hello, > I am currently stuck with the following situation: I have two C projects > that need to run on one C2812. Both projects contain assembler > instructions to jump to the starting point of the other program. Both > programs run perfectly independent and share the same ram sections. They > are placed in different flash banks and only one project writes the start > vector. > However, I have not yet found a way to put both projects into one .out > file. I have already tried the incremental linking process, but the linker > fails to merge the two out files with the message > > >> application error: cannot find abbreviation table entry for code 0x64 > warning: unrecognized tag 0x0 > >> fatal error: errors occurred while processing DWARF information > > Currently the only way to put both programs into flash is to use the flash > programmer and > 1. make a full erase, put program "foo" in e.g. flash sectors B, C, D, E > and write the start vector in sector A. > 2. change the project, untick sectors A,B,C,D,E in the erase sector > selection and flash program "bar" in sectors F,G,H,I,J. > > Is there any way to flash only once? > > Regards, > Michael > > >