Fix Vector Table Alignement for Vorago va416x0 - #885
jgeorge1316 wants to merge 2 commits into
Conversation
Header size increased for proper vector table alignment.
Update documentation to reflect changes for vector table alignment.
|
@jgeorge1316 Thanks for sending the CLA request to our support email.. |
|
Hi @jgeorge1316 even though the ARMv7-M manual states 1024 byte alignment requirement this part does not require it from my testing. Are you actually seeing an issue? Can you tell me more about your project and use of the Vorago hardware? I assume this is academic? Did you actually test on hardware? |
|
Hello David, in brief:
Verbose description below: ProjectGoal:See if wolfBoot could be used as a bootloader on our device to allow secure updates. DescriptionI have testing using wolfBoot as a bootloader for prototyping improvements to GPS Disciplined OCXO. This is a professional endeavour. I created a copy of wolfBoot for this because I modified Utilizing wolfBootI began my prototyping by adding simple uart drivers and file transfer protocol to receive a update. This did use some UART IRQs, and this worked without issue. IssueOnce I had working updates, I ported the code from our application. This featured more IRQs (timers, external interrupts, etc.). I noticed that when certain interrupts were triggered, the device would lockup and a watchdog reset would be triggered. Troubleshoot Issue
I think the UART interrupts worked because they are lower-numbered interrupts in the table, but the interrupt causing the issue was a much higher number pin-interrupt. I chose to make these suggestions using my personal GitHub account since my company GitHub account has not made any commits to any public repositories. |
|
Hi @jgeorge1316 would you mind sending an email to facts at wolfssl dot come and referencing this PR and your region? It would be great to have a short call and discuss further. Since this PR is small we decided to treat as a bug report and implement outselves. I've got a new PR open to address this here #897 So for now I will go ahead and close this one. Looking forward to your email and discussion about wolfBoot on the Vorago part. Thanks, David Garske, wolfSSL |
Fix Vector Table Alignment - Vorago VA416x0
From Cortex-M4 Devices Generic User Guide - 4.3.4 Vector Table Offset Register:
Increasing
IMAGE_HEADER_SIZEinconfig/examples/vorago_va416x0.configallows the vector table offset to meet this requirement.