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.
Hi,
Where can I find link to download DSP/BIOS-based file system for OMAP L-137 evm? Is it possible to boot DSP program from evm SPI memory configured as file system?
I tryied to boot my DSP program from SPI evm memory but after reset program not work. From CCS via USB program works good. I converted my .out code with AISgen
for D800K001 and then wrot SPI memory similar like in ...\evmomapl137_v1\dsp\test\spiflash example ( I used AIS header file), than I set up BOOT SW 2 and 0. I read about
U-Boot under Linux - is it the easiest way to prepare SPI boot?
Best regards,
Hi Adam,
There will be a file system (RTFS – Real time File System) for the next software release for primus – GA. It works for SD card and USB, I do not think it works for SPI flash.
Usually, when a DSP program works with the emulator and not in the flash, the problem could be that some initialization by the GEL file (used only when connected with Code Composer) is not transferred to your file. Or it could be that the conversion to ais was not correctly made according to the document:
http://focus.ti.com/general/docs/litabsmultiplefilelist.tsp?literatureNumber=sprab04b
Actually, you can find the a link to the file system at this web site:
https://www-a.ti.com/downloads/sds_support/targetcontent/psp/bios_psp/index.html
you will need a ti.com ID.
Hi, Marianna
Thank you for help. Is the file system free or should I pay for licence, I don`t understand exactly term of licence? I bought OMAP L-137 evm with software included.
Adam said:Is it possible to boot DSP program from evm SPI memory configured as file system?
You cannot boot the DSP directly from SPI memory configured as a file system. The ROM bootloader would not be able to read and understand it. The ROM bootloader only understands the AIS format.
Please, tell me, if I good understand. Boot from SPI memory configured as a file system is possible after embedded Linux or Windows kernel written in AIS format. After that I set up processor to boot from USB or SPI, then write script similar to autoexec.bat pointing on executable file ( .exe or .out?). Where I can find more info about this?
Another question:
Is it possible to run program using stdio.h (*.out) on evm from PC via USB wtihout run CCS? Is there simple USB to evm loader I have to install on PC without installing CCS?
Adam,
Boot from USB is not supported. If I understand you want to boot with the image that you would provide without CCS intervention. I think this option is not possible over USB.
regards
swami
Adam,
From my experience with an alpha version a couple of months ago, the RTFS gives you an example "command line" interface in CCS (called "Starting rtfs shell" using the output window and input dialog box) where you can you can do file operations like mkdir, chdir, etc. for debug. All this is in the .out file.
So I could see you booting your RTFS-based .out file out of SPI flash (with NAND, SD/MMC, or even RAMDISK RTFS). They you use whatever command protocol to manipulate the files.
Please see C:\OMAPL137_dsp_1_00_00_07\rtfs_1_00_00_08\packages\ti\rtfs\examples\mmcsd\mmcsd.c for an example (which I used).
I flashed to SPI: DSP AIS, SBI UBL and U-Boot, after final SW2 settings and power up board again the evm boot from SPI, I control it via Windows terminal. Next I convert my DSP source code .out ( source work correctly via CCS USB) using AISgen for D800K001 to bin format, AISgen is configured for EVM (SPI0 Flash). Then I set up SW2 72103 - 11110, run CCS DSP then ARM, load and run spiflash_writer_ccsv3.out from PSP_02_20_00_05\bin. Then I choose dspais and load my program in AIS format. After final SW2 settings and power up board my program didn`t run. I did the same for demo led program. Why my programs didn`t boot? Dspais option is wrong?
Sounds reasonable.
I did something similar with the DSPLINK loop example and for some reason had to always load the DSP loop.out file with CCS. Another customer told me he got it working out of SPI flash but I never figured out what I was doing wrong.
Can you debug in CCS by using File->Load Symbols on the DSP-side?
This will tell you if the code is getting loaded to the right place or not. Sorry I'm not more help.
Here's a wiki topic that goes into a little more detail on debugging your code:
http://tiexpressdsp.com/wiki/index.php?title=Debugging_from_Flash
We need to narrow down where the issue is occurring, e.g. does u-boot load/run properly, etc?