AnsweredAssumed Answered

RIoTboard peripheral access error

Question asked by Paul Symonds on Jun 16, 2015
Branched to a new discussion

Hi All,

 

Currently using a RIoTboard (i.MX6S based SBC) for bare-metal programming. Have come across a peripheral access error (doc with problem description and basic code attached) with regards the I2C (and UARTs). I am probably missing some sort of configuration setup, but for the life of me I cannot figure out what!

 

Very briefly, (more details in the doc) I am using ARM DS-5 and when I try to access the I2C modules (via the debug interface) I get a synchronous external abort (I experience the same problem with the UARTs). I am using the default clock setup so the peripheral clock (ipg_clk_s derived from ipg_clk_root) for peripheral bus register read/writes should be running. I have enabled all gated clocks as part of an initialisation script (all in attached basic code).

 

The problem has me stalled at the moment and I am keen to sort it out. Any and all help on the matter would be much appreciated.

 

Thanks in advance.

Original Attachment has been moved to: CortexA9MPCore-Startup.zip

Outcomes