??? 09/28/06 08:10 Read: times |
#125263 - some thoughts Responding to: ???'s previous message |
storing small code in microcontroller to protect the software. and rest all in external eprom. Andy Neil said:
That seems a bizarre approach - if only a small amount is in the microcontroller, then only a small amount is protected! The majority of your code - in the external EPROM - is unprotected! This scheme works against rudimentary copying. Of course with certain determination it can be broken, but it's still far better than nothing :-) Andy Neil said:
The crystal controls the entire operation of the whole chip - how did you decide that 11.0592MHz was fast enough to run a 128K RTOS-based design with 40 tasks?! By trial, I'd guess. Or, it might have evolved from a simpler project, maybe. However, according to datasheet, the X2 is good for up to 20MHz when run in 6-clock mode, so if there is nothing else limiting (especially surrounding hardware), Sandeep might want to simply try a different crystal - e.g. 18.432MHz is a popular value which enables most of the common baudrates - and this trial would probably cost him almost nothing both in terms of hardware and also software. Jan Waclawek |