use m2m_unprotected_dma_memcpy is a good idea ?

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

cross mob
MaFa_974161
Level 5
Level 5
100 sign-ins 50 replies posted 50 questions asked

Hello

I want to read 65K portion of FLASH on CYW943907AEVAL1F.

It's a good idea to use 

 

static UCHAR data[65536];

uint32_t start_address;

m2m_unprotected_dma_memcpy( (void*) data, (void*) ( 0x14000000 + start_address), sizeof(data), (wiced_bool_t)WICED_TRUE );

 

 

0 Likes
1 Solution
Murali_R
Moderator
Moderator
Moderator
250 sign-ins 250 replies posted 100 solutions authored

As long as the API is working for you and is yielding the needed results, its good to use. let us know if you face any issues.

Also, this Blog post https://community.cypress.com/t5/Resource-Library/How-to-use-sflash-write-tcl-script-embedded-in-WIC... covers another of reading it using the sflash_write.tcl script 

View solution in original post

1 Reply
Murali_R
Moderator
Moderator
Moderator
250 sign-ins 250 replies posted 100 solutions authored

As long as the API is working for you and is yielding the needed results, its good to use. let us know if you face any issues.

Also, this Blog post https://community.cypress.com/t5/Resource-Library/How-to-use-sflash-write-tcl-script-embedded-in-WIC... covers another of reading it using the sflash_write.tcl script