
Technical discussions about the TI C6000 DSPs (including the c62x, c64x and c67x DSPs).
hi this is chandrasekhar.. my board is having TMS320C6727 DSP with EEPROM(8k), RTC etc., the primary bootloader is copying first 4K of bootcode from EEPROM into RAM and it is executing.. now i want to copy next 4K from EEPROM.. is there any pre-defined routines available to copy it to RAM? Can anyone help me in solving this problem? Thanks and Regards Chandrasekhar______________________________
HI Chandrasekhar According to the bootloader guide, the bootloader copying first 4K of bootcode from EEPROM into RAM. The system then distribute the rest of application code into the RAM (internal or external) based on the first 4K. So as long as you define all the section to internal RAM in the link file (.cmd). The DSP will do the rest for you. Good luck Peter hi > this is chandrasekhar.. my board is having TMS320C6727 DSP with EEPROM(8k), RTC etc., the primary bootloader is copying first 4K of bootcode from EEPROM into RAM and it is executing.. >now i want to copy next 4K from EEPROM.. is there any pre-defined routines available to copy it to RAM? >Can anyone help me in solving this problem? >Thanks and Regards >Chandrasekhar >______________________________
Chsekhar, One of the standard library functions will do the job very nicely. That function is memcopy() written as memcopy( void * flash address, void * RAM address, UTYPE length in addresses); R. Williams ---------- Original Message ----------- From: Chsekhar Prattipati <c...@yahoo.com> To: c...@yahoogroups.com Sent: Mon, 19 May 2008 07:18:20 -0700 (PDT) Subject: [c6x] Regarding TMS320C6727 DSP ROM On-chip bootloader > hi > this is chandrasekhar.. my board is having TMS320C6727 DSP with EEPROM(8k), RTC etc., > the primary bootloader is copying first 4K of bootcode from EEPROM into RAM and it is executing.. > now i want to copy next 4K from EEPROM.. is there any pre-defined routines available to > copy it to RAM? Can anyone help me in solving this problem? Thanks and Regards Chandrasekhar ------- End of Original Message -------