以下为原文
I am trying to access register bits but MCU always go into hardfault handler. From disassembly, I can say whenever it executes ldrb instruc
tion, hard fault happen.
Although register access works fine as that uses ldr instruction instead of ldrb instruction.
I am using Cypress-041-41XX PSOC 4100S Pioneer kit.