openOCD upload_image format: which to use?

Hi,

I try to upload an image to RAM with the help of openOCD. The CPU us an IMX31 with pretty straight forward RAM configuration.

The RAM/DDR/CPU configuration is done (even though not from me) and is supposed to work… which I start to doubt.

My problem currently is this (maybe my expectations are wrong):

I have a bootloader “bin” file that I want to upload:

  1. power up

  2. see the old bootloader start over UART/serial line…

  3. connect/start openOCD, old bootloader still running…

  4. “>halt” to stop exectuion

  5. “>load_image XX.bin 0x8000000 bin” (note: my RAM starts at this address!)

  6. “>reg 15 0x8000000”

  7. “>resume”

Now basically nothing happens :slight_smile:

The CPU remains in “supervisor” state, no abort or anything. the PC (register 15) is moved … I checked that.

Usually I would expect the bootloader to initialize my UART and print something to it :-(.

Do I have to use a different image format maybe? I have a set of files available as “sample” files, some of them with very unusual formats (such as “NB0” for example)

Any obvious problems with my approach?