-
-
Notifications
You must be signed in to change notification settings - Fork 313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After update the ststm32 to the newest, something was wrong about VECT_TAB_OFFSET? #756
Comments
Hi @KiraVerSace, starting from Arduino core v2.7.0 the
This value will be assigned to |
Note: |
Thank you for your help, I will try use board_build.flash_offset tomorrow, but I don’t know what do you mean about the - -defsym |
Thank you for your tips |
I also want to know how do you know this, where is the help documentation which mentioned it? |
I can't seem to get
I've also tried adding,
I'm also not sure if I'm supposed to put in the full memory location or just the hex offset, but I've tired both with no success. For now, the only way I've managed to get it to work is to manually edit the offset in Edit: typo in address |
You talk about offset. So I guess it should be:
|
Unfortunately that doesn't work either, or at least it doesn't run. Did you mean |
I don't know. I do not use pio. Only comment to point that here it talk about offset not base address + offset. 😉 |
Hello, I use bootloader + application in my stm32l476rg, so 120KB was used for bootloader, and the reset used for application.
At last, I changed 2 places:
ldscript.ld
fileAdd
LD_FLASH_OFFSET = 0x00020000;
and modified
platform.ini
fileAdd (this for the interrupt offset)
and (this for jlink download)
board_upload.offset_address = 0x08020000
And all the system worked well, after I update the PIO, when I complie the program, too many warnings like:
ignore the warnings and the application can not start from the bootloader.
I have no idea, where should I change the value of VECT_TAB_OFFSET,
At last I delete the
and add
#define VECT_TAB_OFFSET 0x00020000
in thesystem_stm32l4xx.c
filethere also a warning, but works well
Could you help me? Thank you !
The text was updated successfully, but these errors were encountered: