W dniu 2014-09-07 22:29, Jens Bauer pisze: > First of all: a NOP that is HardFaulting.
Maybe this is an interesting direction - in my very old (2010) LPC13xx manual it says that 0x2fc is the address for "code read protection" value which is inserted automatically by NXP tools (like Flash Magic), but in this very old manual it also says: > When programming flash images via [...] Serial Wire Debugger (SWD), the > user code valid signature is automatically inserted by the programming > utility. The problem is that you have the undefined instruction at 0x266, and the value seen there doesn't look anything like the values for CRP... How do you program the chip? If you use "dump image" command do you also get this wrong value? Is the wrong instruction at this address present every time, or only after it hardfaults? It is also possible that the chip is somehow broken - if you have another board try the same firmware with a different chip... Regards, FCh ------------------------------------------------------------------------------ Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
