Soft-Breakpoints in Flash ?
2005-09-23 by 42Bastian Schick
Yahoo Groups archive
Index last updated: 2026-04-28 23:31 UTC
Thread
2005-09-23 by 42Bastian Schick
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
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
2005-09-23 by Mike Nelson
It's not a rumor, download it from the Segger web site: http://segger.com/pub/jlink/jlinkrdi_v268b.zip More info: http://segger.com/jlink_arm_rdi.html Regards: Mike Nelson --- 42Bastian Schick <bastian42@...> 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 > > > ------------------------ Yahoo! Groups Sponsor > --------------------~--> > Fair play? Video games influencing politics. Click > and talk back! > http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/dN_tlB/TM > --------------------------------------------------------------------~-> > > > > Yahoo! Groups Links > > > lpc2000-unsubscribe@yahoogroups.com > > > > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
2005-09-25 by Eric Engler
> http://segger.com/jlink_arm_rdi.html $600 for a couple DLLs seems a little steep to me.
2005-09-25 by lpc2100_fan
May be it's a little steep, in engineerng time this is somewhere between half a day and a day. So if you can reduce time to market by one day using soft breakpoints it was worth the $600. The real alternative is Code Trace via the ETM interface. This would allow even better debugging but a trace emulator is still a little more than the 600 Dollars and you have to give up some extra pins. Two hardware breakpoints are just not enough (this is ARM specific and true for all existing ARM7 devices). So this software breakpoints provide a debug option that otherwise is only available if debugging in RAM. For some that is well worth it, for others probably not. As always, time is money and everybody has to decide how much money (=time) to spend in order to save some ;-) Just another way to look at it. Bob --- In lpc2000@yahoogroups.com, "Eric Engler" <englere.geo@y...> wrote:
> > http://segger.com/jlink_arm_rdi.html > > $600 for a couple DLLs seems a little steep to me.
2005-09-26 by 42Bastian Schick
Mike Nelson <m1k3n3ls0n@...> schrieb am Fri, 23 Sep 2005 13:58:20 -0700 (PDT): > It's not a rumor, download it from the Segger web > site: > http://segger.com/jlink_arm_rdi.html Ah, they use a kind of ROM monitor. Would be interresting to see the speed penalty. Anyway for some devices (e.g. 2106) this seems to be a great solution. -- 42Bastian Schick
2005-09-26 by lp2000c
Has anyone here actually tried this, with IAR Embedded Workbench? If so, with which processor(s)? (The Segger web site does not list LPC213x as being supported.) How was your experience? --- In lpc2000@yahoogroups.com, Mike Nelson <m1k3n3ls0n@y...> wrote: > It's not a rumor, download it from the Segger web > site: > > http://segger.com/pub/jlink/jlinkrdi_v268b.zip > > More info: > > http://segger.com/jlink_arm_rdi.html > > Regards: > > Mike Nelson > > --- 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 > > > > > > ------------------------ Yahoo! Groups Sponsor > > --------------------~--> > > Fair play? Video games influencing politics. Click > > and talk back! > > > http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/dN_tlB/TM > > > -------------------------------------------------------------------- ~->
> > > > > > > > Yahoo! Groups Links > > > > > > lpc2000-unsubscribe@yahoogroups.com > > > > > > > > > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com
2005-09-27 by 42Bastian Schick
Mike Nelson <m1k3n3ls0n@...> schrieb am Fri, 23 Sep 2005 13:58:20 -0700 (PDT): > It's not a rumor, download it from the Segger web > site: > > http://segger.com/pub/jlink/jlinkrdi_v268b.zip Ah, indeed they re-program the flash. Not sure if I like it ? But OTOH, how often can an LPC flash be erased ? 10,000 or 100,000 times ? -- 42Bastian Schick