From: Enoch <ix...@ho...> - 2012-10-27 19:01:28
|
Hello Matthias, I believe that downloading code from the application should be a discouraged practice, reasons below. Matthias Trute <mt...@we...> writes: >> *Downloading* hex code from the application is what I do now. Quite ugly >> IMO. > > Whats wrong with it? It keeps the state of the controller just the > same way MARKER does and you can transfer that state to (possibly) > a lot of other controllers (of the same type). 1. Downloading application compiled code may inadvertently introduce source code bugs. For example, a programmer needs to hand type some device-init to get his source to work in the application and forgets to add the same to the source file itself. This can go unnoticed for a long while since the downloaded code does include this device-init. 2. Host compiled Forth code can easily be enhanced with hand written asm. Thanks, Enoch. |