Hi everybody, Does anybody had this problem?:I can't use data in the program memory! (I use the ADSP21065L EZ-LAB) Example: I take the ADSP-21065L.ldf ($OBJECTS = /*060_hdr.doj, cos I don't use C code*/ $COMMAND_LINE_OBJECTS;) and create the following .asm: #include <def21065l.h> .segment/pm seg_pmda; .var dat; .endseg; .segment/pm seg_rth; nop;nop;nop;nop; nop;jump start; .endseg; .segment/pm seg_pmco; start: r9=3; dm(dat)=r9; .endseg; the compiler and the linker are OK, but when I want to load it in the evaluation board, I've got the following message: "The file is invalid or damaged". If instead using: .segment/pm seg_pmda; .var dat; .endseg; I use .segment/dm seg_dmda; .var dat; .endseg; then all is OK!!!! So is it impossible to use data from the program memory??? I hope one of you could help me... Thanks in advance. Greg |
|
problem with pmda
Started by ●July 11, 2000
Reply by ●July 12, 20002000-07-12
On Tue, 11 Jul 2000 13:12:14 +0200, greg pallone wrote: > the compiler and the linker are OK, but when I want to load it in the > evaluation board, I've got the following message: "The file is invalid or > damaged". Load it with what? That message from Visual DSP typically indicates that something's wrong with the debugger, not with the file. I often see it after it's wedged my Summit-ICE. Since it can't download the file, it complains that it's the file's fault. So your file may be just fine. Kenneth Porter Kensington Laboratories, Inc. mailto: http://www.kensingtonlabs.com |
Reply by ●July 12, 20002000-07-12
> Hi everybody, > Does anybody had this problem?:I can't use data in the program memory! > (I use the ADSP21065L EZ-LAB) > Example: > I take the ADSP-21065L.ldf ($OBJECTS = /*060_hdr.doj, cos I don't use C > code*/ $COMMAND_LINE_OBJECTS;) and create the following .asm: > > #include <def21065l.h> > .segment/pm seg_pmda; > .var dat; > .endseg; > > .segment/pm seg_rth; > nop;nop;nop;nop; > nop;jump start; > .endseg; > > .segment/pm seg_pmco; > start: r9=3; > dm(dat)=r9; > .endseg; > hi greg, since u have kept dat in pm, then in the code segment, should not ur code be "pm(dat) = r9" instead of "dm(dat) = r9". May be that might be one source of the problem i could think of. kindly check this out and get back. Got to see what else the problem could be. would get back to u once i get some idea. regards sundi... > the compiler and the linker are OK, but when I want to load it in the > evaluation board, I've got the following message: "The file is invalid or > damaged". > If instead using: > .segment/pm seg_pmda; > .var dat; > .endseg; > > I use > .segment/dm seg_dmda; > .var dat; > .endseg; > > then all is OK!!!! > So is it impossible to use data from the program memory??? > > I hope one of you could help me... > Thanks in advance. > Greg > > > 10% off Windows 2000 or Linux Certification training! > http://click.egroups.com/1/6361/7/_/8508/_/963317975/ > 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 |