http://www.keil.com/forum/20620/
Partially solved.
Forgot to deactivate the CRP_Key code lines (absolute address 0x000002FC) in startup_LPC13xx.s for the main app (located at 0x00003000).
Now get a normal bin file instead of a directory.
But there is another question:
Should (or must) i use this user command
fromelf --bincombined --bincombined_base=0x00003000 --output .\Debug\SAP-2L-JUM.bin .\Debug\SAP-2L-JUM.axf
instead of
fromelf --bin --output .\Debug\SAP-2L-JUM.bin .\Debug\SAP-2L-JUM.axf
? Best regards, Juergen
If you have more than one (for example, if you program uses a NOR flash) you need to merge the two generated files into one, and have your bootloader program the right data at the right place. I've done this myself.