Part Number: TMDSCNCD28388D Hi I'm testing pto_abs2qep Example via TMDSCNCD28388D This Example can run correctly from RAM.. But Not Flash.. and this has no 'Build Configuration for Flash' .. so I made it below is my work 1. add f2838x_codestartbranch.asm and change entry_point to code-start. 2. change cmd file to 2838x_flash_lnk_cpu1.cmd 3. add define "_FLASH" 4. remove "__attribute__((ramfunc))" for int16_t main(void) after that I can run Example from Flash via Debug window.. But when I try to Stand Alone booting.. the board is not working... the other (led example) is work properly.. and I found one thing.. when I comment out "pto_abs2qep_runPulseGen()" from pto_abs2qep_setupPeriph() and all of pto_EPWM3ISR() code then board can boot stand alone.. is there any suggestion..??? or can i get pto_abs2qep Example for FLASH booting?
↧