[beagleboard] JTAG beagle bone black with buspirate and openocd

2017-07-31 Thread Jitendriya Parida
 

Hello

I am very new to JTAG and i am trying to do the setup for jtag in 
beaglebone black(BBB) rev c board using buspirate(BP) and openocd.
I have installed the P2 header in BBB manually. I have connected the BBB 
and BP as follows

JTAG

BP

BBB

TMS

CS

P2(1) P2 header pin 1

TDI

MOSI

P2(3)

VTREF

VPU

P2(5)

TDO

MISO

P2(7)

TCK

CLK

P2(11)

TRST

AUX

P2(2)

GRND

GND

P2(10)



I am using my user configuration file(BP_userconfig.cfg) for openocd which 
has following content.

source [find interface/buspirate.cfg]

buspirate_vreg 0
buspirate_mode open-drain
buspirate_pullup 1
reset_config srst_only
buspirate_port /dev/ttyUSB0

source [find board/ti_beaglebone_black.cfg]

Now while running the command *sudo openocd -f  BP_userconfig.cfg* I am 
getting following error.



















*lenova@lenova-ThinkPad-T410:~/jiten/JTAG$ sudo openocd -f 
BP_userconfig.cfg Open On-Chip Debugger 0.10.0+dev-00167-g29cfe9c 
(2017-07-20-14:08) Licensed under GNU GPL v2 For bug reports, read 
http://openocd.org/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 
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain 
connect_deassert_srst adapter speed: 1000 kHz trst_and_srst separate 
srst_gates_jtag trst_push_pull srst_open_drain connect_deassert_srst Info : 
Buspirate Interface ready! Info : This adapter doesn't support configurable 
speed Info : JTAG tap: am335x.jrc tap/device found: 0x2b94402f (mfg: 0x017 
(Texas Instruments), part: 0xb944, ver: 0x2) Info : JTAG tap: am335x.dap 
enabled Error: JTAG-DP STICKY ERROR Error: Could not initialize the APB-AP 
*Does 
anyone have any idea about this error? and do i need to do anything else in 
BBB apart from installing P2 header?
Please let me know if i am doing anything wrong.

Thanks in advance.

Regards
jitendriya

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/97ff4b9f-0e39-4c50-bd40-ed2b4c81b8fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] JTAG beagle bone black with buspirate and openocd

2017-07-31 Thread John Syne
I haven’t heard of anyone successfully using Openocd on BBB even though I have 
seen many users try it. I would recommend using Blackhawk USB200 with Code 
Composer Studio (CCSV7) as it has everything you need to get started. 

Regards,
John




> On Jul 31, 2017, at 5:20 AM, devarya...@gmail.com wrote:
> 
> Hello
> 
> I am very new to JTAG and i am trying to do the setup for jtag in beaglebone 
> black(BBB) rev c board using buspirate(BP) and openocd.
> I have installed the P2 header in BBB manually. I have connected the BBB and 
> BP as follows
> 
> JTAG  BP  BBB
> TMS   CS  P2(1) P2 header pin 1
> TDI   MOSIP2(3)
> VTREF VPU P2(5)
> TDO   MISOP2(7)
> TCK   CLK P2(11)
> TRST  AUX P2(2)
> GRND  GND P2(10)
> 
> 
> I am using my user configuration file(BP_userconfig.cfg) for openocd which 
> has following content.
> 
> source [find interface/buspirate.cfg]
> 
> buspirate_vreg 0
> buspirate_mode open-drain
> buspirate_pullup 1
> reset_config srst_only
> buspirate_port /dev/ttyUSB0
> 
> source [find board/ti_beaglebone_black.cfg]
> 
> Now while running the command sudo openocd -f  BP_userconfig.cfg I am getting 
> following error.
> 
> lenova@lenova-ThinkPad-T410:~/jiten/JTAG$ sudo openocd -f BP_userconfig.cfg 
> Open On-Chip Debugger 0.10.0+dev-00167-g29cfe9c (2017-07-20-14:08)
> Licensed under GNU GPL v2
> For bug reports, read
> http://openocd.org/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
> trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain 
> connect_deassert_srst
> adapter speed: 1000 kHz
> trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain 
> connect_deassert_srst
> Info : Buspirate Interface ready!
> Info : This adapter doesn't support configurable speed
> Info : JTAG tap: am335x.jrc tap/device found: 0x2b94402f (mfg: 0x017 (Texas 
> Instruments), part: 0xb944, ver: 0x2)
> Info : JTAG tap: am335x.dap enabled
> Error: JTAG-DP STICKY ERROR
> Error: Could not initialize the APB-AP
> 
> Does anyone have any idea about this error? and do i need to do anything else 
> in BBB apart from installing P2 header?
> Please let me know if i am doing anything wrong.
> 
> Thanks in advance.
> 
> Regards
> jitendriya
> 
> 
> -- 
> For more options, visit http://beagleboard.org/discuss 
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to beagleboard+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beagleboard/94f1fafb-03d7-43cc-80d1-8249e2735bcd%40googlegroups.com
>  
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/7D285B3A-2B28-4859-A25A-347A6F1F54B9%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Reading analog in on the stretch (9.1) images

2017-07-31 Thread Mark A. Yoder
Yup, this is the Blue.
In there short term is there an easy way to turn off the robotics stuff and 
get easy access to the analog in?

In the long term, what will it take to convert James' robot stuff to 
libiio?  I might take a shot at it if it isn't too hard.

--Mark

On Friday, July 28, 2017 at 5:56:30 PM UTC-4, RobertCNelson wrote:
>
> On Fri, Jul 28, 2017 at 4:40 PM, Mark A. Yoder  > wrote: 
> > How do I read AIN on the latest images?  I don't know where to find it 
> in 
> > /sys/ 
>
> Hi Mark, 
>
> This is with the Blue right? 
>
> James' got the ADC tied up in mmap for the Robotic's cape library.. 
>
>
> https://github.com/StrawsonDesign/Robotics_Cape_Installer/blob/master/libraries/mmap/rc_mmap_gpio_adc.c
>  
>
> We need to convert his library to use libiio, then we can just enable 
> the ADC's as an iio device and share usage with the library.. 
>
> https://analogdevicesinc.github.io/libiio/ 
>
> Regards, 
>
> -- 
> Robert Nelson 
> https://rcn-ee.com/ 
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/c9f28bd5-8cb7-40ff-9873-539ee8da3b3a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] ubuntu-13.04 for BBB

2017-07-31 Thread oCa
Good afternoon!
For my project, you need an image that you previously had access to, but
now it's not there. This is BBB-eMMC-flasher-ubuntu-13.04-2013-08-24.img.xz
It is this image, like the newest one that is supported, that is needed to
install the software http://wiki.ros.org/hydro/Installation/Ubuntu
Where can I find it and download it? I will be very grateful for your help!

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOGn9FpgT5wksi20Y6QG9GnVt%3DsbwdZHvtvV8X5iYJjqggLJ6A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: BeagleBone Blue EduMIP Balancing Robot Assembly Video

2017-07-31 Thread Mark A. Yoder
Franky:
   Go here[1] to get the latest 'testing' image.  I've been using the 
stretch-iot image so I suggest [2].  Download the image and then get 
Etcher[3] for whatever platform you are using.  Use Etcher to copy the 
image to your SD card.  

Once copied, put the CD card in the Bone and it should boot right up.

--Mark

[1] https://rcn-ee.com/rootfs/bb.org/testing/
[2] 
https://rcn-ee.com/rootfs/bb.org/testing/2017-07-30/stretch-iot/bone-debian-9.1-iot-armhf-2017-07-30-4gb.img.xz
[3] https://etcher.io/

On Sunday, July 30, 2017 at 4:39:59 PM UTC-4, franky@gmail.com wrote:
>
> Hello,
>
> I have managed to assemble and run the edumip robot with beaglebone blue 
> by connecting my pc to the robot though wifi and running "rc_balance". How 
> do you manage to have an image installed on a microsd so that the 
> beaglebone can boot on it like in your video ?
>
> Thanks for the info,
>
> Franky
>
> Le vendredi 9 juin 2017 15:43:21 UTC+2, Mark A. Yoder a écrit :
>>
>> I've just posted a video[1] showing how to assemble the BeagleBone Blue 
>> EduMIP[2] balancing robot.
>>
>>
>> 
>>
>>
>> --Mark
>>
>> [1] https://youtu.be/BIMb8D5RdGA 
>> [2] http://strawsondesign.com/#!edumip-about 
>>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/adb4ba53-a443-4730-a431-6d0cb7219dd2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] JTAG beagle bone black with buspirate and openocd

2017-07-31 Thread devaryan09
Hello

I am very new to JTAG and i am trying to do the setup for jtag in 
beaglebone black(BBB) rev c board using buspirate(BP) and openocd.
I have installed the P2 header in BBB manually. I have connected the BBB 
and BP as follows

JTAG BP BBB 
TMS CS P2(1) P2 header pin 1 
TDI MOSI P2(3) 
VTREF VPU P2(5) 
TDO MISO P2(7) 
TCK CLK P2(11) 
TRST AUX P2(2) 
GRND GND P2(10)


I am using my user configuration file(BP_userconfig.cfg) for openocd which 
has following content.

source [find interface/buspirate.cfg]

buspirate_vreg 0
buspirate_mode open-drain
buspirate_pullup 1
reset_config srst_only
buspirate_port /dev/ttyUSB0

source [find board/ti_beaglebone_black.cfg]

Now while running the command *sudo openocd -f  BP_userconfig.cfg* I am 
getting following error.



















*lenova@lenova-ThinkPad-T410:~/jiten/JTAG$ sudo openocd -f 
BP_userconfig.cfg Open On-Chip Debugger 0.10.0+dev-00167-g29cfe9c 
(2017-07-20-14:08)Licensed under GNU GPL v2For bug reports, read
http://openocd.org/doc/doxygen/bugs.htmlWarn : Adapter driver 'buspirate' 
did not declare which transports it allows; assuming legacy JTAG-onlyInfo : 
only one transport option; autoselect 'jtag'srst_only separate 
srst_gates_jtag srst_open_drain connect_deassert_srsttrst_and_srst separate 
srst_gates_jtag trst_push_pull srst_open_drain connect_deassert_srstadapter 
speed: 1000 kHztrst_and_srst separate srst_gates_jtag trst_push_pull 
srst_open_drain connect_deassert_srstInfo : Buspirate Interface ready!Info 
: This adapter doesn't support configurable speedInfo : JTAG tap: 
am335x.jrc tap/device found: 0x2b94402f (mfg: 0x017 (Texas Instruments), 
part: 0xb944, ver: 0x2)Info : JTAG tap: am335x.dap enabledError: JTAG-DP 
STICKY ERRORError: Could not initialize the APB-AP*Does anyone have any 
idea about this error? and do i need to do anything else in BBB apart from 
installing P2 header?
Please let me know if i am doing anything wrong.

Thanks in advance.

Regards
jitendriya

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/94f1fafb-03d7-43cc-80d1-8249e2735bcd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Can any of CAN channels in BBB work simultaneously with LCD display, SD card and MMC

2017-07-31 Thread sajeevan k
Hi all,


There are two CAN channels available in BBB. If any one of these usable and 
working simultaneously with LCD display, SD card and MMC.
Specially dcan0_tx and dcan0_rx are available in UART1_CTSn and UART1_RTSn 
respectively.

Thanks in advance for the help.

Thanks & Regards,
Sajeevan.K


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/bd51849a-ac83-4a0e-aeed-60acb0ee40c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.