Re: [OpenOCD-devel] stlink-v1 broken

2012-02-20 Thread Mathias K.
Hello, On 21.02.2012 05:55, Szymon Modzelewski wrote: > > Furthermore, the function stlink_usb_recv_v1_get_sense makes > absolutely no sense. The cdb buffer remains mostly uninitialised and > contains garbage, but it doesn't matter, because its contents are not > used (it is copied into sg_buffer

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,

[OpenOCD-devel] stlink-v1 broken

2012-02-20 Thread Szymon Modzelewski
Hi all, The current openocd git doesn't have usable stlink-v1 support. Memory writes are completely broken (meaning they don't work at all). The current code tries to issue two SG commands and check the status twice, while it should: -send the command -write the actual data bytes -check the statu

Re: [OpenOCD-devel] pic32mx220f032b better flash support

2012-02-20 Thread Peter Stuge
> Please read the file called HACKING in OpenOCD on how to > submit it to Gerrit for review. Note that anyone else can also create the patch according to those guidelines and submit to Gerrit on behalf of the original poster! //Peter -

Re: [OpenOCD-devel] pic32mx220f032b better flash support

2012-02-20 Thread Øyvind Harboe
Hi Salvador, thank you for this finding! Please read the file called HACKING in OpenOCD on how to submit it to Gerrit for review. Thanks! -- Øyvind Harboe - Can Zylin Consulting help on your project? US toll free 1-866-980-3434 http://www.zylin.com/ ---

[OpenOCD-devel] pic32mx220f032b better flash support

2012-02-20 Thread salvador
Hello I have made same minor changes to make a better support for flashing a pic32mx220f032b chip. This chip has 3k boot flash, 32k program flash an 8k ram. Page size is 1k bytes or 256 words. Row size is 128 bytes or 32 words. The modifications were made in src/flash/nor/pic32mx.c The output of

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

[OpenOCD-devel] [PATCH]: c966c9f cfg: enable stm32f2x SYSRESETREQ support

2012-02-20 Thread gerrit
This is an automated email from Gerrit. Spencer Oliver (s...@spen-soft.co.uk) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/472 -- gerrit commit c966c9f42ae6c3ac052d333f16ecc609a03cbb2f Author: Spencer Oliver Date: Mon Feb 20 11:39:12 2012 +