I´m starting to develop the bootcode for a c6727 EVM and came accross some questions which i was not able to clarify.
After reset the PC is set to 0x00000000 -> This is a read only location where the first stage bootloader is located.
In case of a boot from parallel flash this loader copies the first 1kb of data located at 0x90000000 at location 0x10000000.
0x10000000 - 0x10000400 contains my boot.asm code which inits the pins, pll, emif
after init the application code gets copied
my first questions according to SPRAAS8: the bootloader at 0x0000 0000 uses internal ram at 0x10000000 to
0x10000FFF for saving status information and working variables.
But isn´t the information lost in case of a parallel flash boot? since the first possible entry point for me is the my own bootcode at 0x1000 0000.
Where should i store my interrupt vector table?
Is it possible to debug the code using the simulator? I am new to CCS and did not find a possible way to "emulate" this kind of boot process.
I would need the code of the ROM content and place it at 0x0000 0000 to simulate the first stage bootloader. Is this correct or does there exist an other solution?
kind regards
Bernhard