Re: [OpenOCD-devel] About adding support for NuMicro M4 family

2018-08-20 Thread Andreas Fritiofson
On Sun, Aug 19, 2018 at 11:17 AM, perillamint wrote: > Hello, everyone. > > I'm trying to add support for NuMicro M45x series. Fortunately, there are > already support for its M0 family chip. > > I looked its code and found it has some addresses of registers. However, > M0 > series and M4 series

[OpenOCD-devel] empty while loop

2018-08-20 Thread Tomas Vanek via OpenOCD-devel
On 20.08.2018 15:42, Andreas Fritiofson (Code Review) wrote: Line 66:while (!(*((volatile unsigned *)CMNSR) & TEND)); The style check complains that this empty while loop should look like this: while (...) ; This should be mentioned in the style guide. Really not intuitive...

Re: [OpenOCD-devel] empty while loop

2018-08-20 Thread Andreas Fritiofson
On Mon, Aug 20, 2018 at 4:06 PM, Tomas Vanek via OpenOCD-devel < openocd-devel@lists.sourceforge.net> wrote: > On 20.08.2018 15:42, Andreas Fritiofson (Code Review) wrote: > >> Line 66:while (!(*((volatile unsigned *)CMNSR) & TEND)); >> The style check complains that this empty while loop

[OpenOCD-devel] [openocd:tickets] #203 programming st_nucleo_f7 (stm32f767) bank 2 consistently fails

2018-08-20 Thread Cody Schafer via OpenOCD-devel
--- ** [tickets:#203] programming st_nucleo_f7 (stm32f767) bank 2 consistently fails** **Status:** new **Milestone:** 0.9.0 **Created:** Mon Aug 20, 2018 09:55 PM UTC by Cody Schafer **Last Updated:** Mon Aug 20, 2018 09:55 PM UTC **Owner:** nobody In the `stm32f767zi` (on the nucleo-f767zi

[OpenOCD-devel] [openocd:tickets] #203 programming st_nucleo_f7 (stm32f767) bank 2 consistently fails

2018-08-20 Thread Cody Schafer via OpenOCD-devel
Sorry about reference to `program` in the ticket, I simplified the reproduction to `write_image`. Also, heres some log following immediately after the above output (had to reset before I tried again, with the same result): ``` > flash write_image fw.elf 0x10 Flash

[OpenOCD-devel] [openocd:tickets] #203 programming st_nucleo_f7 (stm32f767) bank 2 consistently fails

2018-08-20 Thread Cody Schafer via OpenOCD-devel
Attached is a log of the command output: `openocd -f board/st_nucleo_f7.cfg -c 'init' -c 'reset init' -c 'flash write_image fw.elf 0x10' -d` Attachments: - [stm32f767-write-image-debug-log.txt](https://sourceforge.net/p/openocd/tickets/_discuss/thread/d27603e0/55b1/attachment/stm32f767-wr