Small things changed. COG_startup(), COG_init(), COG_write_fixed_image(), COG_off() all confirmed logically correct. PWM confirmed around 140mhz which is between 100&300mhz so check. SPI freq is at 8mhz which is fine. Noticed Mega only fully functions when plugged into wall AND computer. Not sure why but unimportant as long as both are connected when testing. Next going to try debug with USART. Check work_log for what to check with USART debug. Can also check VGH, VGL, VDH and VDL to see board is getting correct voltages of 12,-12, 8 and -8v. Also checked wiring and it all mapped out correctly.
Merge branch 'master' of https://github.com/TuanMTruong/Senior_Design