[OpenOCD-devel] [PATCH]: 2d515f2 tcl: add lattice ECP5 family support

2021-03-17 Thread gerrit
This is an automated email from Gerrit. Oleksij Rempel (li...@rempel-privat.de) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/6112 -- gerrit commit 2d515f2c36dbd3cc58c5c46cead753c92f76445b Author: Oleksij Rempel Date: Sun Mar 14 18:19:06 2021 +0100

Re: [OpenOCD-devel] Support for IMX8QM

2021-03-17 Thread Oleksij Rempel
Am 17.03.21 um 19:54 schrieb Oliver Graute: > On 19/02/21, Oliver Graute wrote: >> Hello list, >> >> I'am interested to get a imx8qm based board supported by openocd. >> >> After a bit of research I found that there is a similar NXP CPU imx8m >> which is already supported somehow. >> > > What is ne

[OpenOCD-devel] [openocd:tickets] #299 OpenOCD SAMD21 programming from RPI Error Flash write discontinued / NVM programming error

2021-03-17 Thread Tom via OpenOCD-devel
Both logs shows a parity error at SWD level. The problem is most probably in the wiring (too long wires, crosstalks between SWCLK and SWDIO, poor grounding, EMI etc...) --- ** [tickets:#299] OpenOCD SAMD21 programming from RPI Error Flash write discontinued / NVM programming error** **Sta

[OpenOCD-devel] [openocd:tickets] Re: #299 OpenOCD SAMD21 programming from RPI Error Flash write discontinued / NVM programming error

2021-03-17 Thread Gregory Cronin via OpenOCD-devel
Added reset init but hit similar error. sudo openocd -f interface/raspberrypi2-native.cfg \ > -c "transport select swd" \ > -f target/at91samdXX.cfg \ > -c "init;reset init;at91samd bootloader 0" \ > -c "reset init;flash write_image erase

[OpenOCD-devel] [openocd:tickets] #299 OpenOCD SAMD21 programming from RPI Error Flash write discontinued / NVM programming error

2021-03-17 Thread Tom via OpenOCD-devel
BTW: I'm sure your original commands resulted in error Error: The 'at91samd bootloader' command must be used after 'init' Next time please copy whole OpenOCD output! --- ** [tickets:#299] OpenOCD SAMD21 programming from RPI Error Flash write discontinued / NVM programming error** **Status:**

[OpenOCD-devel] [openocd:tickets] Re: #299 OpenOCD SAMD21 programming from RPI Error Flash write discontinued / NVM programming error

2021-03-17 Thread Gregory Cronin via OpenOCD-devel
Thank you Tom, I should have thought to dig into the debug output. I tried the code as you mentioned, but have the same result: openocd -f interface/raspberrypi2-native.cfg \ > -c "transport select swd" \ > -f target/at91samdXX.cfg \ > -c "init;

[OpenOCD-devel] [openocd:tickets] #299 OpenOCD SAMD21 programming from RPI Error Flash write discontinued / NVM programming error

2021-03-17 Thread Tom via OpenOCD-devel
at91samd bootloader command help reads: ..."Changes are stored immediately but take affect after the MCU is reset" So you need add one more "reset init" before "flash write_image..." --- ** [tickets:#299] OpenOCD SAMD21 programming from RPI Error Flash write discontinued / NVM programming error

[OpenOCD-devel] [openocd:tickets] #299 OpenOCD SAMD21 programming from RPI Error Flash write discontinued / NVM programming error

2021-03-17 Thread Tom via OpenOCD-devel
I suspect the command -c "at91samd bootloader 0" does not work as expected and flash stays locked. You have first issue "init" to close up OpenOCD initialization, then prepare the device for programming by "reset init". The script "program" calls both "init" and "reset init", but it is too late

Re: [OpenOCD-devel] Support for IMX8QM

2021-03-17 Thread Oliver Graute
On 19/02/21, Oliver Graute wrote: > Hello list, > > I'am interested to get a imx8qm based board supported by openocd. > > After a bit of research I found that there is a similar NXP CPU imx8m > which is already supported somehow. > What is necessary that this change gets accepted? http://openo

[OpenOCD-devel] [openocd:tickets] #299 OpenOCD SAMD21 programming from RPI Error Flash write discontinued / NVM programming error

2021-03-17 Thread Gregory Cronin via OpenOCD-devel
--- ** [tickets:#299] OpenOCD SAMD21 programming from RPI Error Flash write discontinued / NVM programming error** **Status:** new **Milestone:** 0.10.0 **Created:** Wed Mar 17, 2021 04:24 PM UTC by Gregory Cronin **Last Updated:** Wed Mar 17, 2021 04:24 PM UTC **Owner:** nobody I am trying

[OpenOCD-devel] [PATCH]: 928a5be tcl/interface/ftdi: Add miniWiggler debugger config

2021-03-17 Thread gerrit
This is an automated email from Gerrit. Andrew Wesie (awe...@gmail.com) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/6111 -- gerrit commit 928a5be9994afe66bae70ed38a5032da1e76d62e Author: Andrew Wesie Date: Wed Mar 17 10:23:16 2021 -0500 tcl/in