How to build a separate data file(.hex or .bin) for External flash
What does that mean in the context of what you're building now?
Can you use FROMELF, or similar tools?
Can you code basic C applications using file processing, and IO functions?