Can I write into the SRAM of the PSOC6?

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

cross mob
susc_3824531
Level 1
Level 1

Can I write into the SRAM of the PSOC6? I need help in changing the contents of the sram

0 Likes
1 Solution
LinglingG_46
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 10 questions asked

uint8 address=0x80;

*((uint8*)address)=content value;

You can replace the 0x80 with the address you want to operate.

View solution in original post

0 Likes
3 Replies
LinglingG_46
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 10 questions asked

uint8 address=0x80;

*((uint8*)address)=content value;

You can replace the 0x80 with the address you want to operate.

0 Likes

Thanks Ring,

I am not able to locate the actual physical address of the SRAM. Is there any datasheet of the PSOC6 BLE-63, that mentions the starting address of the SRAM. And also can I power down all the blocks of the SRAM?

0 Likes

Maybe the below linker question can make sense for you:

Trouble setting a memory watchpoint with a specific value

0 Likes