Hi, I am a newbie doing firmware development on LPC2106 and using couple of interrupts for UART0 and TIMER1. The interrupts work fine when the code resides in flash. However when I try to put the code in RAM for debug, the interrupts no longer work and so I cannot do any debug on UART0. When putting the code in FLASH I am linking the code as below: Code: 0x00000000 i.e. whole 128K for code. Ram: 0x40000000 i.e. whole 64k for data. Register E01FC040 = 0x0; When putting the code in RAM I am linking the code as below: Code: 0x40000000 i.e. 48K for Code Ram: 0x4000C000 i.e. 15K for Data. Register E01FC040 = 0x2; The LPC manual does not say anything else for relocating the code in RAM, so I am not sure what is going wrong with my settings. Could someone please explain or let me know if I need to do any further settings to get the interrupts working in RAM. Thanks in advance. Regards Milind __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com [Non-text portions of this message have been removed]
Message
relocating code in RAM with lpc2106.
2005-02-27 by Milind Deshpande
Attachments
- No local attachments were found for this message.