Hi Jan, If you were using a supported BSP or a board based on one, you would be able to just use `newt load` which will use openocd/jlink or something to already flash the bin. But I assume you have some unsupported board, so to do flash manually you can use one of the tools provided by manufacturers or enthusiasts, for example, nrf5x family is supported by nrfjprog, STM32 by st-link tools, etc. If you can mention your target MCU that might be helpful. Also if openocd supports your target MCU (almost surely it does) you could use that but it requires more fiddling with configuration. Should be easy to just copy the script from some other BSP and customize for yours.
Fabio On Fri, Dec 14, 2018, at 9:01 AM, Jan Clement wrote: > Hello All, > > my mynewt program runs fine via debugger and download into RAM. Now I > need to flash the *.bin file onto the flash, so that it works > standalone. Unfortunately I don't know how to do this. Can anyone please > point me into the right direction? > > Thank you so much!