Hello everyone.
I have written a program for C6747 that downloads a COFF binary file from a host pc through a USB 2.0 connection (a flavor of a secondary bootloader). The host program processes the COFF file and sends the C6747 USB device the data and address of each section to write the data. Once the data has been written to its correct place in memory, the secondary bootloader jumps to the entry address. I have been able to successfully download and run a small test binary file. However, when it comes to a much larger binary file, the program will not run after jumping to the entry address.
After jumping to the entry address of the downloaded executable, it seems to go through a c_int00 routine, however, it never makes it to the main subroutine. Should I compile and link my own c_int00 subroutine to the applicaiton to be downloaded? If so, how do I compile and link boot.c with the project to be downloaded?
Can someone give me some insight as to any additional steps that has to be done in order to get the downloaded binary/executable to run?