This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Placing the sections in a special address. (Scatter file & Assembly code)

Hi,

I want use my codes and tables in rom special address.

For example;

Vectors and handler routines begin from ox0800.000 to 0x0800.0FFF
This area also may include some tables and ltorg values.

But my some special table data must begin from 0x0800.1000

I wrote a scatter file for this purpose but i can't reach my objective. Table doesn't start at 0x0800.1000 usually continues at end of the first area.

You can see the maps at the following link.

www.cncdesigner.com/.../Areas.gif

Can you show me how to write the scatter file for the objective above?

Note: I use an assembler. I want to see the area directives therefore can you show me a simple assembly file, like the one in my link.

0