DSPRelated.com
Forums

Can't boot ADSP-2181 from flash

Started by Steve Conner March 30, 2005

Hi,

I'm having some trouble with this system. It consists of an ADSP-2181
booting off a 128K x 8 flash rom. The flash rom is in-circuit programmed
through the BDMA port. I'm using the old Analog Devices DOS assembler,
linker and splitter, since I'm too mean to pay for VisualDSP.

Anyway the problem is: It used to run fine, but I have added extra code to
the program. The PROM splitter now gives the message "Page 0 Page 1" when
working whereas before it only said "Page 0". And the system won't boot from
flash memory at all.

The ROM seems to be getting programmed OK- it verifies all right and I tried
burning an old (smaller) version of the code and the system booted off that
no problem.

The new code runs fine when it's downloaded straight to the DSP through the
IDMA port, so I know it all fits in the onboard memory and is not broken.

So I think it has someting to do with the PROM splitter (or the boot loader
code that it adds to the rom image) messing up with multiple pages. Do I
even need multiple pages on the 2181? Can anyone cast some light on this and
maybe explain how to fix it? I'm hoping there is some option for spl21 that
will make everything work...

Thanks

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