Hi All,
Do you know how to modify the PC(program coutner) in C program ?
MSP430F543x has errata CPU28 & CPU34.
I believe that we can program the C language to avoid this errata If I know the PC how to modify.
Best regards,
Mino.M
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi All,
Do you know how to modify the PC(program coutner) in C program ?
MSP430F543x has errata CPU28 & CPU34.
I believe that we can program the C language to avoid this errata If I know the PC how to modify.
Best regards,
Mino.M
Hi old_cow_yellow,
Thank you for your answer.
old_cow_yellow said:Most c-compilers will automatically change PC by itself without your help. Some of them will work arround know CPU bugs. Some of them will even work arround non-existing CPU bugs.
I can not judge whether the compiler to avoid CPU bugs of CPU28 & CPU34.
Best regards,
Mino.M
Thank you for quick reply.
old_cow_yellow said:You can inspect the object code they generate. You may find that there are planty of NOP here and there including the ones that can work around CPU28 & CPU34.
I understand that it is not possible to care at the time of programming.
In other words, this errata(CPU28&34) can not be avoided unless I check the ASM output by the compiler.
Best regards,
Mino.M
**Attention** This is a public forum