Hi everyone,
I currently have a fully working project which runs both with the evm5515.gel and with a target configuration with no gel file provided. I set up the PLL in the beginning of my main function (as I need to anyway) and have made no other changes.
When I try to create a boot image from the .out file produced and then program it onto the EEPROM, it does not work (as covered in another thread, here http://e2e.ti.com/support/dsp/tms320c5000_power-efficient_dsps/f/109/t/125439.aspx).
Is there anything that I might have missed or have done incorrectly?
Many thanks,
Antony
Edit: I have just checked again and the project does not seem to work with the no-gel file target configuration, I think I may have loaded the other target configuration first to test and then this left everything as it needed to be when I loaded the other.
I have now added the following lines which seem to get it to work with no gel file intermittently, It as worked once, but now the hwafft function I call in the code seems to return all zeros (that is it actually sets the output vectors to zeros rather than simply doing nothing).
SYS_PCGCR1 = 0x0000;
SYS_PCGCR2 = 0x0000;
PER_RSTCOUNT = 0x08;
PER_RESET = 0x00fb;
for (i=0; i< 200; i++);
IDLE_ICR = 0x000E;
EDIT 2: If I 'reset CPU' from the control panel before I load the code, the hwafft function seems to work once again. What is it changing that needs to be changed?
Any ideas?