Hi,
I currently feel completely lost in the big world of OMAP-L138, mainly because of all the possibilities. I can't find a direction to go to really start playing with this baby. I've made some sections in my post, because it can become unreadable! Please keep in mind that I'm new to TI, new to OMAP, new to big chips like this (I previously used small MCUs) and almost new to CCS.
And before going further, I'll just state what I plan to do with the OMAP. For my project, I plan on using the Logic PD SOM-M1 board to save time (with a custom in-house board to connect to), but I plan on using SYS/BIOS as the RTOS for my application. The application will use some peripherals, like Ethernet, uPP, uart, SPI. I want to use the ARM core for Ethernet and most of the application needs and dedicate mathematics and other tasks to the DSP core.
I recently bought the OMAP-L138 EVM kit from Logic Pd to get introduced to the OMAP-L138. First of all, I liked the package and got it running in no time. I explored the code examples, the schematics, etc. and feel ok about that kit in general. I noticed their BSL (library) too and that's were I got a little confused. To be honest, I'm not sure how everything works on their boards. If all the DIP switchs are OFF, the boot mode is the SPI Flash (according to their doc), but when a SD card is plugged-in, an OS+application starts. If not, nothing happens. Just to be sure I understand, does it mean that a bootloader is located on their SPI Flash memory, which when loaded, tries to load from the SD card?
Answer found talking to Logic PD people.
CCS New Project settings - Questions
Since the examples of Logic Pd don't use an OS (correct me if I'm wrong), I'm not sure how to integrate their library (BSL) with my SYSBIOS application. But I think this will answer itself when I start writting some code. So I decided to check the SYSBIOS getting started guide and tried to create the Hello World application. I got stuck really quickly on some parameters in the New Project wizard:
- Project Type: The default is C6000, like the doc also suggest. I was tempted to use "ARM", but I noticed that the Project Type of the Logic Pd examples are "C6000". Which one must I choose? What are the differences?
- RTSC Platform: there are two that likely target my board: "ti.platforms.expOMAPL138" and "ti.sdo.ipc.examples.platforms.evmOMAPL138.dsp". Not sure which one to choose...
Answer found asking on the correct TI forums.
Booting the OMAP - Questions
So, there are hardware pins to tell the OMAP from which device to boot. Is it possible to have the code (application) in the chip itself, thus not dependant of an external memory? I mean, when developping, CCS with load the application in the chip ROM right? But when the OMAP power-up without CCS, it checks the hardware pins to know where to boot? So how do I burn the release application if it must go in an external memory? (sorry, I'm used to have a mcu with internal memore where the application lives, so I'm lost here).
Gel, bootloader options and dynamic init - Questions
I've read in some documents that a Gel file is only used for debugging with CCS. After reading about the booloader, I figured that what's in the Gel must be in the bootloader, so initialization can take place prior to the application start. Is it possible to initialize peripherals (like DDR, SDRAM, etc.) in the C code itself instead of in the bootloader?
Linux/Windows CE and other OS - Questions
I must admit I haven't read on the subject at this point, but I though I would ask the question anyway. Just to be sure I understand the principle... when developping for Linux (for example), the application is develpped using CCS and then the resulting executable is added to an image that is loaded from a memory when the OMAP starts, launching Linux + the application? If yes, is it the same for Windows CE, Android, etc?
Answer found while investigating.
A big post, a lot of questions. And looking for help to getting started on the right track. A big thank you before any answer!
Sincerly!