Hi,

Silly question.  Can we get 7b03129916aa050f4d120a532659dbbba279f7be
rolled back temporarily?

> commit 7b03129916aa050f4d120a532659dbbba279f7be
> Author: Edward Fewell <efew...@ti.com>
> Date:   Thu Jan 18 20:48:11 2018 -0600
> 
>     flash/nor: Add support for TI CC26xx/CC13xx flash
>     
>     Added cc26xx flash driver to support the TI CC26xx and CC13xx
>     microcontrollers. Driver is capable of determining which MCU
>     is connected and configures itself accordingly. Added config
>     files for four specific variants: CC26x0, CC13x0, CC26x2, and
>     CC13x2.
>     
>     Note that the flash loader code is based on the sources used
>     to support flash in Code Composer Studio and Uniflash from TI.
>     
>     Removed cc26xx.cfg file made obsolete by this patch.
>     
>     Change-Id: Ie2b0f74f8af7517a9184704b839677d1c9787862
>     Signed-off-by: Edward Fewell <efew...@ti.com>
>     Reviewed-on: http://openocd.zylin.com/4358
>     Tested-by: jenkins
>     Reviewed-by: Tomas Vanek <van...@fbl.cz>
>     Reviewed-by: Fredrik Hederstierna <fred...@hederstierna.com>

The newer code might be the best thing since sliced bread (and may even
allow me to rid myself of TI Uniflash), but until *everything* that
needs it is updated (i.e. `grep -RF target/cc26xx.cfg openocd/tcl`
returns back empty), 'cc26xx.cfg' should stay.

Unfortunately rolling back to the older OpenOCD 0.10.0 release breaks
support for the nrf52840 (the `program` command just fails).

At the moment, cc2538.cfg is now broken and unusable:
> $ openocd -f vrt/projects/widesky/hub/openocd.cfg 
> Open On-Chip Debugger 0.10.0+dev-00577-gea410488-dirty (2018-11-16-17:23)
> Licensed under GNU GPL v2
> For bug reports, read
>         http://openocd.org/doc/doxygen/bugs.html
> 
> Info : to use this adapter you MUST add ``init; ftdi_set_signal PWR_RST 1; 
> jtag arp_init'' to the end of your config file!
> 
> /usr/bin/../share/openocd/scripts/target/cc2538.cfg:16: Error: Can't find 
> target/cc26xx.cfg
> in procedure 'script' 
> at file "embedded:startup.tcl", line 60
> at file "vrt/projects/widesky/hub/openocd.cfg", line 3
> at file "/usr/bin/../share/openocd/scripts/target/cc2538.cfg", line 16

Rolling back this one patch however (which I did by hand; just extracted
the deleted file out of the patch and re-instated it in my
`/usr/share/openocd/scripts/target` directory) fixed the problem and I
can now debug the CC2538 again.

Regards,
-- 
Stuart Longland (aka Redhatter, VK4MSL)

I haven't lost my mind...
  ...it's backed up on a tape somewhere.


_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to