We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi, I have a function in my code which has its content commented. So it does nothing. When a I remove this function the system no longer works (the LED was blinking and now is turned off).
Well, the t function is not called. It is a dummy function actually. There is no error in the link. The .hex file is generated, but no functionality of the system works. Neither blinking LED, nor others like uart communication. I use RTC RAM to store some important data. But it should not interfere the system working at this point. When I simulate the code in Keil it works. However, when I load the .hex file ...
Why don't you debug the code and see where it hangs?
I can run the simulation debug, but in this way the system works normally. I can't run JTAG debug because I do not have JTAG link.
If nothing else, perhaps all this just goes to show that you should get a JTAG link!
Without ULINK (JTAG debugger) you will not be able to find out easily why your application hangs, especially if in simulator it works.