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.

Running sfh_OMAP-L138.exe from application code

Other Parts Discussed in Thread: OMAP-L138, OMAPL138

I'm having real problems achieving the above on a windows platform. I'm trying to provide firmware uploads in an automated production environment. I've had no problem achieving the same for the other boards in our system (via JTAG)

When I run this application from within my python code using the subprocess module I get the following error:

Unhandled Exception: System.InvalidOperationException: Cannot see if a key has been pressed when either application does not have a console or when console input has been redirected from a file. Try Console.In.Peek.

and sfh_OMAP-L138 then crashes.

As a workaround to this I tried running in a new terminal by using start, this works OK BUT I need the output logged. However, whenever I try to redirect the output to a file using >> or wintee I get the following error:

The handle is invalid. Interfacing to the OMAP-L138 via UART failed.

and the upload fails.

  • Hi Peter,

    For more specific information there is another forum for OMAP-L13x, AM1x and C674x Processors (http://e2e.ti.com/support/dsp/omap_applications_processors/f/42.aspx);

    you can post your question there, as well . The people supporting it may be more acquainted with OMAPL138 specific parameters. 

    Regards,

    Boyko