Hello pals Can any one suggest as how to go about writing a BOOT code from ROM in case of TMS320C6211 DSP. C6211 copies 1k from CE1 to on chip mem. bye Nayaka
Catch all the cricket action. Download
Yahoo! Score tracker |
|
Booting from ROM
Started by ●January 20, 2003
Reply by ●January 20, 20032003-01-20
raja nayaka wrote : > Can any one suggest as how to go about writing a BOOT code from ROM in case of TMS320C6211 DSP. The bottom of your flash should contains a 2nd level bootloader. This software is copied by the hardware bootloader at the bottom of internal RAM after reset and should use less than 1KB of initialized code & data. Then I suggest that your code copy itself in upper parts of internal ram (this is easiest to avoid conflict with the downloaded application). This second bootloader will then download the real application from somewhere else in the flash memory. I suggest that you format the application in the flash with block to be downloaded in the form : 1 DW = number of DWORD to write 1 DW = address to write n DW = data for this block 1 DW = number of DWORD to write 1 DW = address to write n DW = data for this block etc .... 1 DW = 0 (mark the end of data to download) 1 DW = entry point of application It is very easy to write the 2nd level bootloader to manage such data format and download code from flash to memory USING QDMA I said again : USING QDMA - If you don't use DMA, you will have cache problems - QDMA is easier and need shorter code than EDMA for this application That is what we offer with our evaluation boards. Jean-Michel MERCIER -- dsp & imaging - www.ateme.com ATEME - 26 Burospace - 91573 BIEVRES Tel : +33 (0)1 69 35 89 73 (direct) Fax : +33 (0)1 60 19 13 95 |