Reply by Steve Conner March 30, 20052005-03-30

Hi

I just posted saying that I couldn't get my ADSP-2181 system to boot, well I
solved it so please ignore the earlier post.

It was a bug in the in-circuit programming routine (that we wrote in-house)
It didn't handle the pages properly so the second page got burnt over the
top of the first one, the result was a complete mess!

I never noticed it before because my code had never taken up more than one
page.
I was pretty confused by the documentation so I'll try and write down the
way I understand it now, correct me if I'm wrong-

The BDMA feature on the 2181 can only transfer 16K bytes at a time because
the BDMA address counter is only 14 bits. The boot loader code that spl21
puts in your ROM seems to know this and deal with it, when you use the -2181
option.

One PM word takes three bytes and one DM word takes two, and the 2181 has
16Kwords of each kind of memory, so if your code filled both memory banks
completely it would take at least five pages (80K) of boot ROM to hold it.

Steve Conner
http://www.optosci.com/