Post Go back to editing

ADSP-21062: Modifying the bootloader

Hi,

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.

Parents
  • Harshit,

    Thank you very much for the links. I had gone through EE-56 and the linker manual and created a .dxe with the modified bootloader. But I was lost at how to convert this to a HEX file.

    I followed Jeyanthi's advice and appended a small dummy program to the modified bootloader and created a HEX file to write to EPROM.

    Thank you for EE-345. I didn't come across it before. It has very useful information.

    Regards,

    Maduranga

Reply
  • Harshit,

    Thank you very much for the links. I had gone through EE-56 and the linker manual and created a .dxe with the modified bootloader. But I was lost at how to convert this to a HEX file.

    I followed Jeyanthi's advice and appended a small dummy program to the modified bootloader and created a HEX file to write to EPROM.

    Thank you for EE-345. I didn't come across it before. It has very useful information.

    Regards,

    Maduranga

Children
No Data