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

Firmware does not execute

I'm using the Silicon Laboratories C8051F345 with the Keil IDE.

I now have two different projects of which the firmware won't execute. If I comment random pieces of code the firmware will execute. I am still within the memory limits of the device.

From my point of view, the compiler is not configured correctly for the device or I assign my variables incorrectly. I ran out of ideas, tired of searching and pulled almost all my hair out of my head.

I program alone and don't have anyone to look at my source.

I want to ask if someone experienced will please have a look at my project to point any possible mistakes or problems.

Parents
  • What kind of errors are you looking for?

    There will not be any syntax errors -because the compiler would have found them.

    So you need to look for things that will only manifest at runtime - eg, stack overflow, corrupt pointers, bad interrupts.

    The SiLabs parts have on-chip debug hardware, don't they?
    Are you making use of it?

Reply
  • What kind of errors are you looking for?

    There will not be any syntax errors -because the compiler would have found them.

    So you need to look for things that will only manifest at runtime - eg, stack overflow, corrupt pointers, bad interrupts.

    The SiLabs parts have on-chip debug hardware, don't they?
    Are you making use of it?

Children
No data