Hello,
I just upgraded to uv 4.21 and after doing this I can't seem to use breakpoints on my project.
(I'm using an LPC1788 development board - Cortex-M3) (I'm using ULINK Pro)
with version 4.20 and the same code I had no problems with breakpoints but now if I have even 1 before I try and run the code I get the following error:
"This target device does not support all the defined breakpoints! Please reduce the number of breakpoints and start again."
If I try and add a breakpoint while the application is running I get:
"Operation not possible while the target device is executing. Please stop the target to perform the operation."
I can stop the execution and step through code but no breakpoints.
Does anyone have any ideas?
Thanks.
M
Hi Ron,
Thanks for your reply and suggestion.
I'm using an LPC1788 so yes it access the NOR via the EMC.
I initialize the EMC at startup before the call to main as follows:
Reset_Handler PROC EXPORT Reset_Handler [WEAK] IMPORT SystemInit IMPORT emc_setup_asm IMPORT __main LDR R0, =SystemInit BLX R0 LDR R0, =emc_setup_asm BLX R0 LDR R0, =__main BX R0 ENDP
I also (redundantly) configure the EMC via a debug/flash program INI file. In any case even if I wait until after the EMC is properly configured I still can not add a breakpoint. (Note I can see the disassembly of the NOR)
I tried the 'BS 0x800000' command as you suggested but I get the same error messages.
Have you ever encountered this? Am I correct in thinking that I should be able to add breakpoints to the code in external NOR?