This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

i.mx6 Dual lite JTAG bare metal app

I have a board which is running a MCIMX6U5EVM10AC - NXP i.MX 6 series 32-bit MPU, Dual ARM Cortex-A9 core, 1GHz CPU with 2GB DDR3 ram.

I currently have it connected via JTAG using an Olimex ARM-USB-OCD-H and openocd using the following command

openocd -f /interface/ftdi/olimex-arm-usb-ocd-h.cfg -f /target/imx6.cfg

This shows the following

Besides the unexpected device it seems to work fine, I can read memory, write to registers etc...

However, I'm attempting to load and run a bare metal app which no matter what I do fails. 

Using the bare metal SDK found here https://github.com/flit/imx6_platform_sdk I attempt to load one of the apps. for example

And I simply get the error "data abort at 0x10000000, dfsr = 0x00000805"

I'm able to load it by specifying the memory offset 0x80000000 

However the code never seems to run, I've tried both resume 0x90000000 and step 0x90000000 

Resume just continues and doesn't appear to do anything? (I've inserted an infinite while loop into the code just to make sure and it never gets reached)

and step throws an abort error (setting breakpoints seems to be completely broken.

I've tried multiple reset configs as well but they appear even more broken than the ones openocd ships with. Any help on this would be greatly appreciated.

0