Helloeverybody, We want to program a ADSP-21061, using the Ez-Kit Lite. When we try to implement a fft using the instruction cfft8196 the linker displays this error: "The memory size allocated for section seg_pmda in the architecture file is insufficient." We have tried to modify the architecture file ezkit.ach, but we always get the same error: "Segments goes over block boundary at line X in architecture file". What can we do to execute this program? Our .ach file is the following: .PROCESSOR = ADSP21061; ! ------------------------- ! Internal memory Block 0 ! ------------------------- .SEGMENT/RAM/BEGIN=0x00020000 /END=0x00020084 /PM/WIDTHH seg_rth; .SEGMENT/RAM/BEGIN=0x00020085 /END=0x00020094 /PM/WIDTHH seg_init; .SEGMENT/RAM/BEGIN=0x00020095 /END=0x000202ff /PM/WIDTHH seg_knlc; .SEGMENT/RAM/BEGIN=0x00020300 /END=0x00021fff /PM/WIDTHH seg_pmco; .SEGMENT/RAM/BEGIN=0x00023000 /END=0x00023fff /PM/WIDTH2 seg_pmda; ! ------------------------- ! Internal memory Block 1 ! ------------------------- .SEGMENT/RAM/BEGIN=0x00024000 /END=0x00025fff /DM/WIDTH2 seg_dmda; .SEGMENT/RAM/BEGIN=0x00026000 /END=0x00026fff /DM/WIDTH2 /cheap seg_heap; .SEGMENT/RAM/BEGIN=0x00027000 /END=0x00027e7f /DM/WIDTH2 seg_stak; .SEGMENT/RAM/BEGIN=0x00027e80 /END=0x00027fff /DM/WIDTH2 seg_knld; ! ------------------------- ! External Memory Select 1 is reserved for the UART. ! ------------------------- .ENDSYS; We have tried to modify this file and each time that we increase the size of one segment it produces the following error: "Segment goes over block boundary at line X in architecture file" We are not sure if we can modify the architecture file orif it is a fixed file. We compile and link the program with the following sentences: c:\ez-kit\bin\g21k -c -Ic:\ez-kit\ezsharc\include %1.c c:\ez-kit\bin\ld21k -o %1.21k -Lc:\ez-kit\ezsharc c:\adi_dsp\21k\lib\060_hdr.obj %1.o -ldh -lc c:\ez-kit\ezsharc\dh21k %1.21k Thanks in advance Oihana Otaegui _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Oihana Otaegui Department of Electrical & Electronic Engineering CEIT Paseo Manuel Lardizabal, 15 20018 San Sebastian (Spain) Tel: + 34 943 212800 Fax: + 34 943 213076 _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ |
|
ADSP 21061
Started by ●November 14, 2000
Reply by ●November 14, 20002000-11-14
Hi, The only way to increase the seg_pmda, is to reduces the size of seg_pmco. This is because segments are not allowed to cross the block boundary. I'm not sure how much memory the cfft8196 needs, but try to reduce the seg_pmco end to 20fff, so that seg_pmda can start at 22000. This leaves you with not to much usable program code memory, actually 3328 lines of code. If you have a look at the memory map for the adsp-21061, you will see that using the seg_pmco to 21fff leaves quite a large memory hole (22000 to 22fff) that you cannot use. Regards, Eirik At 13:20 14.11.2000 +0100, you wrote: >Hello everybody, > > We want to program a ADSP-21061, using the Ez-Kit Lite. When we try >to implement a fft using the instruction cfft8196 the linker displays this >error: > "The memory size allocated for section seg_pmda in the architecture >file is insufficient." > > We have tried to modify the architecture file ezkit.ach, but we >always get the same error: > "Segments goes over block boundary at line X in architecture file". > > What can we do to execute this program? > > Our .ach file is the following: >.PROCESSOR = ADSP21061; > >! ------------------------- >! Internal memory Block 0 >! ------------------------- >.SEGMENT/RAM/BEGIN=0x00020000 /END=0x00020084 /PM/WIDTHH seg_rth; >.SEGMENT/RAM/BEGIN=0x00020085 /END=0x00020094 /PM/WIDTHH seg_init; >.SEGMENT/RAM/BEGIN=0x00020095 /END=0x000202ff /PM/WIDTHH seg_knlc; >.SEGMENT/RAM/BEGIN=0x00020300 /END=0x00021fff /PM/WIDTHH seg_pmco; >.SEGMENT/RAM/BEGIN=0x00023000 /END=0x00023fff /PM/WIDTH2 seg_pmda; > >! ------------------------- >! Internal memory Block 1 >! ------------------------- >.SEGMENT/RAM/BEGIN=0x00024000 /END=0x00025fff /DM/WIDTH2 seg_dmda; >.SEGMENT/RAM/BEGIN=0x00026000 /END=0x00026fff /DM/WIDTH2 /cheap seg_heap; >.SEGMENT/RAM/BEGIN=0x00027000 /END=0x00027e7f /DM/WIDTH2 seg_stak; >.SEGMENT/RAM/BEGIN=0x00027e80 /END=0x00027fff /DM/WIDTH2 seg_knld; > >! ------------------------- >! External Memory Select 1 is reserved for the UART. >! ------------------------- > >.ENDSYS; > >We have tried to modify this file and each time that we increase the size of >one segment it produces the following error: > >"Segment goes over block boundary at line X in architecture file" > >We are not sure if we can modify the architecture file or if it is a fixed >file. > >We compile and link the program with the following sentences: > >c:\ez-kit\bin\g21k -c -Ic:\ez-kit\ezsharc\include %1.c >c:\ez-kit\bin\ld21k -o %1.21k -Lc:\ez-kit\ezsharc >c:\adi_dsp\21k\lib\060_hdr.obj %1.o -ldh -lc >c:\ez-kit\ezsharc\dh21k %1.21k > >Thanks in advance > > Oihana Otaegui >_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ > > Oihana Otaegui > Department of Electrical & Electronic Engineering > > CEIT > Paseo Manuel Lardizabal, 15 > 20018 San Sebastian (Spain) > Tel: + 34 943 212800 > > Fax: + 34 943 213076 >_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ > >To Join: Send an email to > >To Post: Send an email to > >To Leave: Send an email to > >Archives: http://www.egroups.com/group/adsp > >Other Groups: http://www.dsprelated.com ----- Eirik Jensen FAE DSP/Digital Impact Norway, a part of former Bit Elektronikk Smedsvingen 4, Pobox 194, N-1378 Nesbru, Norway Tel: +47 66776500 Fax: +47 66776501 Dir. line: +47 66776515 ----- |
Reply by ●November 15, 20002000-11-15
Hi all again, We are working with the EZ-Kit Lite ADSP 21061 Student version. The program used to load the program from our PC to the card seems to work quite erratically. Sometimes works OK, but after very minor changes, it hangs up, reporting a "Timeout waiting for data - 1". Apart from that, the data rate at which the DSP is sending data to the DOS console is amazingly slow. Is there any way to speed up the data rate? All I/O C functions seems to be built in within the C compiler and we dont have access to change anything. Regards Thanks in advance Oihana _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Oihana Otaegui Department of Electrical & Electronic Engineering CEIT Paseo Manuel Lardizabal, 15 20018 San Sebastian (Spain) Tel: + 34 943 212800 Fax: + 34 943 213076 _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ |