??? 11/05/07 10:21 Read: times |
#146593 - Make it simple... Responding to: ???'s previous message |
Shehryar Shaukat said:
another issue is that my hex file will contain links to some functions which are in the controllers ROM. these functions are the LCD, keypad ... interface functions. so i will have to use them. so when my hex file refers them will these functions be out of scope ? Firstly, see http://www.8052.com/forum/read.phtml?id=146589 for the basics that you need to understand about Intel Hex files - including the fact that they have no concept of "scope". Secondly, you do not necessarily have to have these functions in ROM! Rather, you could just implement the absolute bare minimum booloader in ROM, and have everything else in the Hex file. Sure, this would make the Hex file bigger - but is that of any significance relative to the capacity of an MMC...?! It also means you have no issues if you want to make changes to your LCD, keypad, etc routines! In your development environment, you could build these functions as a Library... |