This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

bug in compiler made code

can you help.

im a pasionate programmer and never leave bugs in my code but i have a problem.

i have my uvision project and it works great. i download it to my dev board and it works great. i put it into another board but it sometimes doesnt work. the board works great and the hw guy says i have a bug in my code. i put code into another board. the only thing i can think is the compiler added a bug to my code.

anyone else seen this?

Parents
  • One very common reason for software working on a Simulator or DevKit but not custom hardware is because of misconceptions, misinterpretations, or misunderstandings of the hardware operation.

    It could be that the HW engineer misinterpreted the spec, so the actual hardware operation doesn't (quite) match the spec;

    It could be that the SW engineer misinterpreted the spec, so the way he has coded the system doesn't match the actual hardware

    Or a combination of the above!

    This is before you even start to think about actual bugs in the HW or SW design, mistakes in the implementations, and/or faults in components, assembly, etc...

Reply
  • One very common reason for software working on a Simulator or DevKit but not custom hardware is because of misconceptions, misinterpretations, or misunderstandings of the hardware operation.

    It could be that the HW engineer misinterpreted the spec, so the actual hardware operation doesn't (quite) match the spec;

    It could be that the SW engineer misinterpreted the spec, so the way he has coded the system doesn't match the actual hardware

    Or a combination of the above!

    This is before you even start to think about actual bugs in the HW or SW design, mistakes in the implementations, and/or faults in components, assembly, etc...

Children