Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).
| "SASKEN RATED Among THE Top 3 BEST
COMPANIES TO WORK FOR IN INDIA - SURVEY 2005 conducted by the BUSINESS TODAY - Mercer - TNS
India" SASKEN BUSINESS DISCLAIMER This message may contain confidential, proprietary or legally Privileged information. In case you are not the original intended Recipient of the message, you must not, directly or indirectly, use, Disclose, distribute, print, or copy any part of this message and you are requested to delete it and inform the sender. Any views expressed in this message are those of the individual sender unless otherwise stated. Nothing contained in this message shall be construed as an offer or acceptance of any offer by Sasken Communication Technologies Limited ("Sasken") unless sent with that express intent and with due authority of Sasken. Sasken has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email |
|
sharath malve <s...@yahoo.com> Sent by:
2006-02-01 06:57 AM |
|
Hello, I second Alex's post. Being polite doesn't hurt. Also, proper writting makes reading more comfortable, eventhough your mother tounge is not english (this is my case, too), try to do your best. Regards, JaaC --- Alex Young <alex.young@alex...> wrote: > Please don't post for the sake of telling other not > to post! All questions > are welcome (except homework). > This type of mistake can take even experienced > engineers some time to > spot. > Also try to use proper words instead of U for 'you' > and avoid spelling > mistakes: shud is spelt 'should'. > > Alex Young > Senior DSP software Engineer Jaime Andrés Aranguren Cardona jaime.aranguren@jaim... jaime.aranguren@jaim... __________________________________________________ ">http://mail.yahoo.com
Hi folks, While I agree that any question is ok, and proper writing is easier on a big screen, I would not be opposed to other languages being used. Because I only know english and very little French, I can't answer German or Polish posts. But many of you out there can. Quick translations of the core of a question can help internationalize a new student and make them feel welcome even though they don't know any other language. Posting in both your native tongue and english can help others figure out the question, and maybe help with the translation so us dumb english speakers can actually understand it better. And we all get to learn more that way too. Patience, persistence, truth, Dr. mike On Fri, 3 Feb 2006, Jaime Andres Aranguren Cardona wrote: > Hello, > > I second Alex's post. Being polite doesn't hurt. Also, > proper writting makes reading more comfortable, > eventhough your mother tounge is not english (this is > my case, too), try to do your best. >
Hi, I'm trying to execute code from my SRAM (Bank 1 - AMS1). It works fine when my program is loaded in flash and board is booting on the flash (no Emulator). But when I want debugging my code using emulator it doesn't works (exception when accessing SRAM, because no code loaded inside), similar if Bank1 isn't loaded with my code when dxe is loaded into the target: is there a special way to do this? It seem's like I need to initialize EBUI_AMGCTL before VDSP load code in SRAM? Do you have the solution or any idea? Thanks for your help
Hi, Your question is little bit confusing. Can you please explain clearly. However see below if it helps. If you are trying to access SRAM at AMS1, then you need to make AMBEN[2:0] bits in EBIU_AMGCTL register to either of "010", "011" or "1xx". The memory mapping in LDF file has to be appropriate while you emulate. You have to instantiate EBIU_AMGCTL apart from other registers in your code before you start accessing AMS1 memory. Regards, Vikas. -----Original Message----- From: adsp@adsp... [mailto:adsp@adsp...]On Behalf Of Arbos Ing�nierie Sent: Saturday, February 11, 2006 9:30 PM To: ADSP@ADSP... Cc: 'St�phane GOUEL - ARBOS Technology' Subject: [adsp] BF532 : Running code in SRAM under VDSP session Hi, I'm trying to execute code from my SRAM (Bank 1 - AMS1). It works fine when my program is loaded in flash and board is booting on the flash (no Emulator). But when I want debugging my code using emulator it doesn't works (exception when accessing SRAM, because no code loaded inside), similar if Bank1 isn't loaded with my code when dxe is loaded into the target: is there a special way to do this? It seem's like I need to initialize EBUI_AMGCTL before VDSP load code in SRAM? Do you have the solution or any idea? Thanks for your help
Hi, Configuration is OK, at the beginning I initialize PLL and EBIU_AMGCTL. When I Load my code in external Flash and I start my board (booting from flash with no emulator) it work's fine, code in SRAM is executing correctly. But my problem is when I want debugging the same code under VDSP with my emulator : it seems code isn't loaded in SRAM so when my program try to access SRAM, exception appear because no valid opcode in SRAM. It seems like when DXE is loaded into target, code located is SRAM isn't loaded, is there a special option or way to do this? Thank's in advance -----Message d'origine----- De�: Vikas Chandra Rao [mailto:vikas@vika...] Envoy�: lundi 13 f�vrier 2006 11:21 �: Arbos Ing�nierie; ADSP@ADSP... Cc�: 'St�phane GOUEL - ARBOS Technology' Objet�: RE: [adsp] BF532 : Running code in SRAM under VDSP session Hi, Your question is little bit confusing. Can you please explain clearly. However see below if it helps. If you are trying to access SRAM at AMS1, then you need to make AMBEN[2:0] bits in EBIU_AMGCTL register to either of "010", "011" or "1xx". The memory mapping in LDF file has to be appropriate while you emulate. You have to instantiate EBIU_AMGCTL apart from other registers in your code before you start accessing AMS1 memory. Regards, Vikas. -----Original Message----- From: adsp@adsp... [mailto:adsp@adsp...]On Behalf Of Arbos Ing�nierie Sent: Saturday, February 11, 2006 9:30 PM To: ADSP@ADSP... Cc: 'St�phane GOUEL - ARBOS Technology' Subject: [adsp] BF532 : Running code in SRAM under VDSP session Hi, I'm trying to execute code from my SRAM (Bank 1 - AMS1). It works fine when my program is loaded in flash and board is booting on the flash (no Emulator). But when I want debugging my code using emulator it doesn't works (exception when accessing SRAM, because no code loaded inside), similar if Bank1 isn't loaded with my code when dxe is loaded into the target: is there a special way to do this? It seem's like I need to initialize EBUI_AMGCTL before VDSP load code in SRAM? Do you have the solution or any idea? Thanks for your help
Hello guys, Maybe I'm missing something here, but I wonder why would you want to put your code in external SRAM when using an emulator for debugging purposes? With the emulator you can debug it directly from internal SRAM, no need for extenal SRAM. As far as I can tell, this resembles more closely what actually happens when booting from Flash: program is loaded in internal SRAM and executed from there. Maybe if you contextualize a bit more, someone here can provide better advice. Kindest regards, JaaC --- Arbos Ing�nierie <arbos@arbo...> wrote: > Hi, > > Configuration is OK, at the beginning I initialize > PLL and EBIU_AMGCTL. > When I Load my code in external Flash and I start my > board (booting from > flash with no emulator) it work's fine, code in SRAM > is executing correctly. > > But my problem is when I want debugging the same > code under VDSP with my > emulator : it seems code isn't loaded in SRAM so > when my program try to > access SRAM, exception appear because no valid > opcode in SRAM. > > It seems like when DXE is loaded into target, code > located is SRAM isn't > loaded, is there a special option or way to do this? > > Thank's in advance > > -----Message d'origine----- > De�: Vikas Chandra Rao [mailto:vikas@vika...] > Envoy�: lundi 13 f�vrier 2006 11:21 > �: Arbos Ing�nierie; ADSP@ADSP... > Cc�: 'St�phane GOUEL - ARBOS Technology' > Objet�: RE: [adsp] BF532 : Running code in SRAM > under VDSP session > > Hi, > > Your question is little bit confusing. Can you > please explain clearly. > However see below if it helps. > > If you are trying to access SRAM at AMS1, then you > need to make AMBEN[2:0] > bits in EBIU_AMGCTL register to either of "010", > "011" or "1xx". The memory > mapping in LDF file has to be appropriate while you > emulate. You have to > instantiate EBIU_AMGCTL apart from other registers > in your code before you > start accessing AMS1 memory. > > Regards, > Vikas. > > > -----Original Message----- > From: adsp@adsp... > [mailto:adsp@adsp...]On Behalf Of > Arbos Ing�nierie > Sent: Saturday, February 11, 2006 9:30 PM > To: ADSP@ADSP... > Cc: 'St�phane GOUEL - ARBOS Technology' > Subject: [adsp] BF532 : Running code in SRAM under > VDSP session > > > Hi, > > I'm trying to execute code from my SRAM (Bank 1 - > AMS1). It works fine when > my program is loaded in flash and board is booting > on the flash (no > Emulator). But when I want debugging my code using > emulator it doesn't works > (exception when accessing SRAM, because no code > loaded inside), similar if > Bank1 isn't loaded with my code when dxe is loaded > into the target: is there > a special way to do this? It seem's like I need to > initialize EBUI_AMGCTL > before VDSP load code in SRAM? > > Do you have the solution or any idea? > > Thanks for your help Jaime Andrés Aranguren Cardona jaime.aranguren@jaim... jaime.aranguren@jaim... __________________________________________________ ">http://mail.yahoo.com
My application is too big to fit in BlackFin internal memory only, so I need to store few fonctions in External SRAM. CACHE will be activated in a second time when first debugging will be done. Thanks in advance. Selon Jaime Andres Aranguren Cardona <jaime_aranguren@jaim...>: > Hello guys, > > Maybe I'm missing something here, but I wonder why > would you want to put your code in external SRAM when > using an emulator for debugging purposes? > > With the emulator you can debug it directly from > internal SRAM, no need for extenal SRAM. As far as I > can tell, this resembles more closely what actually > happens when booting from Flash: program is loaded in > internal SRAM and executed from there. > > Maybe if you contextualize a bit more, someone here > can provide better advice. > > Kindest regards, > > JaaC > > --- Arbos Ing�nierie <arbos@arbo...> wrote: > > > Hi, > > > > Configuration is OK, at the beginning I initialize > > PLL and EBIU_AMGCTL. > > When I Load my code in external Flash and I start my > > board (booting from > > flash with no emulator) it work's fine, code in SRAM > > is executing correctly. > > > > But my problem is when I want debugging the same > > code under VDSP with my > > emulator : it seems code isn't loaded in SRAM so > > when my program try to > > access SRAM, exception appear because no valid > > opcode in SRAM. > > > > It seems like when DXE is loaded into target, code > > located is SRAM isn't > > loaded, is there a special option or way to do this? > > > > Thank's in advance > > > > -----Message d'origine----- > > De�: Vikas Chandra Rao [mailto:vikas@vika...] > > Envoy�: lundi 13 f�vrier 2006 11:21 > > �: Arbos Ing�nierie; ADSP@ADSP... > > Cc�: 'St�phane GOUEL - ARBOS Technology' > > Objet�: RE: [adsp] BF532 : Running code in SRAM > > under VDSP session > > > > Hi, > > > > Your question is little bit confusing. Can you > > please explain clearly. > > However see below if it helps. > > > > If you are trying to access SRAM at AMS1, then you > > need to make AMBEN[2:0] > > bits in EBIU_AMGCTL register to either of "010", > > "011" or "1xx". The memory > > mapping in LDF file has to be appropriate while you > > emulate. You have to > > instantiate EBIU_AMGCTL apart from other registers > > in your code before you > > start accessing AMS1 memory. > > > > Regards, > > Vikas. > > > > > > -----Original Message----- > > From: adsp@adsp... > > [mailto:adsp@adsp...]On Behalf Of > > Arbos Ing�nierie > > Sent: Saturday, February 11, 2006 9:30 PM > > To: ADSP@ADSP... > > Cc: 'St�phane GOUEL - ARBOS Technology' > > Subject: [adsp] BF532 : Running code in SRAM under > > VDSP session > > > > > > Hi, > > > > I'm trying to execute code from my SRAM (Bank 1 - > > AMS1). It works fine when > > my program is loaded in flash and board is booting > > on the flash (no > > Emulator). But when I want debugging my code using > > emulator it doesn't works > > (exception when accessing SRAM, because no code > > loaded inside), similar if > > Bank1 isn't loaded with my code when dxe is loaded > > into the target: is there > > a special way to do this? It seem's like I need to > > initialize EBUI_AMGCTL > > before VDSP load code in SRAM? > > > > Do you have the solution or any idea? > > > > Thanks for your help > > > Jaime Andrés Aranguren Cardona > jaime.aranguren@jaim... > jaime.aranguren@jaim... > > > __________________________________________________ > ">http://mail.yahoo.com > > > > > > > > > >
Hi, To load program into external SRAM accessed at AMS1, you need to initialise EBIU properly before loading DXE file itself. Apart from that you need to see if the LDF file is appropriate to load into external SRAM. I can't foresee any other problems as such. Regards, Vikas. -----Original Message----- From: arbos@arbo... [mailto:arbos@arbo...] Sent: Monday, February 13, 2006 7:59 PM To: jaime.aranguren@jaim...; Jaime Andres Aranguren Cardona Cc: 'Vikas Chandra Rao'; ADSP@ADSP... Subject: RE: [adsp] BF532 : Running code in SRAM under VDSP session My application is too big to fit in BlackFin internal memory only, so I need to store few fonctions in External SRAM. CACHE will be activated in a second time when first debugging will be done. Thanks in advance. Selon Jaime Andres Aranguren Cardona <jaime_aranguren@jaim...>: > Hello guys, > > Maybe I'm missing something here, but I wonder why > would you want to put your code in external SRAM when > using an emulator for debugging purposes? > > With the emulator you can debug it directly from > internal SRAM, no need for extenal SRAM. As far as I > can tell, this resembles more closely what actually > happens when booting from Flash: program is loaded in > internal SRAM and executed from there. > > Maybe if you contextualize a bit more, someone here > can provide better advice. > > Kindest regards, > > JaaC > > --- Arbos Ing�nierie <arbos@arbo...> wrote: > > > Hi, > > > > Configuration is OK, at the beginning I initialize > > PLL and EBIU_AMGCTL. > > When I Load my code in external Flash and I start my > > board (booting from > > flash with no emulator) it work's fine, code in SRAM > > is executing correctly. > > > > But my problem is when I want debugging the same > > code under VDSP with my > > emulator : it seems code isn't loaded in SRAM so > > when my program try to > > access SRAM, exception appear because no valid > > opcode in SRAM. > > > > It seems like when DXE is loaded into target, code > > located is SRAM isn't > > loaded, is there a special option or way to do this? > > > > Thank's in advance > > > > -----Message d'origine----- > > De�: Vikas Chandra Rao [mailto:vikas@vika...] > > Envoy�: lundi 13 f�vrier 2006 11:21 > > �: Arbos Ing�nierie; ADSP@ADSP... > > Cc�: 'St�phane GOUEL - ARBOS Technology' > > Objet�: RE: [adsp] BF532 : Running code in SRAM > > under VDSP session > > > > Hi, > > > > Your question is little bit confusing. Can you > > please explain clearly. > > However see below if it helps. > > > > If you are trying to access SRAM at AMS1, then you > > need to make AMBEN[2:0] > > bits in EBIU_AMGCTL register to either of "010", > > "011" or "1xx". The memory > > mapping in LDF file has to be appropriate while you > > emulate. You have to > > instantiate EBIU_AMGCTL apart from other registers > > in your code before you > > start accessing AMS1 memory. > > > > Regards, > > Vikas. > > > > > > -----Original Message----- > > From: adsp@adsp... > > [mailto:adsp@adsp...]On Behalf Of > > Arbos Ing�nierie > > Sent: Saturday, February 11, 2006 9:30 PM > > To: ADSP@ADSP... > > Cc: 'St�phane GOUEL - ARBOS Technology' > > Subject: [adsp] BF532 : Running code in SRAM under > > VDSP session > > > > > > Hi, > > > > I'm trying to execute code from my SRAM (Bank 1 - > > AMS1). It works fine when > > my program is loaded in flash and board is booting > > on the flash (no > > Emulator). But when I want debugging my code using > > emulator it doesn't works > > (exception when accessing SRAM, because no code > > loaded inside), similar if > > Bank1 isn't loaded with my code when dxe is loaded > > into the target: is there > > a special way to do this? It seem's like I need to > > initialize EBUI_AMGCTL > > before VDSP load code in SRAM? > > > > Do you have the solution or any idea? > > > > Thanks for your help > > > Jaime Andrés Aranguren Cardona > jaime.aranguren@jaim... > jaime.aranguren@jaim... > > > __________________________________________________ > ">http://mail.yahoo.com > > > > > > > > > >
I find the solution 1) Disable System Reset in "Settings" -> targets options 2) Manually patch EBIU_AMGCT to enable Bank1 -<0x00F4 3) Load dxe all this operations inside a tcl script (more easier to use), and everything is OK Selon Vikas Chandra Rao <vikas@vika...>: > Hi, > > To load program into external SRAM accessed at AMS1, you need to initialise > EBIU properly before loading DXE file itself. Apart from that you need to > see if the LDF file is appropriate to load into external SRAM. I can't > foresee any other problems as such. > > Regards, > Vikas. > > -----Original Message----- > From: arbos@arbo... [mailto:arbos@arbo...] > Sent: Monday, February 13, 2006 7:59 PM > To: jaime.aranguren@jaim...; Jaime Andres Aranguren Cardona > Cc: 'Vikas Chandra Rao'; ADSP@ADSP... > Subject: RE: [adsp] BF532 : Running code in SRAM under VDSP session > > > My application is too big to fit in BlackFin internal memory only, so I need > to > store few fonctions in External SRAM. CACHE will be activated in a second > time > when first debugging will be done. > > Thanks in advance. > > > > Selon Jaime Andres Aranguren Cardona <jaime_aranguren@jaim...>: > > > Hello guys, > > > > Maybe I'm missing something here, but I wonder why > > would you want to put your code in external SRAM when > > using an emulator for debugging purposes? > > > > With the emulator you can debug it directly from > > internal SRAM, no need for extenal SRAM. As far as I > > can tell, this resembles more closely what actually > > happens when booting from Flash: program is loaded in > > internal SRAM and executed from there. > > > > Maybe if you contextualize a bit more, someone here > > can provide better advice. > > > > Kindest regards, > > > > JaaC > > > > --- Arbos Ing�nierie <arbos@arbo...> wrote: > > > > > Hi, > > > > > > Configuration is OK, at the beginning I initialize > > > PLL and EBIU_AMGCTL. > > > When I Load my code in external Flash and I start my > > > board (booting from > > > flash with no emulator) it work's fine, code in SRAM > > > is executing correctly. > > > > > > But my problem is when I want debugging the same > > > code under VDSP with my > > > emulator : it seems code isn't loaded in SRAM so > > > when my program try to > > > access SRAM, exception appear because no valid > > > opcode in SRAM. > > > > > > It seems like when DXE is loaded into target, code > > > located is SRAM isn't > > > loaded, is there a special option or way to do this? > > > > > > Thank's in advance > > > > > > -----Message d'origine----- > > > De�: Vikas Chandra Rao [mailto:vikas@vika...] > > > Envoy�: lundi 13 f�vrier 2006 11:21 > > > �: Arbos Ing�nierie; ADSP@ADSP... > > > Cc�: 'St�phane GOUEL - ARBOS Technology' > > > Objet�: RE: [adsp] BF532 : Running code in SRAM > > > under VDSP session > > > > > > Hi, > > > > > > Your question is little bit confusing. Can you > > > please explain clearly. > > > However see below if it helps. > > > > > > If you are trying to access SRAM at AMS1, then you > > > need to make AMBEN[2:0] > > > bits in EBIU_AMGCTL register to either of "010", > > > "011" or "1xx". The memory > > > mapping in LDF file has to be appropriate while you > > > emulate. You have to > > > instantiate EBIU_AMGCTL apart from other registers > > > in your code before you > > > start accessing AMS1 memory. > > > > > > Regards, > > > Vikas. > > > > > > > > > -----Original Message----- > > > From: adsp@adsp... > > > [mailto:adsp@adsp...]On Behalf Of > > > Arbos Ing�nierie > > > Sent: Saturday, February 11, 2006 9:30 PM > > > To: ADSP@ADSP... > > > Cc: 'St�phane GOUEL - ARBOS Technology' > > > Subject: [adsp] BF532 : Running code in SRAM under > > > VDSP session > > > > > > > > > Hi, > > > > > > I'm trying to execute code from my SRAM (Bank 1 - > > > AMS1). It works fine when > > > my program is loaded in flash and board is booting > > > on the flash (no > > > Emulator). But when I want debugging my code using > > > emulator it doesn't works > > > (exception when accessing SRAM, because no code > > > loaded inside), similar if > > > Bank1 isn't loaded with my code when dxe is loaded > > > into the target: is there > > > a special way to do this? It seem's like I need to > > > initialize EBUI_AMGCTL > > > before VDSP load code in SRAM? > > > > > > Do you have the solution or any idea? > > > > > > Thanks for your help > > > > > > Jaime Andrés Aranguren Cardona > > jaime.aranguren@jaim... > > jaime.aranguren@jaim... > > > > > > __________________________________________________ > > ">http://mail.yahoo.com > > > > > > > > > > > > > > > > > > > > > > > >
Nice to know that you could fix it up. Cheers, JaaC --- arbos@arbo... wrote: > I find the solution > > 1) Disable System Reset in "Settings" -> targets > options > 2) Manually patch EBIU_AMGCT to enable Bank1 > -<0x00F4 > 3) Load dxe > > all this operations inside a tcl script (more easier > to use), and everything is > OK Jaime Andrés Aranguren Cardona jaime.aranguren@jaim... jaime.aranguren@jaim... __________________________________________________ ">http://mail.yahoo.com