I have just inherited the job of maintaining our current source code. We are using winIDEA 2007 to develop/debug an MCF5329 micro. I have managed to build the code and download it. I can run, halt and run again and the execution pointer moves within the dis-assembly. The problem I am having is that if I try and set a break point (F9) within the C source code it will not let me, it does not even give an error. I have also noticed that if I single step the code the execution pointer will move in the dis-assembly but there is no pointer in the C source and the C source does not move.
Any Ideas?
Jason
I now know that we are using Codewarrior though I do not know how to check if it has been linked to winIDEA correctly.
Jason
Well, it is not clear what your issue is.
Is it with Codewarrior or winIDEA? If it is with Codewarrior, you may get and answer here. If it is with winIDEA you should contact isystem tech support or thier forums.
Hello Jim,
The issue is that I cannot set breakpoints within the C source code that is viewed through winIDEA. Codewarrior is producing the compiled code and winIDEA will download it to the target and allow for run, halt and single step. Obviously not being able to set breakpoints within the C source makes debug somewhat difficult.
The issue I think is that Codewarrior is note linked into winIDEA properly and I do not know where to start.
Jason
You don't have this problem (only one breakpoint) because that CPU supports four hardware breakpoints:
https://community.freescale.com/message/88644#88644
It looks like yout IDE may be wanting to use software breakpoints, which only work in RAM. It may have a different option for setting hardware breakpoints, or it isn't set up to use them or it can't. This is a software problem.
Type "winidea coldfire breakpoints" into Google and start reading things like this which says that software cn even support "software interrupts in FLASH" if you want to let it (by rewriting the flash all the time)::
http://permalink.gmane.org/gmane.comp.hardware.motorola.microcontrollers.coldfire/7475
Tom
Thank you Tom. Looks like I have some reading to get on with. I will keep you posted as to my progress.
Jason