DSPRelated.com
Forums

RTDX bootloader?

Started by stino_rides August 17, 2004
Hello group,
I found lots of posts on booting from flash etc, but I didn't find an
answer there: I have a program that is 420kb big, and i cannot get it
smaller so it does not fit in my C6713DSK's flash;
so my idea was: i burn another program to flash, let it open an RTDX
channel to my host pc, and transfer a .hex which contains a memory
dump of the 420kb prog to RAM, then make the PC point to the start
location in RAM and go.. So i can load and run a prog without the aid
of CCS, which is my goal.
My fisrt question: is this strategy worth a try? I assume all you need
to get the .hex to the correct ram locations is some code like in the
FBTC files?
My second question: how to enable RTDX without CCS?? I wrote the small
boot app, it runs fine until the RTDX_read command (I indicate this
with LEDs, i just adapted the 'post' code), then waits for a host
connection. When I open up my dos rtdx host, i always get "Error:
Opening of channel \"ichan\" failed! \n" However when manually running
the boot program, and enabling rtdx through RTDX>configuration
control, it does work, so I'd like to find a way to get RTDX working
without CCS's aid, if possible.

Another strategy I was thinking of: would it be possible to use the
"load program" and "run" commands from CCS within another program? I
mean, if I find out from which dlls these functions are called, it's
possible I can call these from within any other code, and thus
eliminating the need for CCS to load my program..

Any help/comments on this subject is very welcome, as well as other
strategies to get the DSK booting a program larger than flash rom.

Regards,
Stijn



Stijn-

Why does 420k byte not fit DSK C6713 Flash? 512k x 8 is a medium size Flash
size.

If it's true the DSK C6713 Flash is small, then why not replace it with a larger
capacity part?

The other methods u mention below lead to Hassle with capital H.

-Jeff stino_rides wrote:
>
> Hello group,
> I found lots of posts on booting from flash etc, but I didn't find an
> answer there: I have a program that is 420kb big, and i cannot get it
> smaller so it does not fit in my C6713DSK's flash;
> so my idea was: i burn another program to flash, let it open an RTDX
> channel to my host pc, and transfer a .hex which contains a memory
> dump of the 420kb prog to RAM, then make the PC point to the start
> location in RAM and go.. So i can load and run a prog without the aid
> of CCS, which is my goal.
> My fisrt question: is this strategy worth a try? I assume all you need
> to get the .hex to the correct ram locations is some code like in the
> FBTC files?
> My second question: how to enable RTDX without CCS?? I wrote the small
> boot app, it runs fine until the RTDX_read command (I indicate this
> with LEDs, i just adapted the 'post' code), then waits for a host
> connection. When I open up my dos rtdx host, i always get "Error:
> Opening of channel \"ichan\" failed! \n" However when manually running
> the boot program, and enabling rtdx through RTDX>configuration
> control, it does work, so I'd like to find a way to get RTDX working
> without CCS's aid, if possible.
>
> Another strategy I was thinking of: would it be possible to use the
> "load program" and "run" commands from CCS within another program? I
> mean, if I find out from which dlls these functions are called, it's
> possible I can call these from within any other code, and thus
> eliminating the need for CCS to load my program..
>
> Any help/comments on this subject is very welcome, as well as other
> strategies to get the DSK booting a program larger than flash rom.
>
> Regards,
> Stijn