Skip to main content

Topics

This section allows you to view all Topics made by this member. Note that you can only see Topics made in areas you currently have access to.

Topics - tcz

1
Bus Pirate Support / BPv4.0 with OpenOCD
Hello,

I have the following configuration file (openocd-buspirate.cfg):

Code: [Select]
interface buspirate

buspirate_port /dev/ttyACM3

# communication speed setting
buspirate_speed normal ;# or fast

# voltage regulator Enabled = 1 Disabled = 0
buspirate_vreg 0

# pin mode normal or open-drain
buspirate_mode normal

# pullup state Enabled = 1 Disabled = 0
#buspirate_pullup 0

# this depends on the cable, you are safe with this option
reset_config srst_only

After execution of the following command:

Code: [Select]
openocd -f ./openocd-buspirate.cfg

I receive the folloing output:

Code: [Select]
Open On-Chip Debugger 0.9.0-dev-00346-g3e1dfdc-dirty (2015-03-12-14:30)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.sourceforge.net/doc/doxygen/bugs.html
Warn : Adapter driver 'buspirate' did not declare which transports it allows; assuming legacy JTAG-only
Info : only one transport option; autoselect 'jtag'
srst_only separate srst_gates_jtag srst_open_drain connect_deassert_srst
Info : Some stale data from a previous connection was discarded.
Error: Error reading data
Error: Buspirate error. Is binary/OpenOCD support enabled?

configuretion of OpenOCD is as follows:

Code: [Select]
OpenOCD configuration summary
--------------------------------------------------
MPSSE mode of FTDI based devices        yes
ST-Link JTAG Programmer                yes (auto)
TI ICDI JTAG Programmer                yes (auto)
Keil ULINK JTAG Programmer              yes (auto)
Altera USB-Blaster II Compatible        yes (auto)
Versaloon-Link JTAG Programmer          yes (auto)
Segger J-Link JTAG Programmer          yes (auto)
OSBDM (JTAG only) Programmer            yes (auto)
eStick/opendous JTAG Programmer        yes (auto)
Andes JTAG Programmer                  yes (auto)
USBProg JTAG Programmer                yes (auto)
Raisonance RLink JTAG Programmer        yes (auto)
Olimex ARM-JTAG-EW Programmer          yes (auto)
CMSIS-DAP Compliant Debugger            no

configure: WARNING: Building the deprecated 'ft2232' adapter driver.

Could any one of you put some light on this issue?

Best Regards,
Tomek
2
Bus Blaster JTAG debugger / BBv3c with Openocd
Hello,

I have the following configuration file for Openocd:

Code: [Select]
interface ftdi
ftdi_device_desc "Dual RS232-HS"
ftdi_vid_pid 0x0403 0x6010

ftdi_layout_init 0x0c08 0x0f1b
ftdi_layout_signal nTRST -data 0x0100 -noe 0x0400
ftdi_layout_signal nSRST -data 0x0200 -noe 0x0800

adapter_khz 100
transport select jtag

After execution of the following command:

Code: [Select]
openocd -f ./openocd-busblaster-ftdi.cfg

I receive the following output:

Code: [Select]
Open On-Chip Debugger 0.9.0-dev-00346-g3e1dfdc-dirty (2015-03-12-14:30)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.sourceforge.net/doc/doxygen/bugs.html
Info : If you need SWD support, flash KT-Link buffer from https://github.com/bharrisau/busblaster
and use dp_busblaster_kt-link.cfg instead
adapter speed: 100 kHz
xsvf
Info : clock speed 100 kHz
Warn : There are no enabled taps.  AUTO PROBING MIGHT NOT WORK!!
Info : JTAG tap: auto0.tap tap/device found: 0x06e5e093 (mfg: 0x049, part: 0x6e5e, ver: 0x0)
Warn : AUTO auto0.tap - use "jtag newtap auto0 tap -irlen 2 -expected-id 0x06e5e093"
Error: IR capture error at bit 2, saw 0x3FFFFFFFFFFFFF05 not 0x...3
Warn : Bypassing JTAG setup events due to errors
Warn : gdb services need one or more targets defined

Could anyone put some light on the error message?

Best Regards,
Tomek
3
Bus Pirate Support / BPv4: firmware compilation
Hello,

I have cloned svn repository and tried to compile firmware for BPv4 - unfortunately without success.
I have the following development tools:
MPLABX-v2.30-linux
xc16-v1.24-full-install-linux

Compilation fails when try to compile non existed files i.e "m_1wire_213.c". Can any one put a bit of light on this topic?

Best Regards,
Tomek

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01212293536session_write_close ( )...(null):0
20.01242425136ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01242425912Database_MySQL->query( ).../DatabaseHandler.php:119
40.05562564648Database_MySQL->error( ).../Db-mysql.class.php:273