Question
Moved correct code doesn´t work
Posted on March 24, 2013 at 14:39
Hello, I have really strange problem.
1) I have correct working code placed in main() function (for example for generating DC signal). It is working, but when I move this part of code into some function for example generateDC(), it doesn´t generate anything. My code has about 20 kB. Is it possible that there is some problem with memory or ST-link? (wrong setted memory in target options) 2) Or I have function generateDC() in file main.c and it works. But when I move this function into another file on row 400, it doesnt work. Thank you for answeres. Only for information I use STM32F3 Discovery kit.