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.

Initial problems with a L138 board

Other Parts Discussed in Thread: OMAP-L138

I have been using an in-house prototype that was L137 based - that is up and running  (all in-house code - no Linux or DSP/BIOS...)

I just received the first sample of a newer prototype board that has L138 and DDR2 instead of L137 and SDRAM and I'm having some problems getting anywhere.

Questions:

1) Where do I get GEL files for L138 (I see references to c6748.gel on the forums - but I do not have it...)

2) If I leave CCS configured for my L137 based prototype board it will connect to the DSP - but connecting to the ARM gives me

Trouble Halting Target CPU: Error 0x00000020/-2011 Error during: Execution,  An internal error occurred in which an illegal action (0x00000000) was requested while disconnected.

about a dozen times...Which could easily be due to some configuration issue - or to the fact that it is trying to boot from NOR flash - and the flash is not initialized...

(I kind of need to get into the processor with the JTAG to update the flash.....)

Ken Dougherty

  • Ken Dougherty said:
    I just received the first sample of a newer prototype board that has L138 and DDR2 instead of L137 and SDRAM and I'm having some problems getting anywhere.

    Is your L138 board a custom board or a Logic PD board?

    Ken Dougherty said:
    1) Where do I get GEL files for L138 (I see references to c6748.gel on the forums - but I do not have it...)

    The GEL files are available from Logic PD (www.logicpd.com).  Last I heard, you could request the files without purchasing an EVM.

    Ken Dougherty said:
    2) If I leave CCS configured for my L137 based prototype board it will connect to the DSP - but connecting to the ARM gives me

    Trouble Halting Target CPU: Error 0x00000020/-2011 Error during: Execution,  An internal error occurred in which an illegal action (0x00000000) was requested while disconnected.

    about a dozen times...Which could easily be due to some configuration issue - or to the fact that it is trying to boot from NOR flash - and the flash is not initialized...

    The CCS configuration is compatible between L137 and L138.  It is likely that the ARM is busy trying to execute code.  The failsafe Emulation Debug boot mode will keep the ARM in an idle loop so that you can connect with CCS.

    -Tommy

  • [Is your L138 board a custom board or a Logic PD board?]

    Custom - 256mb ddr2 (2 x K4T1G084QQ), Ethernet (ksz8041nl phy),  Boot from 4MB NOR flash (S29AL032D),  FPGA (EP3C16F484C8) (on EMIFA)

    plus a bunch of other stuff attached through the FPGA...

    [The CCS configuration is compatible between L137 and L138.  It is likely that the ARM is busy trying to execute code.  The failsafe Emulation Debug boot mode will keep the ARM in an idle loop so that you can connect with CCS.]

    I'll have to get someone better with a soldering iron than I to change that... - unfortunately I'm on a trip for the next week and a half so I won't get much done til I'm back

     

    Ken Dougherty

  • No can do...

    The instructions for External Spectrum Digital USB JTag and CCS 3.3 require me to download stuff from LogicPD.com

    When I go to the LogicPD web site, I had to create an account, then I had to "register my kit or display board" before I could go to the download area...

    This is a custom board - I do not have a LogicPD "kit or display board" to register... so I cannot get to the download area...

     

     

     

  • Hi Ken,

    Thanks for the feedback, it seems that just the L138 BSL (not the C6748) is available without a board, I gave feedback about this and hope this will be corrected. See post below.

    For the L138 you do not need a board to get the BSL and the files you need. All you need is an account in Logic's site, not a board.

    Once you created an account, go to the "Kit Contents" site and click on "OMAP-L138 SOM-M1 GEL, CCS Setup, & BSL Files (requires account)" :

    http://www.logicpd.com/products/development-kits/zoom-omap-l138-experimenter-kit#tabs-som-2

     

     

  • For the C6748 BSL files, you still do not need a board - you can find the link in the development kit page below. All you need is an account in Logic's site, not a board.

    http://www.logicpd.com/products/development-kits/zoom-omap-l138-evm-development-kit#tabs-som-2

     

  • Thanks - I got the GEL files - are there xml files available to setup the memory mapped peripherial registers?

  • I'm back now... I just had one board reworked to failsafe emulation boot mode (I have a few to work with).

    I still cannot connect to the ARM core - connecting via the DSP core I can see the syscfg0 register bootcfg = 0x1E (was 0x02 before) - so it looks like the rework succeeded.

    But I get a long sequence of these errors whenever I try to connect to the ARM

    Trouble Halting Target CPU: Error 0x00000020/-2011 Error during: Execution,  An internal error occurred in which an illegal action (0x00000000) was requested while disconnected.

    Tried power cycling the board and connecting/disconnecting USB from the JTag, in various sequences with no change...

    I am currently setup such that OnTargetConnect does no initialization - and I can connect with the same setup to the older OMAPL137 board and connect to both processors without problem (The ARM is in reset on the '137 until I boot  via the DSP - but then I can connect without issues.)

    Another piece of possibly useful info - when I connected with the bootmode set to NOR flash - I expected the ARM to have tried to boot from the empty flash

    That "should" have initialized the pinmux registers and woke up (and configured) EMIFA - but when I looked from the DSP side nothing had been configured.

    It seems that the ARM is just plain dead...! - any ideason where to look  - I'm dead in the water at this point...

    Ken D

     

  • Ken,

    Is RTCK used for the JTAG return clock?

    Do you have a local FAE contact?

    -Tommy

  • >>Is RTCK used for the JTAG return clock?

    Pin K17 on the processor (labeled RTCK) is connected to pin 9 of the JTag header.

    But had I assumed that the JTag was wired correctly when I could connect with the DSP...

    >>Do you have a local FAE contact?

    Not that I know of - I talked with a Brad Griffis last November and he was going to look into a local contact for me and follow up - but I have not heard back from that - I have sent him a note on this also...

    Our hardware design and build is in Minnesota - then they send me the board (in California) to see if it works....

     

    Ken D