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.
What happens if you strip your project of everything but the startup file and main containing nothing but an infinite loop?
Then it works. I've done that several times. Removing all sources except for the main with its initialization. Then added piece by piece, file by file. As I come to a certain point (no specific file) it will stop working. Then I will check for any errors in that file, but none.
I really don't know what is going on. So I need an expert to have a look at what I'm doing.
Hello Master Poltergeist,
Does the code work in the IDE stimulator?
View all questions in Keil forum