AnsweredAssumed Answered

Programming ZMK on i.MX6

Question asked by Hugh Boddington on Feb 9, 2017
Latest reply on Feb 15, 2017 by Yuri Muhin

I'm trying to program the ZMK on the i.MX6 but just can't get it to work.  I must be missing something simple.


- The system is secure booting in "closed" mode.  

- hab_status reports no errors in u-boot

- SSM_ST of SNVS_HPSR is 1101 - "trusted"

- ZMK_WSL and ZMK_RSL of SNVS_HPLS are not set (ZMK is writeable and readable)

- ZMK_RHL and ZMK_WHL of SNVS_LPLR are not set

- ZMK_ZERO is true

- ZMK_HWP of SNVS_LPMKCR is false (software programming mode)

- The processor is executing in Supervisor mode 

- I write a test pattern to the ZMK registers (0x20CC06C - 0x20CC08C) using 32-bit writes

- When I read back, I get 0x00, and ZMK_ZERO is still true