UART in M0 of hitex board not working

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

UART in M0 of hitex board not working

968件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by saismita on Sun Feb 03 21:58:18 MST 2013
Hi All ,
I am working with UART interrupt in M4 of Hitex board(lpc43xx) , which is working fine. Now I am trying the same with M0 . But interrupt is not working. When I am trying for step debugging the compiler is coming to start up file. I am using " M0_USART0_IRQHandler" for UART in M0 , but still what may be the problem for this failure ? Can any body help me ?

Thanks in advance
SaiSmita
ラベル(1)
0 件の賞賛
返信
3 返答(返信)

939件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by DF9DQ on Mon Feb 04 14:34:10 MST 2013
Hi SaiSmita,

Here a link to another forum entry where this problem was reported:
http://www.lpcware.com/content/bugtrackerissue/error-cmsis-code-m0-lpc4350

Identify the file <code>startup_LPC43xx_M0.s</code> in your project.
Check that the vector at position 30 is the PIN_INT4 handler. In the broken file this entry is missing, and that causes all following interrupts (including UART) to fail.

<code>
    DCD    M0_TIMER0_IRQHandler  ; 28 Timer0
    DCD    M0_GINT1_IRQHandler   ; 29 GINT1
    DCD    M0_PIN_INT4_IRQHandler; 30 <--- This line missing in broken file
    DCD    M0_TIMER3_IRQHandler  ; 31 Timer3
    DCD    M0_MCPWM_IRQHandler   ; 32 Motor Control PWM
</code>

Maybe the driver library on this page (http://www.lpcware.com/gfiles/devper/lpc43xx) has a corrected version, but I don't know for sure. Note that this file is specific to your compiler, so you need the Keil version if you use uVision. The latest LPCopen (http://www.lpcware.com/content/nxpfile/lpcopen-platform) is also worth checking.

Regards,
Rolf
0 件の賞賛
返信

939件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by saismita on Mon Feb 04 06:08:23 MST 2013
Hi,
Where can I get the latest version of exception vector table.And I am not getting this pin PIN_INT4_IRQHandler entry. Can you please tell what it is exactly

Regards ,
SaiSmita
0 件の賞賛
返信

939件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by DF9DQ on Sun Feb 03 23:43:53 MST 2013
Hi SaiSmita,

Maybe you have a copy of a broken startup_LPC43xx_M0.s file that is circulating.
This version has a missing entry in the exception vector table.

Double-check the exception table, in particular for the PIN_INT4_IRQHandler entry!

Regards,
Rolf
0 件の賞賛
返信