Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: Soft-Breakpoints in Flash ?

2005-09-23 by Gus

I can't see this is happening! reprogramming a word in flash means 
erasing and reprogramming a whole 8KB block.

Maybe they keep SWI in flash and keep it there and when SWI happen, 
J-link will insert the correct instruction in the pipes and continue 
execution. If this is what they did, great job.

--- In lpc2000@yahoogroups.com, 42Bastian Schick <bastian42@m...> 
wrote:
> Hi,
> 
> I heard a rumour, that J-Link (IAR,Segger) support _soft_ 
breakpoints
> in Flash.
> 
> Anyone here using J-Link who can confirm this.
> 
> AFAIK, soft-breakpoints means replacing an opcode with an 
breakpoint
> instruction (SWI or illegal opcode) in order to have more than the
> (mostly) 2 HW breakpoint.
> 
> So soft-breakpoint in Flash would mean re-programming the flash.
> 
> -- 
> 42Bastian Schick

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.