Other Parts Discussed in Thread: C2000WARE
I am trying to use two cores CPU 1 and CPU 2 for my application. My CPU 1 runs all codes for PWMS, ADC and other peripherals. However, I am reading the ADC Result Registers in CPU 2 also and using the same for Short Circuit Protection( which is a time critical task). I want both the codes of CPU 1 and CPU 2 to be run on Flash. It does so when I dump codes in the flash of respective CPU. However, if I reset the power to the DSP (i.e turning off and then again turning on), I am not getting the expected behavior from CPU2. By expected behavior I mean that in the code for CPU2, I have toggled a GPIO in the main function and set it to high. On resetting when I observe the status of the GPIO in scope, I donot see it to be high.
Note: I have not attached the debugger after reset. My requirement makes it so that I have to dump code one time and on simultaneous runs even after reset it should be running from both cores.
If anybody can assist on this, it would be helpful enough.
Thanks,
Prarambhik Sur
(Sr. R&D Engineer, Hind Rectifiers)
