Topic : STM32 DMA Handler Address not Placed in Vector Table

Forum : ARM

Original Post
Post Information Post
May 31, 2009 - 7:56pm
Guest

Hi,

I have tried the STM32 firmware library example 'DMA\FLASH_RAM' on a Primer1 and it keeps jumping to the HardFaultException handler instead of the DMA1_Channel6_IRQHandler.

The reason for this is that the DMA1_Channel6_IRQHandler address is not being placed at location 0x00000080. Instead, it being left blank.

I have uploaded the Ride7 project to:
http://www.st.com/mcu/forums-cat-8457-23.html

Does anybody know why this might happen please? Please note that the project source files are slightly different to the library source files. Thank you.

Regards, Nick.

PS, my software versions are Version 7.16.0000/Version 1.16.0930.

Replies
Post Information Post
+1
0
-1
June 1, 2009 - 9:26am
Guest

Hi,

I have added a small amount of code to a copy of the project. The code makes a sound throught the piezo buzzer using the TIM3 CH3 interrupt. The TIM3 ISR address is correctly placed at 0x000000B4 but there is still no ISR location placed at 0x00000080 for the DMA ISR.

I hope this further helps. Thanks.

Regards, Nick.

+1
0
-1
June 1, 2009 - 9:59am
Guest

Hi,

I have found the problem.
'crt0_STM32x.c' still refers to 'DMAChannel6_IRQHandler'
but
whereas 'stm32f10x_it.c' refers to 'DMA1_Channel6_IRQHandler'.

The default startup still makes a reference to 'crt0_STM32x.o'
'crt0_STM32x_HD.c' (High Density) does refer to 'DMA1_Channel6_IRQHandler' though.

Has this been corrected on the latest version? Thanks.

Regards, Nick.

+1
0
-1
June 8, 2009 - 5:12pm
Guest

Hi

The stm32f10x_it.c has not been corected yet, it will be corrected when we switch to the new latest library from ST.
Supportiung another library version requires other modifications this is why we can not do everytime there is a new one.
Sorry for the time you have lost in this issue.
The intgration of new ST library should be available at the beginnning of July.

Regards,
Matloub

+1
0
-1
June 8, 2009 - 5:17pm
Guest

Thank you. All is well.

Regards, Nick.