You are here

Memory-dump from SRAM in PSOC Creator | Cypress Semiconductor

Memory-dump from SRAM in PSOC Creator

Summary: 4 Replies, Latest post by zeta on 06 Jun 2012 08:52 PM PDT
Verified Answers: 0
Last post
Log in to post new comments.
Kefas's picture
2 posts

 Dear Forum


I'm trying to dump an array of data from SRAM in my PSOC 5 starter kit - to be able to analyze the data in Matlab. I can see the memory values in PSOC Creator, but cannot see any ways to make a proper dump to a file on my PC. Any ideas how to solve this ?






user_1377889's picture
9249 posts

You'll need to implement some kind of communication between your PSoC and the PC. Depending on the Kit you use there are two easy paths: USB or RS232.

The usermodules are availlable within the PSoC chip itself the question is whether the board supports the hardware.

Beware of the USB in a FirstTouch Kit, it is used for the programming  etc for the PSoC and should not be reprogrammed.

The schematics for your kit are on the accompaning CD or can be found here on the Cypress website (Search for "Schematic" and your kit-number).

When using RS232 you'll need drivers to shift the signal-voltages to the required +- 12V (Maxim is a good source) check wheter they are already on your board.

When USB is usable, use USBUART component.

In both cases you can use Hyperterminal or an equivalent program that's based on serial communication.


Happy communications


Kefas's picture
2 posts

 Thank you for the swift reply !


I was kind of hoping not to have to go that way.. a "dump memory button" in PSoC creator would be really nice to have.. (and easy to implement I think..) :-)


But again, thanks for the reply.

user_78878863's picture
2551 posts

I think you can do a copy&paste from the memory window or the watch window. For the former one, you might need to mangle the data into the format you need (but CSV should be no problem). For the latter one, you will need to the data accessible in an array, and you need to increase the amount of elements show (note that this may slow down the debugger).

I have no PSoC with me to test this, but I remember to have done this for the array part.

user_39759791's picture
357 posts

Maybe you could do it with PSOCProgrammmer Command Line Interface. I remember that there was something like ReadRAM()

Log in to post new comments.