Load on Flash memory

Hi all,

I have written a project, based on the getting-starting project provided by IAR on a SAM9 board.

It works when I load it thanks to the debugger. But once I restart my board, the initial program is loaded and mine is out.

I should download my program on the flash, but how to do? I tried to load the bin file thanks to samba but it does not work, it crash.

I do not how to do.

Could you help me?