On-Line Debugging of the ISD under C51 is available

Source: Internet
Author: User
During this period of time, I used nrf9e5 for Wireless Development. the most annoying thing was debugging. The lack of effective debugging methods led to slow progress. At the beginning, I had to observe three LED lights to judge the progress. ProgramThe running location. Later, I connected to the serial port. I wrote data to the serial port and received the data on the PC. The debugging information is more, which is equivalent to debugging with the printf method. but it's still too slow !! Especially in the Three-host communication process, the Protocol is a little more complex. Using this method for debugging is simply Very painful.
Yesterday I suddenly remembered the online debugging method ISD, so I looked up the information and found out that there was still a very convenient debugging method. The official team also provided related compilation. CodeAnd source files, as long as you add these files to the sub-project, in Keil select the ISD debugging method, set it, you can use the serial port for debugging. you can step the code and watch it, A better world!
However, at the beginning, I encountered a problem and wasted a lot of time. it seems to be a problem with Keil. After you modify the code to be debugged, you need to re-compile the entire project. Otherwise, it seems that the map file for debugging is not updated or old. an error occurred while verifying code consistency during startup debugging. at first, I encountered this problem and could not solve it. Later I simply removed the verification step, and found that sometimes it can be used normally. Sometimes there will be a single-step debugging program and the program will be executed on its own. later, the rebuild project will be burned down, and debugging will be fine.
It is actually a small problem, but I am afraid that I will forget it, and I will waste time in the future. I also hope to help the brothers who have encountered the same problem. Sometimes this small inexplicable problem is very annoying and time-consuming. people seem to think that this small problem is not worth mentioning and will not be put on the Internet. The people who need the result will waste a lot of time to explore on their own, if there is any way to effectively concentrate this small problem.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.