Forums

ADI ADSP2181 and 2185, code compatible??

Started by DF July 22, 2003
If I generate the executable code from Release 5.1 compiler, would it
run on 2185?  The code only use internal PM and DM so the address
space should be identical.  Any one has such kind of experience.

I am having trouble in running a piece of code which generated by
Release 5.1 tools and the code is running fine on 2181 and 2183 but
not 2185.

Any idea or comment?
fung@digital-dispatch.com (DF) wrote in news:2c220a1a.0307221623.32592da4
@posting.google.com:

> If I generate the executable code from Release 5.1 compiler, would it > run on 2185? The code only use internal PM and DM so the address > space should be identical. Any one has such kind of experience. > > I am having trouble in running a piece of code which generated by > Release 5.1 tools and the code is running fine on 2181 and 2183 but > not 2185. > > Any idea or comment? >
The 5.1 tools work just fine with the 2185. We include the 5.1 tools with our DSP-8300 dev kit which uses a 2186M (ADI did not copyright these tools). There are a couple of shared pins on the 2185 that were separate on the 2181. I onced used an unused external interrupt as a software interrupt for a 2181 based project. When I translated the design to a 2185, I got burned because the pin was shared with another function. There is very little difference from a programming point of view between the 2185 & 2181. Are you sure your 2185 is working correctly? Maybe you have a hardware problem. -- Al Clark Danville Signal Processing, Inc. -------------------------------------------------------------------- Purveyors of Fine DSP Hardware and other Cool Stuff Available at http://www.danvillesignal.com

DF wrote:
> > If I generate the executable code from Release 5.1 compiler, would it > run on 2185? The code only use internal PM and DM so the address > space should be identical. Any one has such kind of experience. > > I am having trouble in running a piece of code which generated by > Release 5.1 tools and the code is running fine on 2181 and 2183 but > not 2185. > > Any idea or comment?
2185 is 100% code compatible with 2181. However 2185 has several hardware anomalies which may cause trouble. Take a look at errata sheets. Vladimir Vassilevsky, Ph.D. DSP and Mixed Signal Design Consultant http://www.abvolt.com
Thanks for all the response.  Yes, it was a hardware problem.  The
2185 is fully code compatible with 2181 and we can still use the
Release 5.1 tools.

Regards,
Dominic

Vladimir Vassilevsky <vlv@abvolt.com> wrote in message
news:<3F1F089F.135390B9@abvolt.com>...
> DF wrote: > > > > If I generate the executable code from Release 5.1 compiler, would it > > run on 2185? The code only use internal PM and DM so the address > > space should be identical. Any one has such kind of experience. > > > > I am having trouble in running a piece of code which generated by > > Release 5.1 tools and the code is running fine on 2181 and 2183 but > > not 2185. > > > > Any idea or comment? > > 2185 is 100% code compatible with 2181. However 2185 has several > hardware anomalies which may cause trouble. Take a look at errata > sheets. > > Vladimir Vassilevsky, Ph.D. > > DSP and Mixed Signal Design Consultant > > http://www.abvolt.com