Reply by drag...@yahoo.com May 12, 20082008-05-12
Hi,
I have a clue about what may be wrong. I suppose the problem is that the SDRAM is not stable at the time when the second level bootloader transfers the data from the FLASH to the SDRAM. All the necessary settings are properly done, but there are some minor errors sometimes.
After a detailed analysis over the working NON/BIOS bootloader I have identified the line after which the RAM becomes stable. That line is:
io_port_values=*(unsigned volatile int *)IO_PORT;
I would be happy if somebody explain to me why the reading from the IO buffers have such a big impact over the SDRAM transactions.
The above command is assembled as follows:
00002C44 018000F8 ZERO.L1 A3
00002C48 01C80468 MVKH.S1 0x90080000,A3
00002C4C 018C0264 LDW.D1T1 *+A3[0x0],A3
00002C50 00006000 NOP 4
00002C54 01BD42F4 STW.D2T1 A3,*+SP[0xA]
00002C58 00002001 NOP 2
When I tried to implement them within the bootloader, the compiler is giving to me an error. The unknown part is this “SP”. Since I can not find such a register, I can not copy them (in assembler) in the bootloader in order to make the RAM stable. What is this “SP”, and how to implement its functionality?
I would be very grateful if someone can explain to me this situation.

Thank you in advance,
Dragomir Nikolov
Hi,
>
>Ie have try to make it hundred of times but without success. After
>reading the TI's PDF (spra999a.pdf) I wrote the bootloader without
>DSP/BIOS and it is running ok. Unfortunately it is not the same with
>the BIOS version.
>The first 1k is well copied into the internal ram. The copy table is
>read properly and all sections are placed where they have to be. But
>when the DSP jump to the entry point, the LEDs are not flashing. If
>the DSP is reset from the CCS menu and then load the OUT file they
>start flashing …
>Please give us some advices, since I need only this to complete my project.
>I would be very thankful if you can send me some example project (not
>for 6713) that is really working (on the 6711DSK or any other 6711
>board)!
>
>Thanks in advance,
>Dragomir Nikolov
>
>P.S. there are some sections that are excluded from the HEX file,
>since it is in runtime autoinit:
>
>-boot
>-bootorg 0x90000400
>-bootsection .boot_load 0x90000000
>
>-exclude .sts
>-exclude .log
>-exclude .args
>-exclude .LOG_system$buf
>-exclude .LOG_MW1$buf
>-exclude .stack
>-exclude .logTrace$buf
>