Hi, how can I burn u-boot into a imx.6q board by a JTAG connector?
I have a Boundarydevices Sabrelite board, I have to burn u-boot.bin into it's eprom by openocd and a JTAG connector.
First, I tried to use command like flash, nand, program. but no flash could be found.
Then I tried to use load_image to load u-boot.bin into ram, it always fail with errors:
background polling: on
TAP: imx6.dap (enabled)
target state: halted
target halted in Thumb state due to debug-request, current mode: Supervisor
cpsr: 0x600001f3 pc: 0x00000fc4
MMU: disabled, D-Cache: disabled, I-Cache: enabled
> load_image u-boot.bin
JTAG-DP STICKY ERROR
MEM_AP_CSW 0x2800062, MEM_AP_TAR 0x0
Failed to write memory at 0x00000000
in procedure 'load_image'
Could anyone help me with this? Or is there another way to burn u-boot by JTAG?