Hello,
I try to developp an application on microcontroller CC2530. So I have to use the debug mode but every times I use it, IAR allows me to set 1 or 2 breakpoint and sometimes none. It tells me : "Tue May 15 10:58:23 2012: Failed to set breakpoint: Driver error.". So do you know what is the problem ? Because normally, CC2530 have 4 hardware breakpoint. And I think I use hardware breakpoints with IAR, not software breakpoints no ?
Other problem, IAR tells me : "Tue May 15 15:59:07 2012: The stack 'XdataStack' is filled to 100% (4847 bytes used out of 4847). The warning threshold is set to 90.%", So I decided to increase the XDATA_STACK_SIZE but when I try to increase it, it shows me the folowing message :
Error[e16]: Segment XDATA_I (size: 0x1db align: 0) is too long for segment definition. At least 0x100 more bytes needed. The problem occurred while processing the segment placement command "-Z(XDATA)XDATA_Z,XDATA_I=_XDATA0_START-_XDATA0_END", where at the moment of placement the available memory ranges were "XDATA:1e25-1eff"qsd
Just for information, I develop my application on Eclispe and compile with the IAR compiler via Eclipse, next I download the program on the board and use IAR interface just for the debug step.
If someone can answer to one of my questions, it will be great ;)
Thanks for the answers,
Matt