Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/29/06 19:46
Read: times


 
#108655 - Nice Work
Responding to: ???'s previous message
Good Job! I remember watching the first video some time back.

Remember to comment the lines in your program so you can easily read what each line is trying to accomplish in your program.

I keep my code in many forms. I keep the asm file and hex file for all my programs that are written in assembler. I save them to my hard drive, server, CD R/W and USB key. I also save a printed copy of my program and keep the previous two versions (if available) of the program as well.

Debugging can be quite tedious. Depending what the problem is you are trying to debug dictates how you will handle debugging, I will sometimes skip to a section of the code in my program or add break points to see how much code gets executed before it fails. Tracking registers and variables helps as well.
You can preload timers and modify variables etc. It still can be time consuming though. In a lot of cases I will add features to my projects IE. LED flashes three times to indicate program
running or a section of code has completed, some idea as power on self test of a computer, its all up to you as the developer.

Keep up the good work, I look forward to future videos.

Regards

James Krushlucki

List of 27 messages in thread
TopicAuthorDate
Servomotor head version III            01/01/70 00:00      
   Nice Work            01/01/70 00:00      
   Manageing code and debugging            01/01/70 00:00      
      Divide into modules            01/01/70 00:00      
         multi tasking            01/01/70 00:00      
            IRRC routine are much longer            01/01/70 00:00      
               No waiting for IR            01/01/70 00:00      
                  two mcu            01/01/70 00:00      
         Maybe this will help you            01/01/70 00:00      
            this is not IRQ save            01/01/70 00:00      
            RS232            01/01/70 00:00      
         Design First            01/01/70 00:00      
            Design            01/01/70 00:00      
               Pardon            01/01/70 00:00      
   Well done!            01/01/70 00:00      
      The "3.0"            01/01/70 00:00      
         Smart!            01/01/70 00:00      
         hardware            01/01/70 00:00      
            Mainland China            01/01/70 00:00      
      And Well done Kai!            01/01/70 00:00      
   My experinece            01/01/70 00:00      
      very impressive            01/01/70 00:00      
         Program and Code Structure            01/01/70 00:00      
            Spaghetti anyone ?            01/01/70 00:00      
      manually interpret machine code?            01/01/70 00:00      
         hand coded mechine language            01/01/70 00:00      
   Keep up the good work            01/01/70 00:00      

Back to Subject List