hi now the chip I am using is tms320c6201 ,the reset mode is to boot from external flash memory and the memory map is selected for map1. when initialized sections are burned to flash memory, the flash memory distribution is as follows : the .vec and .text sections are located in the first 64k and the .vec is at the 0x1400000. the .cinit and .data sections' location begins with 0x1410000. as described above, when power is on, the first 64k in the flash memory is automately copied into interal program memory( that is to say: 0 address), after that, program begins to execute some initialization,the .cinit section is copied into the .bss section, finally, main program begins to run. something I don't understand is that when the .data section is copied to interal data memory and how can i do this? otherwise, from the work I have finished, I find that the main progam can still work normally even if I don't consider the .data section. why is so? please help me. thank you very much! |
|
when burning program.......
Started by ●June 29, 2003
Reply by ●July 1, 20032003-07-01
hi, "The assembler creates the default sections .text, .bss, and .data.The C/C++ compiler, however, does not use the .data section." Wang Tao ShangHai, China ----- Original Message ----- From: "inquinsitive" <> Date: Sun, 29 Jun 2003 15:48:02 -0000 To: Subject: [c6x] when burning program....... Re: hi Re: now the chip I am using is tms320c6201 ,the reset mode is to boot Re: from external flash memory and the memory map is selected for map1. Re: when initialized sections are burned to flash memory, the flash Re: memory distribution is as follows : Re: the .vec and .text sections are located in the first 64k and Re: the .vec is at the 0x1400000. Re: the .cinit and .data sections' location begins with 0x1410000. Re: as described above, when power is on, the first 64k in the flash Re: memory is automately copied into interal program memory( that is to Re: say: 0 address), after that, program begins to execute some Re: initialization,the .cinit section is copied into the .bss section, Re: finally, main program begins to run. Re: something I don't understand is that when the .data section is Re: copied to interal data memory and how can i do this? Re: otherwise, from the work I have finished, I find that the main Re: progam can still work normally even if I don't consider the .data Re: section. why is so? Re: Re: please help me. Re: thank you very much! Re: Re: Re: Re: _____________________________________ Re: Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer. You need to do a "reply all" if you want your answer to be distributed to the entire group. Re: Re: _____________________________________ Re: About this discussion group: Re: Re: To Join: Send an email to Re: Re: To Post: Send an email to Re: Re: To Leave: Send an email to Re: Re: Archives: http://www.yahoogroups.com/group/c6x Re: Re: Other Groups: http://www.dsprelated.com Re: Re: Re: ">http://docs.yahoo.com/info/terms/ Re: Re: -- __________________________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup |