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.

Bringing up a AM180x based board for the first time

Other Parts Discussed in Thread: AM1802, OMAP-L138, AM1808

What steps do I need to take to setup a custom AM180x based board for the first time?  Can I use JTAG to install u-boot?  Do I need to use one of the boot modes of the AM180x to install u-boot?  Is there a document that shows the workflow of setting up a board for the first time?

I am using Virtual box on Windows 7.  I have a Ubuntu 10.10.16G installation as my linux host.  I have a Blackhawk USB100v2 JTAG dongle.  I have a custom board with a AM1802 processor with NAND flash and mDDR ram. 

Linux appears to load the drivers for the USB100v2 and I set it up in CCS with a target configuration.  However, I've found no documentation that describes where to go from there.  How do I take the u-boot binary file and flash it to the board? 

Thanks,

David

  • Hi David,

    Most of the information we have regarding these steps is written specifically for the EVMs, but there are some instructions discussing how to flash UBL and u-boot. Keep in mind that you will likely need to modify some of the software for your custom hardware (the flash writer to talk to your flash device, u-boot for configuration settings, etc.) but the rest of the steps would be largely identical.

    With that said here are some links to this information I'd mentioned. Keep in mind that the ARM-related OMAP-L138 information applies to the AM18x as well.

    Getting Started with the AM18x EVM
    Community Linux PSP for OMAP-L1x
    Flashing Images on OMAP-L138 EVM

    I don't know if there is anything out there more tailored to bringing up a new custom board but hopefully this helps as a starting point. I will keep an eye out and post anything else I find.

  • Okay, I'm reading over the following link:

    http://processors.wiki.ti.com/index.php/How_to_connect_to_the_OMAP-L138/C6748_EVM_board_using_CCS%3F

    I created the target configuration and loaded the gel file.  The next step says:

    When connecting to the AM1808, follow these steps:

    1. Launch the Target Configuration created above
    2. Select the top line of ARM9_0 and right-click Connect Target
    3. Now you are ready to start loading code and start debugging

    How do I launch the target configuration??? 

     

  • David Pettit said:
    How do I launch the target configuration??? 

    You can right click that target configuration and select Launch Selected Configuration.

  • When I right click, I don't see the option "launch selected configuration".

  • David,

    I'm sorry. I'm set in my way of doing things and didn't think to offer more than that method of doing things. Did you create a .ccxml file and save it in your project? If so you can right click the file and select it as the Active Target Configuration. Then you can right click it again and select Debug As -> Debug Session.

    Alternately if you want to use this as your default you can choose it as the Default Target Configuration, then click the drop-down button next to the bug symbol on underneath the Project menu and select Launch TI Debugger.

  • I am working on the same project with David.

    My question is twofold.

    1) Is there somewhere I can download a GEL file for the am1802.  We only seem to be able to find GEL files for the am1808.  Also, Code Composer 5 only seems to be aware of the am1808, not the 1802.

     

    This leads to my second question in that I suspect the error I am getting is that I don't have the correct definitions for an am1802.

    I am following the instructions in this wiki:

    http://processors.wiki.ti.com/index.php/How_to_connect_to_the_OMAP-L138/C6748_EVM_board_using_CCS%3F

    I am using CCS 5 on Ubuntu 10.10 Linux.  (all this seems to mean is that some of the menu selections are in a different place, and I had to change some "\'s" to "/'s" in the ccxml files).

    Anyway:  I get to this point in the instructions in the wiki:

    1. Launch the Target Configuration created above
    2. Select the top line of ARM9_0 and right-click Connect Target

    When I try to connect to the target (by right-clicking on it after, apparently successfully, launching my target config), it throws the following error:

    Error connecting to the target:

    Error 0x80002240/-183

    Fatal Error during: Initialization, OCS, Control, 

    Is this due to CCS not having the correct device description, or something else?
    Should the boot pins be configured as below when using the emulator?  (They are.)
    Boot pins [7..0]:  0001 1110 Emulation Debug
    Thanks,
    Mark