<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Vector Table for LPC1768 using C</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/33713/vector-table-for-lpc1768-using-c</link><description> 
Hello, 
i am trying to write vector table for lpc1768 using c language. i
have used the following code but the ISR is not executing. 

 
// HW_REG is a macro to convert address value to pointer 
#define HW_REG(addr) (*((volatile unsigned long *)(addr</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Vector Table for LPC1768 using C</title><link>https://community.arm.com/thread/63059?ContentTypeID=1</link><pubDate>Thu, 14 Aug 2014 08:15:58 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:2a7c905c-9d9f-495e-a772-1364dd948731</guid><dc:creator>Westonsupermare Pier</dc:creator><description>&lt;p&gt;&lt;p&gt;
Wouldn&amp;#39;t HW_REG need to be passed an address that&amp;#39;s actually in
the vector table? ie addr + NEW_VECT_TABLE&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>