AnsweredAssumed Answered

Bus Fault

Question asked by Peter Liedholm on Oct 25, 2011
Latest reply on Oct 25, 2011 by Dekiru

This simple program causes a bus fault?!?

int main(void){  uint32_t tmp;  tmp = PORTD_PCR14; // <-- Causes HardFault or BusFault?!?                     // SCB_HFSR = 0x40000000                     // SCB_CFSR = 0x8200   return 0;}

 TWR-K60, Baremetal project.

 

Any Ideas what happened?

Outcomes