> Just tried this with two separate boards and working ok here.
> Up until the mdw the log is the same as mine, i am using a ftdi based
> adapter. I can try a parport wiggler tomorrow.

I tried with our JTAG debugger and it fails just the same. I'm doing
the parport tests to be on the neutral side.

> For info the HardFault is quite normal when you have an erased device.

Yup, that part looks OK.

> The device is not read protected is it?
> stm32x options_read 0

The readout protection is ON:

> stm32x options_read 0
Option Byte: 0x3fffffe
Readout Protection On
Software Watchdog
Stop: No reset generated
Standby: No reset generated

Now, how do I turn the readout protection off? I've tried:

> stm32x unlock 0
Device Security Bit Set
stm32x unlocked
> stm32x options_read 0
Option Byte: 0x3fffffe
Readout Protection On
Software Watchdog
Stop: No reset generated
Standby: No reset generated


> flash protect 0 0 last off
Device Security Bit Set
cleared protection for sectors 0 through 127 on flash bank 0
> stm32x options_read 0
Option Byte: 0x3fffffe
Readout Protection On
Software Watchdog
Stop: No reset generated
Standby: No reset generated

Regards,
Edgar


-- 
Edgar Grimberg
System Developer
Zylin AS

Visit us at Embedded World, March 2nd-4th. IS2T's stand, HALL 10 - 118
http://www.zylin.com/events_embeddedworld.html

ZY1000 JTAG Debugger http://www.zylin.com/zy1000.html
Phone: (+47) 51 63 25 00
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to