Post Go back to editing

ADSP-21062: Modifying the bootloader


I would like to know how I can modify the bootloader and generate a hex file for it.

My situation is as follows:

I have an EPROM with number of sectors. I will put the bootloader in sector 0 and put my DSP image in another sector. I want to create these two images separately and write to the EPROM. So I want to modify the default bootloader to point to the sector address where the DSP image is located at. By default the bootloader will look at the offset table and find the offset in the get_address routine. I want to remove this routine and manually insert the address of the starting sector to register R3 (this is the register that finally gets the value to be copied to EI6).

My problem is, after I modify the bootloader, how could I create the hex file to write to the EPROM. What options should I? In a normal case have to define the bootloader to use. But since I'm trying to have a bootloader, how can I go about doing this?

Thank you.