Interface and Connectivity ICs
MEMS and Sensors
Analog and Audio
EMI Filtering and Signal Conditioning
Power Management and Motor Control
SPC5 Automotive MCUs
ST25 NFC/RFID Tags and Readers
Switches and Multiplexers
STM32 MCUs Community
MEMS and Sensors Community
Automotive MCUs Community
STM8 MCUs Community
Help the community
Share your activities
Contribute your knowledge
About this community
to create and rate content, and to follow, bookmark, and share content with other members.
Question asked by
on Dec 27, 2005
on Dec 27, 2005 by 12428
Show 0 Likes
No one else has this question
Mark as assumed answered
This content has been marked as final.
Show 2 comments
(Required, will not be published)
Dec 25, 2005 1:42 PM
I have a question about using interrupts in Boot Loader program.
MCU – ST72561
High Density Flash Memory – 60kB
IAP(In Application Programming)
The purpose of boot loader (from sector0) is programming of sectors 1 and 2 with new program.
Boot loader code and the interrupt vectors resides in the write protected sector 0.
Sector0 will never be changed again, although sector1 and sector2 can have many revisions (for new program).
A question is –Can I use the same interrupts (for example: Can Bus Interrupts or timer8 or timer16 interrupts)
also in my Boot Loader program (in sector 0 of HDFlash which is write protected)
and also in new program (in sector1 and 2 of HDFlash Which is NOT write protected) ?
What can I do ?
Not make use of any interrupt in Boot Loader program?
To provide mechanism to use any of the interrupts in new program? How can I do this?
What happens to address of interrupt vector if I want to use that interrupt initially in boot loader and later in new program?
Report this post to a moderator
[ This message was edited by: sergeyna on 25-12-2005 18:13 ]
[ This message was edited by: sergeyna on 25-12-2005 18:14 ]
[ This message was edited by: sergeyna on 26-12-2005 06:59 ]
[ This message was edited by: sergeyna on 26-12-2005 08:26 ]
Show 0 Likes
Dec 27, 2005 5:54 AM
this is a common problem when using IAP.
If you want to share the interrupts between your bootloader and your application, you need to redirect the physical interrupts to some place where you can write (tipycally RAM) and then update this table according to wether you are executing the bootloader or the application.
Redirecting interrupt vectors has already been discussed more than once in this forum, you can try a search.
Hope it helps.
Show 0 Likes
Retrieving data ...
2018 STM32 Wish List
STM32-C2C (Cellular to Cloud) Web Concierge Portal
STM32F769I-DISCO: No audio output from wm8994
STM32CubeMX V4.24.0 code generation failure (bug report)
CubeMX SDIO DMA FatFS configuration