How can I write initialized data into the ROM area?

Use the const qualifier, and compile the source with the -Cc: Allocate Const Objects into ROM option.