|
R2009b version of the Target Support Package product supports code
generation for both of the processors that you are targeting (only the DSP
part of the OMAP-L137 is supported for code gen). There are device driver
support for both platforms such as SRIO on C6455 and Ethernet (TCP/IP and
UDP) on both platforms. This might make your data I/O easier.
In general, I would recommend prototyping your algorithm in Simulink.
Incrementally testing components by generating code from the Simulink model
and verifying them on the board. This way, you can slowly build the entire
application while continuosly verifying the algorithm on the final platform
it is intended to un. Simulink makes it much easier to develop algorithms
because of its graphical nature. After building the entire application in
Simulink and verifying that it works as expected, I would move onto the
optimization step where you may want to replace certain parts of the
auto-generated code or go into DMA based block processing etc.
"Riccardo" <nothx@nospam.org> wrote in message
news:hdh7pp$iqi$1@fred.mathworks.com...
> "Matt " <remove.this.matt_d_br@hotmail.com> wrote in message
> <hdgksm$3rh$1@fred.mathworks.com>...
>> Hi,
>>
>> We're working on a new project and are planning on using Simulink/RTW for
>> video processing algorithm development.
>>
>> What's not clear to me is what we do about the supporting infrastructure.
>> Do we try and develop the whole application in Simulink or do we import
>> the generated code in to a hand coded application?
>>
>> The application involves multiple TI processors (C6455 and OMAPL-137) and
>> an FPGA.
>>
>> We've started algorithm development and I've generated code and run it on
>> a TI DSK6455 by creating a Code Composer Studio project and writing a
>> simple app to call the model step function.
>>
>> Obviously in reality the app will be much more complicated. It will need
>> to handle incoming video data and configuration data that will be
>> arriving via Serial Rapid I/O, it will be running multiple algorithms,
>> etc.
>>
>> We don't have a license for IDE Link or Target Support Package. Perhaps
>> we should?
>>
>> Any thoughts or pointers to further reading greatly appreciated!
>>
>> Thanks,
>> Matt
>
> Matt,
>
> I'd say the choice depends on:
> 1 - budget;
> 2 - resources available (man power AND Simulink/RTW/etc. skills and
> experience);
> 3 - how much and how well your real world system/task/problem can be
> represented in Simulink.
>
> In the past I've found (3) critical for custom apps - e.g.: explicit
> handling of pointers is completely alien to Simulink, while it may be very
> important for memory management in your app. Conversely, algorithms
> development is often made easier by Simulink block-diagram structure.
>
> If your app cannot be fully represented/described via Simulink
> block-diagrams, but you are happy with developing algorithms and
> autocoding them, you can just use RTW, defining algorithms' I/O in terms
> of Simulink Global/Exported signals and leaving all optimizations to the
> compiler.
>
> Otherwise, if Simulink is suitable for representing your entire app,
> subject to (1) you may try using Embedded Coder, which gives you more
> influence on the code generation process.
>
> For the rest:
> - High (1) Low(2) => besides tools, some consultancy time may help to
> speed-up development & to facilitate acquiring skills;
> - Low (1) High (2) => unlikely you're going to get beyond Simulink/RTW for
> individual algorithms; autogenerated code modules will have to be
> integrated - at build time - with hand-written modules.
>
> HTH
> Riccardo
>
|