Re: [OpenOCD-devel] Stm32lx Flash script

2012-02-21 Thread Spencer Oliver
On 21 February 2012 05:48, Noel Diviney wrote: > > In this case the "stopped,reason" is breakpoint-hit whereas "stopped,reason" > for the stlink-v2 discovery is "signal-received" . > What I have to do now is correct my CodeLite dll to correctly handle all of > the "stopped, reason"'s and I should

Re: [OpenOCD-devel] Stm32lx Flash script

2012-02-20 Thread Noel Diviney
Hi Spencer et al, > > I am not sure what you mean, issuing as reset halt (or reset init) > will cause OpenOCD to reset the target @ the reset vector. > Can you explain in more detail, perhaps with some logs attached? > > FYI: OpenOCD at the moment only supports the software reset for > stlink,

Re: [OpenOCD-devel] Stm32lx Flash script

2012-02-20 Thread Spencer Oliver
On 20 February 2012 11:43, Spencer Oliver wrote: > On 19 February 2012 03:06, Noel Diviney wrote: >> >> I then started the debug server and tried breaking at the "Reset_Handler". I >> am having a problem with reset as I do not see the breakpoint >> until I do a manual reset using the button on th

Re: [OpenOCD-devel] Stm32lx Flash script

2012-02-20 Thread Spencer Oliver
On 19 February 2012 03:06, Noel Diviney wrote: > > I then started the debug server and tried breaking at the "Reset_Handler". I > am having a problem with reset as I do not see the breakpoint > until I do a manual reset using the button on the board and then have > CodeLite issue a "continue debug

Re: [OpenOCD-devel] Stm32lx Flash script

2012-02-17 Thread Spencer Oliver
On 17 February 2012 00:40, Noel Diviney wrote: > > > Hi Spencer, > > Apologies for being a pain again. > I am still not able to program the flash on the stm32l-discovery board. > The attachment has the main script, modified per your suggestions,  plus > normal openocd output as well as a full -d3

Re: [OpenOCD-devel] Stm32lx Flash script

2012-02-16 Thread Noel Diviney
Hi Spencer, Apologies for being a pain again. I am still not able to program the flash on the stm32l-discovery board. The attachment has the main script, modified per your suggestions, plus normal openocd output as well as a full -d3 log Thank you and Best regards, Noel.

Re: [OpenOCD-devel] Stm32lx Flash script

2012-02-16 Thread Noel Diviney
Hi Spencer, Thank you very much. I had forgotten to check the Board scripts. Your work with STLink is really appreciated. It is working very well with the CodeLite IDE. I hope to soon be ready to publish my enhancements to CodeLite. Best regards, Noel.

Re: [OpenOCD-devel] Stm32lx Flash script

2012-02-16 Thread Spencer Oliver
On 16 February 2012 09:56, Noel Diviney wrote: > Hi all, > > I am trying to program a stm32l-discovery board using openocd and stlink-v2 > > This is my script stored in the file Stm32Lx_STLink_Program.cfg > > # > #        Flash programming script for stm32l discovery > #   Using the swd transp

[OpenOCD-devel] Stm32lx Flash script

2012-02-16 Thread Noel Diviney
Hi all, I am trying to program a stm32l-discovery board using openocd and stlink-v2 This is my script stored in the file Stm32Lx_STLink_Program.cfg # #Flash programming script for stm32l discovery # Using the swd transport # source [find interface/stlink-v2.cfg] source [find targ