Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people's questions, and connect with other people.

Have an account? Sign In
Continue with Facebook
Continue with Google
or use

What is the capital of Egypt? ( Cairo )

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people's questions & connect with other people.

Sign Up Here
Continue with Facebook
Continue with Google
or use

What is the capital of Egypt? ( Cairo )

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Volt.Tech

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask question.

Continue with Facebook
Continue with Google
or use

What is the capital of Egypt? ( Cairo )

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

volt.tech Logo volt.tech Logo
Sign InSign Up

volt.tech

volt.tech Navigation

  • Home
  • About Us
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Tags
  • Category
    • Amplifiers
    • Passives & Protection
    • Clocks & Timing
    • Diodes & Rectifiers
    • FPGAs & PLDs
    • Interface ICs & Transceivers
    • LEDs & Optoelectronics
    • Memories
    • MEMS & Sensors
    • Microcontroller
    • Power Management
    • RF & Microwave
    • Security & Smart Card
    • Motor Drivers
    • Wireless Connectivity
  • Groups
  • Add group
  • Badges
  • Help
  • Home
  • About Us
  • Contact Us
Home/mcu boot image

volt.tech Latest Questions

Linto
  • 0
Linto
Asked: April 21, 2022In: Microcontroller

Problem from interrupts with MCU boot.

  • 0

I am seeing a strange behaviour on my custom board (R7FA6M3AH + FSP 3.3) since I configured my application to build as a MCU boot image. The application works correctly in standalone but when booted from MCU boot, network was ...Read more

I am seeing a strange behaviour on my custom board (R7FA6M3AH + FSP 3.3) since I configured my application to build as a MCU boot image. The application works correctly in standalone but when booted from MCU boot, network was not working and by investigating I found that the interrupt (EDMAC0_EINT) gets called but executes the Reset_Handler which causes an assert later on in FreeRTOS (vportEnterCritical gets called from an ISR).I have other devices interrupts working fine for the same binary (such as an uart over RCI) and got simpler applications to work with the network on top of MCU boot so I don’t believe it is solely due to MCU boot but after a couple of days of debugging I’m really short on ideas on what could cause the problem.

Read less
free rtosmcu bootmcu boot imagemicrocontrollerrenesasreset handler
  1. [Deleted User]
    Added an answer on April 29, 2022 at 11:58 am

    It was caused by too many interrupts declared with a non-aligned vector table. The ARM NVIC requires that the vector table must be offset to an address aligned on 4*N where N is the number of interrupts rounded to the upper power of 2. In my case I have 17 interrupts which gives 17 + 16 (standard exRead more

    It was caused by too many interrupts declared with a non-aligned vector table. The ARM NVIC requires that the vector table must be offset to an address aligned on 4*N where N is the number of interrupts rounded to the upper power of 2. In my case I have 17 interrupts which gives 17 + 16 (standard exceptions) = 33 -> 64. Therefore I needed to align on 256 = 0x100. To fix the alignment I changed the header size in MCUBoot bootloader project to 0x100 instead of the default 0x80. Note that the signing command needs to be updated as well as it includes the header size in the options.

    See less
    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  • 1 Answer
Answer

Sidebar

Ask A Question

Stats

  • Questions 395
  • Answers 381
  • Comments 0
  • Best Answers 9
  • Popular
  • Answers
  • Manoj

    Configuration using .dp vision in Infineon XDPL series IC .

    • 5 Answers
  • Linto

    Renesas RL78/G14 ADC interface code

    • 4 Answers
  • ashishgawade
    ashishgawade added an answer Hello, The USB-serial-JTAG port can usually reset/put the chip into… March 30, 2023 at 11:00 am
  • ashishgawade
    ashishgawade added an answer Hi Nidhi, Thanks for reaching out to Volt.Tech Engineering Community.… March 28, 2023 at 10:13 am
  • ashishgawade
    ashishgawade added an answer Hello@vikas, It's always recommended to use a bleeder of 100 ohms. Vout of the part has an offset… March 24, 2023 at 9:55 am
  • vikas Nagpal
    vikas Nagpal added an answer Hello, The SMPS reduces the power loss when VDD is… March 22, 2023 at 10:30 am
  • nidhi singh
    nidhi singh added an answer Hello Ashish, No, sorry, that kind of setup is physically… March 20, 2023 at 10:45 am

Users

test17802725

test17802725

  • 0 Questions
  • 0 Answers
test45969406

test45969406

  • 0 Questions
  • 0 Answers
RisingLeather

RisingLeather

  • 0 Questions
  • 0 Answers

Explore

  • Tags
  • Category
    • Amplifiers
    • Passives & Protection
    • Clocks & Timing
    • Diodes & Rectifiers
    • FPGAs & PLDs
    • Interface ICs & Transceivers
    • LEDs & Optoelectronics
    • Memories
    • MEMS & Sensors
    • Microcontroller
    • Power Management
    • RF & Microwave
    • Security & Smart Card
    • Motor Drivers
    • Wireless Connectivity
  • Groups
  • Add group
  • Badges
  • Help

Footer

volt.tech

Volt.Tech

Find your spark

About Us

  • About Us
  • Contact Us
  • Groups

Legal Stuff

  • Privacy Policy
  • Faqs

Follow

© 2022 volt.tech. All Rights Reserved
With Love by volt.tech.