H
hamze
I have a special device in my system, I must work with it in this
manner that : write 4 bytes and read 3 bytes,
this device has no reset, so if one of reads or writes miss, from that
time device will not work correctly because order of writes and reads
are missed.
this device works right when optimization is off, but when I turn it
on it stop working properly in my code.
some time i did not use one of its read value, so I think optimization
remove it and order of read and writes are missed.
how can I solve this problem ?
I also test this solution that I defined an asm valotile ( ) and put
all reads and write inside it but still turning optimization on
corrupt my program result.
manner that : write 4 bytes and read 3 bytes,
this device has no reset, so if one of reads or writes miss, from that
time device will not work correctly because order of writes and reads
are missed.
this device works right when optimization is off, but when I turn it
on it stop working properly in my code.
some time i did not use one of its read value, so I think optimization
remove it and order of read and writes are missed.
how can I solve this problem ?
I also test this solution that I defined an asm valotile ( ) and put
all reads and write inside it but still turning optimization on
corrupt my program result.