Search found 27 matches
- Sat Jun 06, 2020 10:44 am
- Forum: General discussion
- Topic: Need to change Vector table Address
- Replies: 39
- Views: 28092
Re: Need to change Vector table Address
0x00000000 0x28 C:\Users\AMP_SAI\Desktop\hexfile/..\..\AppData\Local\Temp\arduino_cache_727569\core\core_5b0bd59db35eb2205b9735ec041d5f36.a(HardwareSerial.cpp.o) .text 0x00000000 0x0 C:\Users\AMP_SAI\Desktop\hexfile/..\..\AppData\Local\Temp\arduino_cache_727569\core\core_5b0bd59db35eb2205b9735ec041...
- Sat Jun 06, 2020 10:42 am
- Forum: General discussion
- Topic: Need to change Vector table Address
- Replies: 39
- Views: 28092
Re: Need to change Vector table Address
Archive member included because of file (symbol) C:\Users\AMP_SAI\Desktop\hexfile/..\..\AppData\Local\Temp\arduino_cache_727569\core\core_5b0bd59db35eb2205b9735ec041d5f36.a(exc.S.o) (__exc_hardfault) C:\Users\AMP_SAI\Desktop\hexfile/..\..\AppData\Local\Temp\arduino_cache_727569\core\core_5b0bd59db3...
- Sat Jun 06, 2020 10:35 am
- Forum: General discussion
- Topic: Need to change Vector table Address
- Replies: 39
- Views: 28092
Re: Need to change Vector table Address
stm32f103re.ld /* * Linker script for Generic STM32F103RE boards. */ MEMORY { ram (rwx) : ORIGIN = 0x20000000, LENGTH = 64K rom (rx) : ORIGIN = 0x08010000, LENGTH = 448K } /* Provide memory region aliases for common.inc */ REGION_ALIAS("REGION_TEXT", rom); REGION_ALIAS("REGION_DATA&qu...
- Sat Jun 06, 2020 10:20 am
- Forum: General discussion
- Topic: Need to change Vector table Address
- Replies: 39
- Views: 28092
Re: Need to change Vector table Address
C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\AMP_SAI\AppData\Local\Arduino15\packages -hardware C:\Users\AMP_SAI\Documents\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C...
- Sat Jun 06, 2020 10:15 am
- Forum: General discussion
- Topic: Need to change Vector table Address
- Replies: 39
- Views: 28092
Re: Need to change Vector table Address
First you have to make sure that the bootloader works as expected and flashes the sw from SD card to the right place. Yes my bootloader is doing well it is taking .bin file from sd and storing to right location. I have verified by seeing in st link utility. Works well when I generated 2nd applicati...
- Sat Jun 06, 2020 9:24 am
- Forum: General discussion
- Topic: Need to change Vector table Address
- Replies: 39
- Views: 28092
Re: Need to change Vector table Address
Did you try with a simple blinky sketch? Yes I am trying with blink example only. sorry If it is a silly question but I don't know core level work, In keil I just changed only IROM1 address, it directly took as flash base address and compiled and runs fine. but in arduino we have to change in diffe...
- Sat Jun 06, 2020 3:36 am
- Forum: General discussion
- Topic: Need to change Vector table Address
- Replies: 39
- Views: 28092
Re: Need to change Vector table Address
Thanks stevestrong If it is working with Keil, then compare the build process of Keil with the build process of Arduino, then you will figure out what you have to change. Comparing the build messages for different upload methods also helps to understand the underlying principle. Right I will check t...
- Fri Jun 05, 2020 8:25 am
- Forum: General discussion
- Topic: Need to change Vector table Address
- Replies: 39
- Views: 28092
Re: Need to change Vector table Address
You said you are using Keil, I have never used that before (i use stmcube, platformio, arduino,eclipse all for stm) so forgive me if i dont understand how keil builds. Sorry, Actually I am Developing bootloader in keil with your reference code and my second application is developing in Arduino with...
- Fri Jun 05, 2020 5:28 am
- Forum: General discussion
- Topic: Need to change Vector table Address
- Replies: 39
- Views: 28092
Re: Need to change Vector table Address
This was done before you said thank you.darkspr1te wrote: ↑Thu Jun 04, 2020 3:13 pm Please also note that in the bootloader itself you must also change the bootvect address
toCode: Select all
MAIN_PR_OFFSET =0x7000
Code: Select all
MAIN_PR_OFFSET=0x10000
darkspr1te
- Fri Jun 05, 2020 5:25 am
- Forum: General discussion
- Topic: Need to change Vector table Address
- Replies: 39
- Views: 28092
Re: Need to change Vector table Address
Thank you darkspr1te First of all I am using RET6 controller and new to work in core level. As you said I've changed in target-config.mk file ifeq ($(MEMORY_TARGET), flash) VECT_BASE_ADDR := 0x8000000 endif and in file boards.txt genericSTM32F103R.build.vect=VECT_TAB_ADDR=0x8010000 genericSTM32F103R...