emulator connecting without gel
Started by ●August 9, 2005
Hi Mike
I was having a grief of a time connecting to my new board but not to a
DSK with post in it. Then I remembered an old post where you
recommend no gel file. It seems to work. Next you said that the
emulator needs free cycles. Could you expond on that and suggest how
to be sure, with flashed code, that it gets them. I can put lots of
dead time in 'main' so what would you say to do?
Thanks, Al
Reply by ●August 10, 20052005-08-10
Hello Al,
A couple of comments...
1. if you have real 'embedded code', you should not require a GEL
file [although they can be handy]. the typical requirement for a GEL file
in the C6x world is to initialize your EMIF [and maybe do some minor
housekeeping] during development until your embedded code 'learns how to do
it'.
2. I am not sure which c6x you have [they each have their own 'bring
up personality'].
3. Re: emulator control and 'free cycles'
When you reset a c6x, it starts executing code somewhere as soon as reset
is released [unless your device is in a 'host boot mode'] .
If there is no 'intelligent code present', the DSP excutes
'garbage'. As it does this [I am getting to the answer], some
device/board combinations appear to get into a situation where a memory cycle is
started but never completed. If the memory cycle never ends [because the
ready logic is waiting on ARDY or an intern ready signal], the emulator can
never gain control.
4. Suggestions:
for typical embedded systems I like to put a 'forever loop'
starting at 0 in Flash or via host boot [i manually put 0's in about the
first 10 words, followed by 0x12, followed by 6 words of 0's]. This
or any other code will allow the emulator to gain control.
NOTE: If you have a c64x embedded system and you put RTDX code in
your FLASH, you cannot bring up CCS after RTDX has initialized [this is hardware
related].
I apologize for rambling on...
mikedunn
eewizard_1 <e...@yahoo.com> wrote:
Hi Mike
I was having a grief of a time connecting to my new board but not to a
DSK with post in it. Then I remembered an old post where you
recommend no gel file. It seems to work. Next you said that the
emulator needs free cycles. Could you expond on that and suggest how
to be sure, with flashed code, that it gets them. I can put lots of
dead time in 'main' so what would you say to do?
Thanks, Al<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/c6x/
<*> To unsubscribe from this group, send an email to:
c...@yahoogroups.com
<*