problem:print string when ARM is running in ROM only

Dec 07, 2006 3 Replies

Hello, I have to write a self test routine that was required to run in rom only(ram is not allowed). For ADS1.2 assembler,how can i define a string such as "abcd" without using variable? Thanks!


Why should you not use the on-chip RAM of the chip ? There is no need to test same.

If not using ARM at all, you can't use something like variable strings. Of course you can use pointers to constant strings.

-Michael

Why should you not use the on-chip RAM of the chip ? There is no need to test same.

If not using RAM at all, you can't use something like variable strings. Of course you can use pointers to constant strings.

-Michael

thanks you all, using a "DCB" definition in readonly area solved the problem!

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required