Other Parts Discussed in Thread: TMS320F28335
Hi,
I have set up two 32by 8 SRAMs to be connected to ZCS6. I am successfully able to write byte wide data to any memory location in the SRAMs. I want to see if I can run program code off the SRAM but this part is a bit more tricky. Does anyone know that if you can use Code Composer to load program code into the SRAM from the linker step? There is a pitfall here as I only know how to set the necessary signals for the SRAM once the program is already loaded in the internal memory. Is there a way to load program data to the SRAM during assembly and linking step and have the necessary signals for the SRAM already set prior?
The other method I have used is to try to load my code into the external memory once its already in the internal memory. I do this by first setting the signals for the SRAM, then going line by line in my program space and move that data into the SRAM. Then I set the PC counter in the debug step and run it from the beginning address of the SRAMs. This also fails as it is more tedious, requires me to get rid of my subroutines (since the subroutines already have the addresses set based on the original memory space), and also have inexplicable erroneous data within the SRAM's program space that occur during the copying stage.
Any ideas of what might be good way to do this?
Thanks.