Argument is passing incorrect address | Cypress Semiconductor
Argument is passing incorrect address
To pass constant char address is bad.
It seems a random data or random address was passing through
On 8C21434, that have 512Byte SRAM (Large memory model)
Enable paging option and
Treat const as RAM option not for help
Do you think what is wrong?
static char buf;
void SubTest( const char* str )
//..cstrcpy( buf, "Test2" );
... cstrcpy( buf, str );
... UART_Send( buf );
... SubTest(" Test1 ");
This was not occur on another device, ever
C24223 (small memory model)