lpcware

Lpc1857 double writes to memory

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by enyi on Sat Feb 15 08:33:30 MST 2014
Hi
My problem is double writes to memory when ever i do a single write to a memory address.

For example if do following write function

uint8_t *ptr = 0x1C000000;

*ptr =0x00;

This results in following:

0x1C000000 = 0x00

0x1C000020 = 0x00

This second write to the address 4 bytes after original intended address occurs at the same time.

Does anyone know how to fix this problem or do i need to use the lpc4357 instead

Thanks

Outcomes