Hello C6x Pals I want to fuse this code into the ROM ( 128Kx8). The Rom is connected at I have wriiten the custom boot code as follows ( below the map file). I tried copying the .text and .cinit sections ..but the code is not
getting can any one suggest as what sections i need to copy onchip so that the code executes.. whats the problem with this code?
Thanking you R.J.Nayaka
OUTPUT FILE NAME: <main.out>
name
origin length
used attr fill
output
attributes/ .text 0
90000200 00000700 RUN ADDR =
00000200 .cinit 0 90008000
00000054 RUN ADDR = 00008000 .const 0 00008000 00000000 UNINITIALIZED .data 0
00008000 00000000 UNINITIALIZED .cio 0 00008000 00000000 UNINITIALIZED .far 0
00008054 00000094 UNINITIALIZED .stack 0 000080e8
00000200 UNINITIALIZED .bss 0
00008000 00000000 UNINITIALIZED .sysmem 0 00008000 00000000 UNINITIALIZED
address name
address name [35 symbols] custom boot code
EMIF_GCR .equ
0x01800000 ;EMIF global control
QDMA_OPT .equ 0x02000000 ;QDMA options
register mvkh
EMIF_GCR,A4 mvkl
EMIF_CE0,A4 ;EMIF_CE0 address ->A4 mvkh
EMIF_CE0,A4 mvkl
EMIF_CE1,A4 ;EMIF_CE1 address ->A4 mvkh
EMIF_CE1,A4
mvkl QDMA_OPT,A5 ; set QDMA options ; next section b copy_section_top copy_done: ; done with section copying. -c
|
booting problem
Hello pals The code gets loaded onto the on-chip memory of the DSP but the program counter does not vary i.e. it remains at 0x00000000. I believe ...even if thers a junk code to execute the PC should vary to some value apart from being 0x000000000.
Can any one suggest as whats the problem. Thanking you Nayaka
|
It looks like the DSP is in permanent reset.
Jean-Michel
MERCIER
|
hello we ensured that DSP is not in permanent reset state, we have connected LED on RESET pin, with which we can observe RESET is behaving properly. thanking you Raja Jitendra Nayaka. Jean-Michel MERCIER <> wrote:Hello, Check the RESET pin ?You said it is your board, so I believe you should findeasily if something is going wrong. I am not allowed to answer directly. Please keep the conversationon the yahoogroups forums. Best regards, Jean-Michel Mercier-----Message d'origine----- De : raja nayaka [mailto:] Envoy: mardi 28 janvier 2003 08:10 : Objet : RE: [c6x] booting problem Dear Jean-Michel MERCIER thanks for response, can you please give hints about ,how to ensure DSP is in permanent reset?... thanking you R.J.Nayaka Scientist ITI Ltd, bangalore Jean-Michel MERCIER <> wrote: It looks like the DSP is in permanent reset. Jean-Michel MERCIER -- dsp & imaging - www.ateme.com ATEME - 26 Burospace - 91573 BIEVRES Tel : +33 (0)1 69 35 89 73 (direct) Fax : +33 (0)1 60 19 13 95 -----Message d'origine----- De : raja nayaka [mailto:] Envoy: vendredi 24 janvier 2003 07:24 : Objet : [c6x] booting problem Hello pals The code gets loaded onto the on-chip memory of the DSP but the program counter does not vary i.e. it remains at 0x00000000. I believe ...even if thers a junk code to execute the PC should vary to some value apart from being 0x000000000. Can any one suggest as whats the problem. Thanking you Nayaka --------------------------------- message will receive your answer. You need to do a "reply all" if you want your answer to be distributed to the entire group. _____________________________________ About this discussion group: To Join: Send an email to To Post: Send an email to To Leave: Send an email to Archives: http://www.yahoogroups.com/group/c6x Other Groups: http://www.dsprelated.com _____________________________________ Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer. You need to do a "reply all" if you want your answer to be distributed to the entire group. _____________________________________ About this discussion group: To Join: Send an email to To Post: Send an email to To Leave: Send an email to Archives: http://www.yahoogroups.com/group/c6x Other Groups: http://www.dsprelated.com Catch all the cricket action. Download Yahoo! Score tracker Catch all the cricket action. Download Yahoo! Score tracker |