What is Beaglebone black wireless debug port? Is there JTAG? debug with code composer studio?

97 views
Skip to first unread message

don_wrt

unread,
Apr 16, 2019, 11:07:39 AM4/16/19
to BeagleBoard
Hello,

I have a problem about the beaglebone black wireless. Then I want to debug it. I cannot see a JTAG port. But there is a serial port for debug. I wonder that error codes from serial debug port is the same with error codes or logs returned to ssh terminal through Micro USB port ? If both debian terminal through micro USB and serial debug port return the same error codes, It would not useful for me. I have expected that serial debug port gives something detailed error codes or logs. JTAG would be great to debug codes. Can I debug codes on the Code Composer Studio through serial debug port line by line? Otherwise, I don't think I can find the problem without debugging codes line by line. 

Thank you.

Robert Nelson

unread,
Apr 16, 2019, 11:21:58 AM4/16/19
to Beagle Board, tugay...@stu.ee.hacettepe.edu.tr
JTAG on the BeagleBone Black Wireless, requires you to solder a 20-pin
CTI header on the back of the board.

Regards,

--
Robert Nelson
https://rcn-ee.com/
bbb-jtag.png

don_wrt

unread,
Apr 16, 2019, 12:01:27 PM4/16/19
to BeagleBoard
Dear Robert,

Do I take only TCK, TMS, TDI, TDO, TRST, VCC and GND ? Or will I solder directly a 20-pin header ? I need also an JTAG-to-USB emulator, Right? and also its driver. I have a problem about the wifi. I have a stable mesh networking with 4-nodes. After joining the 5. node, network will become unstable and collapse. I try to debug this error. Is it feasible such a debug in code composer studio?

Thank you.

Robert Nelson

unread,
Apr 16, 2019, 12:11:54 PM4/16/19
to Beagle Board, tugay...@stu.ee.hacettepe.edu.tr
On Tue, Apr 16, 2019 at 11:01 AM don_wrt
<tugay...@stu.ee.hacettepe.edu.tr> wrote:
>
> Dear Robert,
>
> Do I take only TCK, TMS, TDI, TDO, TRST, VCC and GND ? Or will I solder directly a 20-pin header ? I need also an JTAG-to-USB emulator, Right? and also its driver. I have a problem about the wifi. I have a stable mesh networking with 4-nodes. After joining the 5. node, network will become unstable and collapse. I try to debug this error. Is it feasible such a debug in code composer studio?

Smells like the wl18xx radio ran out of memory...

JTAG on the am335x isn't really going to help you debug that..

don_wrt

unread,
Apr 16, 2019, 12:54:16 PM4/16/19
to BeagleBoard
Dear Robert,

I dont understand how TI tested this wl18xx chip by built a mesh with 32-nodes. It even fails immediately when I add 5.node into mesh. How can I increase the node number? any suggestion? Maybe should I decrease the memory usage per one peer in the wl18xx chip? I work with typical 802.11s mesh networking standard.

Thank you so much.

Mark Lazarewicz

unread,
Apr 16, 2019, 3:43:07 PM4/16/19
to beagl...@googlegroups.com

Smells like the wl18xx radio ran out of memory...

JTAG on the am335x isn't really going to help you debug that..

Regards,

--
Robert Nelson
https://rcn-ee.com/

--
Source level debugging of the kernel using CCS and JTAG used to be documented by TI for OMAP 4.
 before you solder this on I'd make sure you find documents describing Linux source debugging unless your comfortable debugging assembler with a map file. As much as I recommend using JTAG for board bring up I'd have to agree your going to have to use logged outputs. We did this(logged printf) on a gas meter with mesh networking it used a TI mesh Mac we had huge RAM and connections overhead to support the mesh protocol is heavy and unless your a mesh guru your gonna have fun it's not trivial even if you read the spec 😆

don_wrt

unread,
Apr 17, 2019, 1:40:17 AM4/17/19
to BeagleBoard
Dear lazarman,

It is not easy to find a real mesh guru. But I am not sure TI wl18xx chip has a huge internal RAM. Did you use an external RAM maybe? In fact, did you really use TI wl18xx chipset? Because this chipset probably has a low internal memory.How many nodes did you have in your gas-meters mesh network? Why cannot I set up an mesh network greater than 4-nodes with Beaglebone Black Wireless? I am not sure whether I debug BBBW through JTAG. It may not lead to a useful result.

Thank you.
Reply all
Reply to author
Forward
0 new messages