Because of the Thanksgiving holiday in the U.S., TI E2E design support forum responses may be delayed the week of Nov. 21. Thank you for your patience.

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

the demo in StarterWare_02_00_00_07 is not working for AM3352BZCZ80

Other Parts Discussed in Thread: AM3352, AM3358

Hi,

Can you advice why the demos  from  the StarterWare_02_00_00_07  not working on the AM3352

BZCZ80, which is working on AM3358ZCZ72 before?

 

Is it due to the PLL configuration needed to modify ? any change is supposed to do for the B version MCU?

 

  • There is a StarterWare_02_00_01_01 version now out, but neither demo project would run on my AM3358ZCZD72 based BeagleBone White board.  Can you suggest where I went wrong while you wait for your answer?

    Thanks,

    Warren S

  • Beaglebone bootloader & demo in 02.00.01.01 is not ported for silicon revision 2.0 and above. Please refer evmAM335x bootloader & demo for necessary modifications.

    Regards,

    Ramesh D

  • Warren,

    The part AM3358ZCZD72 is of silicon version 1.0 and beaglebone is expected to work with latest version of StaterWare 02.00.01.01. Need more detailed problem description to understand the cause for failure on your board.

    Regards,

    Ramesh D

  • Ramesh:

    Your first post refers to silicon revision 2.0  and your second post refers to silicon version 1.0.  Is this the difference between beaglebone black and beaglebone white?

    The bootloader (MLO) and demo (app) work just fine on my beaglebone white when I put them on the mSD card.  It's only when I try to run the Starterware build versions through the CCSv5 emulator that demo hangs (after a load and then a reload to main() and a resume).  USB_dev_serial runs to main() on the first load but then hangs while single stepping inside MMUConfigAndEnable() at MMUInit((unsigned int*)pageTable); with message Can't find a source file at "K:/system_config/armv7a/mmu.c" .  It seemed to run a bit further under .00.07 where it went into an infinite loop than under .01.01

      Using basic device AM3358 and advanced \tools\gel\AM335x_EVM.gel instead of the Beaglebone instances produced the same results.  Switching to C:\ti\AM335X_StarterWare_02_00_01_01\build\armv7a\cgt_ccs\am335x\evmAM335x\demo failed to load due to inaccessible memory .  Irritatingly, when importing the existing Eclipse projects, CCSv5 tries to build in debug mode, but this latest version of StarterWare fails due to some missing debug subfolders and will only build in release mode.  

    Thanks,

    Warren

  • Regarding the differences between BeagleBone Black and previous version, please check:

    http://circuitco.com/support/index.php?title=BeagleBoneBlack

  • Warren

    why is this required? - demo hangs (after a load and then a reload to main() and a resume)

    -- It is recomended to reload gel file before reload of app again.

    hangs while single stepping inside MMUConfigAndEnable() at MMUInit((unsigned int*)pageTable); with message Can't find a source file at "K:/system_config/armv7a/mmu.c"

    -- Please check if the project system_config is added in CCS. If not, browse the file to help CCS locate file.

    when importing the existing Eclipse projects, CCSv5 tries to build in debug mode, but this latest version of StarterWare fails due to some missing debug subfolders and will only build in release mode

    -- It will be helpful if you post the error log of CCS to better understand the problem.

    Regards,

    Ramesh D

  • Ramesh:

    -- It is recomended to reload gel file before reload of app again."

         After launching configuration, connecting to target, and loading Demo.out, the debug window shows:

    BBW_AMBB.ccxml [Code Composer Studio - Device Debugging]    
        Texas Instruments XDS100v2 USB Emulator_0/M3_wakeupSS_0 (Disconnected : Unknown)    
        Texas Instruments XDS100v2 USB Emulator_0/CortxA8 (Running)    
        Texas Instruments XDS100v2 USB Emulator_0/PRU_0 (Disconnected : Unknown)    
        Texas Instruments XDS100v2 USB Emulator_0/PRU_1 (Disconnected : Unknown)    
        Texas Instruments XDS100v2 USB Emulator_0/Cortex_A8_0 (Disconnected : Unknown)    

            I then selected Tools\GEL Files and right clicked on AM335x_beaglebone.gel (status: Sucess).  When I selected 'Reload', and again after starting all over and selecting Load GEL... C:\ti\AM335X_StarterWare_02_00_01_01\tools\gel\AM335x_beaglebone.gel, nothing seemed to happen and "Reload Program" hung again with

    BBW_AMBB.ccxml [Code Composer Studio - Device Debugging]   
        Texas Instruments XDS100v2 USB Emulator_0/M3_wakeupSS_0 (Disconnected : Unknown)   
        Texas Instruments XDS100v2 USB Emulator_0/CortxA8 (Suspended - SW Breakpoint)   
            main() at demoMain.c:481 0x80030D70  (main does not contain frame information)   
        Texas Instruments XDS100v2 USB Emulator_0/PRU_0 (Disconnected : Unknown)   
        Texas Instruments XDS100v2 USB Emulator_0/PRU_1 (Disconnected : Unknown)   
        Texas Instruments XDS100v2 USB Emulator_0/Cortex_A8_0 (Disconnected : Unknown)

        and demoMain.c in TI Resource Explorer window with cursor at int main(void)

    When I opened up the GEL file, it looked like I should have gotten "GEL_TextOut("\t ****  Beagle Bone EVM Initialization is in progress .......... \n","Output",1,1,1);    " at some point.

        On the other hand, as I noted before, usb_dev_serial loads the first time but

    hangs while single stepping inside MMUConfigAndEnable() at MMUInit((unsigned int*)pageTable); with message Can't find a source file at "K:/system_config/armv7a/mmu.c"

    ==========

    -- Please check if the project system_config is added in CCS. If not, browse the file to help CCS locate file.

         The only system_config files I could find are:

         Sorry I don't know how to crop this view.

    when importing the existing Eclipse projects, CCSv5 tries to build in debug mode, but this latest version of StarterWare fails due to some missing debug subfolders and will only build in release mode

    ===============

    -- It will be helpful if you post the error log of CCS to better understand the problem.

    Here it is:

    **** Build of configuration Debug for project usb_dev_serial ****

    "C:\\ti\\ccsv5\\utils\\bin\\gmake" -k -j 2 -s all
    'Building target: ../../../../../../../binary/armv7a/cgt_ccs/am335x/beaglebone/usb_dev_serial/Debug/usb_dev_serial.out'
    'Invoking: ARM Linker'
    <Linking>
    error #10008-D: cannot find file
       "../../../../../../../binary/armv7a/cgt_ccs/am335x/drivers/Debug/drivers.lib
       "
    error #10008-D: cannot find file
       "../../../../../../../binary/armv7a/cgt_ccs/am335x/system_config/Debug/syste
       m.lib"
    error #10008-D: cannot find file
       "../../../../../../../binary/armv7a/cgt_ccs/am335x/beaglebone/platform/Debug
       /platform.lib"
    error #10008-D: cannot find file
       "../../../../../../../binary/armv7a/cgt_ccs/utils/Debug/utils.lib"
    error #10008-D: cannot find file
       "../../../../../../../binary/armv7a/cgt_ccs/am335x/usblib/Debug/usblib.lib"
    error #10008-D: cannot find file

    >> Compilation failure
       "../../../../../../../binary/armv7a/cgt_ccs/grlib/Debug/libgr.lib"
    error #10198-D: no input section is linked in

     undefined first referenced
      symbol       in file     
     --------- ----------------
     Entry                     

    error #10234-D: unresolved symbols remain
    warning #10062-D: entry-point symbol "Entry" undefined
    warning #10202-D: no suitable entry-point found; setting to 0
    error #10010: errors encountered during linking;
       "../../../../../../../binary/armv7a/cgt_ccs/am335x/beaglebone/usb_dev_serial
       /Debug/usb_dev_serial.out" not built
    gmake: *** [../../../../../../../binary/armv7a/cgt_ccs/am335x/beaglebone/usb_dev_serial/Debug/usb_dev_serial.out] Error 1
    gmake: Target `all' not remade because of errors.

    **** Build Finished ****

    Thanks again,

    Warren

    BBW_AMBB.ccxml [Code Composer Studio - Device Debugging]    
        Texas Instruments XDS100v2 USB Emulator_0/M3_wakeupSS_0 (Disconnected : Unknown)    
        Texas Instruments XDS100v2 USB Emulator_0/CortxA8 (Suspended - SW Breakpoint)    
        Texas Instruments XDS100v2 USB Emulator_0/PRU_0 (Disconnected : Unknown)    
        Texas Instruments XDS100v2 USB Emulator_0/PRU_1 (Disconnected : Unknown)    
        Texas Instruments XDS100v2 USB Emulator_0/Cortex_A8_0 (Disconnected : Unknown)    

  • Warren,

    StarterWare release package doenot provide binaries for Debug build configuration. If you want to build an example in debug make sure the dependent libraries are build in debug configuration.

    Regards,

    Ramesh D

  • Ramesh:

         If this explains why I can't single step through usb_dev_serial, then I will try your suggestion Monday. 

         This does not explain why Demo does not load on the first try or why either example will not run in Release configuration.  Very frustrating.  I plan to start over on a desk top computer in case my laptop is the problem.

    Have a great weekend,

    Warren

  • Jason Z:

         Sorry I seemed to have hijacked your original post.

         Did you ever get an answer to:

    Can you advice why the demos  from  the StarterWare_02_00_00_07  not working on the AM3352

    BZCZ80, which is working on AM3358ZCZ72 before?

     Is it due to the PLL configuration needed to modify ? any change is supposed to do for the B version MCU?

    WS