# Interrupts are not getting called in uSDcard project using A

**URL:** <https://community.sparkfun.com/t/interrupts-are-not-getting-called-in-usdcard-project-using-a/23939>\
**Category:** MicroMod\
**Tags:** arm-lpc\
**Created:** [April 16, 2012, 10:57am UTC](https://community.sparkfun.com/t/interrupts-are-not-getting-called-in-usdcard-project-using-a/23939 "2012-04-16T10:57:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SUNIL\_PATIL](https://avatars.discourse-cdn.com/v4/letter/s/9f8e36/32.png) [@SUNIL\_PATIL](https://community.sparkfun.com/u/SUNIL_PATIL)\
**Post date:** [April 16, 2012, 10:57am UTC](https://community.sparkfun.com/t/interrupts-are-not-getting-called-in-usdcard-project-using-a/23939/1 "2012-04-16T10:57:01Z")

</div>

Hi all,

I am new to working with STM324 microcontrollers. I was running a uSDcard project on STM324 board using Atollic and I did that successfully.

Since we have licensed version of ARM DS-5 I was migrating uSDcard project from Atollic to DS-5. I was able to that to certain extent. ARM DS-5 application is loaded in to RAM(unlike Atollic where application uses flash). I have modified scatter file accordingly.

I used CMSIS drivers and utilities. I succefully ran small projects like LED lighting and LCD display. But for uSDcard project SDcard ISR were not being called. Just to cross check I tried toggling LEDs based on SysTick\_Handler. That is also not working.

I verified that the handler is installed by dumping the memory at 0x0000003C and that address does point to the SysTick\_Handler. Disassembling SysTick\_Handler shows a branch to the function call which I have written in SysTick\_Handler, so I think the vector table is properly loaded and contains valid calls.

Can anybody help me to fix this? Thank you in advance.

---

<div class="post-metadata">

**Author:** ![UhClem](https://avatars.discourse-cdn.com/v4/letter/u/73ab20/32.png) [@UhClem](https://community.sparkfun.com/u/UhClem)\
**Post date:** [April 16, 2012, 2:22pm UTC](https://community.sparkfun.com/t/interrupts-are-not-getting-called-in-usdcard-project-using-a/23939/2 "2012-04-16T14:22:42Z")

</div>

This should be obvious but you don’t mention it: did you enable interrupts?

---

<div class="post-metadata">

**Author:** ![SUNIL\_PATIL](https://avatars.discourse-cdn.com/v4/letter/s/9f8e36/32.png) [@SUNIL\_PATIL](https://community.sparkfun.com/u/SUNIL_PATIL)\
**Post date:** [April 17, 2012, 6:57am UTC](https://community.sparkfun.com/t/interrupts-are-not-getting-called-in-usdcard-project-using-a/23939/3 "2012-04-17T06:57:04Z")

</div>

I rebuilt the project on ARM DS-5, which was perfectly working fine on Atollic. So I think thats not the problem !

---

<div class="post-metadata">

**Author:** ![manton](https://avatars.discourse-cdn.com/v4/letter/m/ac8455/32.png) [@manton](https://community.sparkfun.com/u/manton)\
**Post date:** [April 24, 2012, 8:53pm UTC](https://community.sparkfun.com/t/interrupts-are-not-getting-called-in-usdcard-project-using-a/23939/4 "2012-04-24T20:53:26Z")

</div>

It still could be the problem, if Atollic enabled interrupts in the startup code, and ARM DS-5 doesn’t. It would be my best guess as well, and it is worth looking into.
