Does PSOC4 MCU allows byte access (LDRB instruction)?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

I am trying to access register bits but MCU always go into hardfault handler. From disassembly, I can say whenever it executes ldrb instruction, 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.

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.
JobinT_31
Employee
Employee
50 solutions authored 25 solutions authored 10 solutions authored

Hello Anand,

LDRB works with PSoC4 -

pastedImage_0.png

PFA

Thanks

Jobin GT

View solution in original post

0 Likes
2 Replies
himam_31
Employee
Employee
50 likes received 25 likes received 10 likes received

Can you attach the project.

Thanks,

Hima

0 Likes
lock attach
Attachments are accessible only for community members.
JobinT_31
Employee
Employee
50 solutions authored 25 solutions authored 10 solutions authored

Hello Anand,

LDRB works with PSoC4 -

pastedImage_0.png

PFA

Thanks

Jobin GT

0 Likes