Re: [beagleboard] JTAG Debugging - 2 Code Composers on the Same Machine - One under Ubuntu - The Other under Windows

2017-08-09 Thread Jeff Andich
Thank you!

Yes, I would think symbols would need to be included to break on functions, 
but I believe the video I watched (TI board port series modules 6,7) 
specified to load the bin file after switching CCS into debug mode.. When I 
get a native linux machine setup, I'll be able to report back. Going to try 
that tomorrow, but then there's that corporate network thing...


On Wednesday, August 9, 2017 at 4:22:24 PM UTC-5, lazarman wrote:

> Don't you want to load the output generated with debug info not the .bin? 
> I've used a lauterbach emulator to load uboot for source level debugging. 
> You need to point to source tree where you built uboot. If I recall 
> correctly we used a dual boot Ubuntu machine at work. We built in Ubuntu 
> and used CCS in windows and had a mount to a shared partition. At that time 
> uboot debugging was possible in linux but I believe we had the linux 
> drivers for the jtag from either TI or Lauterbach. I think using a virtual 
> machine your gonna have issues
>
> Sent from Yahoo Mail on Android 
> 
>
> On Wed, Aug 9, 2017 at 8:23 AM, Jeff Andich
>  wrote:
> Hi,
>
> We're not yet able to setup Ubuntu native on PC's at work, so we're using 
> Ubuntu under VBOX.
>
> I'm attempting to do JTAG debugging via CCS 7.2 to the BB-X15/am572xEVM, 
> but when I run CCS in debug mode under an Ubuntu/VirtualBox, CCS hangs. 
>  I'm able to view registers on the A15_0 core, but I haven't been able to 
> successfully load u-boot-spl.bin built in CCS on Ubuntu.  When I load, CCS 
> never comes back, and I haven't been able to specify the "load address" for 
> the SPL.  From what I understand from reading an older version of TI's CCS 
> wiki, JTAG debugging doesn't work well through a virtual machine.
>
> So I'm trying a strange approach:  2, CCS 7.2 installations on the same 
> machine, 1 under the Ubuntu VM to build the SPL in Linux and another under 
> Windows to manage the JTAG debugging process (e.g. load u-boot-spl.bin via 
> JTAG, view memory, step, etc).  But I'm having some issues using a 
> Windows/VBOX shared folder to contain the u-boot tree so that both the 
> Windows and Ubuntu CCS's can look at the same tree/project.
>
> Has anyone on this forum successfully tried this kind of thing before or 
> are there obvious reasons why this is a bad idea??  
>
> I think the person in the following thread may have tried something like 
> this??
>
>
> https://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/117880?tisearch=e2e-quicksearch=virtualbox%20shared%20folder
>
> I may post up on TI/E2E, but we're working with the BB-X15 image, not the 
> TI SDK image.  I'll try to annotate this thread with any useful information 
> that's thrown our way.
>
> Thanks!!
>
> Jeff
>
> -- 
> 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...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beagleboard/5f061151-4d0a-4633-b601-767a32a9c47b%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/aba9cd4a-6def-4b6e-9b97-7fa28ff6cd1c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] JTAG Debugging - 2 Code Composers on the Same Machine - One under Ubuntu - The Other under Windows

2017-08-09 Thread 'Mark Lazarewicz' via BeagleBoard
Don't you want to load the output generated with debug info not the .bin? I've 
used a lauterbach emulator to load uboot for source level debugging. You need 
to point to source tree where you built uboot. If I recall correctly we used a 
dual boot Ubuntu machine at work. We built in Ubuntu and used CCS in windows 
and had a mount to a shared partition. At that time uboot debugging was 
possible in linux but I believe we had the linux drivers for the jtag from 
either TI or Lauterbach. I think using a virtual machine your gonna have issues

Sent from Yahoo Mail on Android 
 
  On Wed, Aug 9, 2017 at 8:23 AM, Jeff Andich wrote:   
Hi,
We're not yet able to setup Ubuntu native on PC's at work, so we're using 
Ubuntu under VBOX.
I'm attempting to do JTAG debugging via CCS 7.2 to the BB-X15/am572xEVM, but 
when I run CCS in debug mode under an Ubuntu/VirtualBox, CCS hangs.  I'm able 
to view registers on the A15_0 core, but I haven't been able to successfully 
load u-boot-spl.bin built in CCS on Ubuntu.  When I load, CCS never comes back, 
and I haven't been able to specify the "load address" for the SPL.  From what I 
understand from reading an older version of TI's CCS wiki, JTAG debugging 
doesn't work well through a virtual machine.
So I'm trying a strange approach:  2, CCS 7.2 installations on the same 
machine, 1 under the Ubuntu VM to build the SPL in Linux and another under 
Windows to manage the JTAG debugging process (e.g. load u-boot-spl.bin via 
JTAG, view memory, step, etc).  But I'm having some issues using a Windows/VBOX 
shared folder to contain the u-boot tree so that both the Windows and Ubuntu 
CCS's can look at the same tree/project.
Has anyone on this forum successfully tried this kind of thing before or are 
there obvious reasons why this is a bad idea??  
I think the person in the following thread may have tried something like this??
https://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/117880?tisearch=e2e-quicksearch=virtualbox%20shared%20folder

I may post up on TI/E2E, but we're working with the BB-X15 image, not the TI 
SDK image.  I'll try to annotate this thread with any useful information that's 
thrown our way.
Thanks!!
Jeff

-- 
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/5f061151-4d0a-4633-b601-767a32a9c47b%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/1437773405.855330.1502313487742%40mail.yahoo.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] JTAG Debugging - 2 Code Composers on the Same Machine - One under Ubuntu - The Other under Windows

2017-08-09 Thread William Hermans
If you're serious about your work. Buy a cheap laptop, and install Ubuntu
on it.

On Wed, Aug 9, 2017 at 6:23 AM, Jeff Andich  wrote:

> Hi,
>
> We're not yet able to setup Ubuntu native on PC's at work, so we're using
> Ubuntu under VBOX.
>
> I'm attempting to do JTAG debugging via CCS 7.2 to the BB-X15/am572xEVM,
> but when I run CCS in debug mode under an Ubuntu/VirtualBox, CCS hangs.
> I'm able to view registers on the A15_0 core, but I haven't been able to
> successfully load u-boot-spl.bin built in CCS on Ubuntu.  When I load, CCS
> never comes back, and I haven't been able to specify the "load address" for
> the SPL.  From what I understand from reading an older version of TI's CCS
> wiki, JTAG debugging doesn't work well through a virtual machine.
>
> So I'm trying a strange approach:  2, CCS 7.2 installations on the same
> machine, 1 under the Ubuntu VM to build the SPL in Linux and another under
> Windows to manage the JTAG debugging process (e.g. load u-boot-spl.bin via
> JTAG, view memory, step, etc).  But I'm having some issues using a
> Windows/VBOX shared folder to contain the u-boot tree so that both the
> Windows and Ubuntu CCS's can look at the same tree/project.
>
> Has anyone on this forum successfully tried this kind of thing before or
> are there obvious reasons why this is a bad idea??
>
> I think the person in the following thread may have tried something like
> this??
>
> https://e2e.ti.com/support/development_tools/code_
> composer_studio/f/81/t/117880?tisearch=e2e-quicksearch&
> keymatch=virtualbox%20shared%20folder
>
> I may post up on TI/E2E, but we're working with the BB-X15 image, not the
> TI SDK image.  I'll try to annotate this thread with any useful information
> that's thrown our way.
>
> Thanks!!
>
> Jeff
>
> --
> 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/5f061151-4d0a-4633-b601-767a32a9c47b%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/CALHSORpdoi4VaLaJq1-QwU3GkyND-B%3Drr3qWy3yy%2Bz-fmqH4ZA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.