Search found 27 matches

by sankarAMP2
Mon Jun 08, 2020 10:26 am
Forum: General discussion
Topic: Need to change Vector table Address
Replies: 38
Views: 6214

Re: Need to change Vector table Address

Thank you every one for your great support.
Now its working fine.
bug in bootloader code only.
by commenting __set_MSP(*mcuFirstPageAddr); this line is going to work.
by sankarAMP2
Mon Jun 08, 2020 8:08 am
Forum: General discussion
Topic: Need to change Vector table Address
Replies: 38
Views: 6214

Re: Need to change Vector table Address

stas2z wrote:
Mon Jun 08, 2020 7:54 am
VECT_TAB_OFFSET inside the system_stm32f1xx.c
Thank you @stas2z
After changing flash address in both files, this blinky application generated in cude ide also not working with that bootloader. Bootloader might be buggy.. :roll:
by sankarAMP2
Mon Jun 08, 2020 6:50 am
Forum: General discussion
Topic: Need to change Vector table Address
Replies: 38
Views: 6214

Re: Need to change Vector table Address

thank you stevestrong and darkspr1te . bootloader is jumping to 0x8010000 perfectly but application not going forward. I assume that the problem with arduino generated file. Now I want to generate same simple blinky example in STM32CUBE IDE. I'm new to use this IDE. I found linker file STM32F103RET6...
by sankarAMP2
Sat Jun 06, 2020 11:44 am
Forum: General discussion
Topic: Need to change Vector table Address
Replies: 38
Views: 6214

Re: Need to change Vector table Address

In keil
Registers window

Code: Select all

R0:0x08010145
R13(SP):0x20000458
in debugger window the pointer showing

Code: Select all

0x8010E62 421   CMP    r1,r4
I'm in very big confusion now, why it this bootloader is working with keil generated code not Arduino?
by sankarAMP2
Sat Jun 06, 2020 11:08 am
Forum: General discussion
Topic: Need to change Vector table Address
Replies: 38
Views: 6214

Re: Need to change Vector table Address

I have tried to debug the bootloader code keil it is storing the .bin file in exact location after that it should jump to user application void Jump_To_App(void) { f_mount(NULL, SPISD_Path, 1); HAL_SPI_MspDeInit(&hspi3); HAL_TIM_Base_MspDeInit(&htim2); __HAL_RCC_GPIOA_CLK_DISABLE(); __HAL_RCC_GPIOB_...
by sankarAMP2
Sat Jun 06, 2020 10:53 am
Forum: General discussion
Topic: Need to change Vector table Address
Replies: 38
Views: 6214

Re: Need to change Vector table Address

usermks.ino.rar
(18.46 KiB) Downloaded 66 times
by sankarAMP2
Sat Jun 06, 2020 10:50 am
Forum: General discussion
Topic: Need to change Vector table Address
Replies: 38
Views: 6214

Re: Need to change Vector table Address

which extension ts supports.?
by sankarAMP2
Sat Jun 06, 2020 10:48 am
Forum: General discussion
Topic: Need to change Vector table Address
Replies: 38
Views: 6214

Re: Need to change Vector table Address

stevestrong wrote:
Sat Jun 06, 2020 10:46 am
Please attach it as one single file, not inline text.
its not taking attachment that's why I am sending inline.
by sankarAMP2
Sat Jun 06, 2020 10:45 am
Forum: General discussion
Topic: Need to change Vector table Address
Replies: 38
Views: 6214

Re: Need to change Vector table Address

stevestrong wrote:
Sat Jun 06, 2020 10:44 am
Btw, which upload method have you selected in Arduino?
STlink
by sankarAMP2
Sat Jun 06, 2020 10:45 am
Forum: General discussion
Topic: Need to change Vector table Address
Replies: 38
Views: 6214

Re: Need to change Vector table Address

0x08010564 0x24 C:\Users\AMP_SAI\Desktop\hexfile/..\..\AppData\Local\Temp\arduino_cache_727569\core\core_5b0bd59db35eb2205b9735ec041d5f36.a(adc_f1.c.o) 0x08010564 adc_calibrate .text.adc_set_prescaler 0x08010588 0x8 C:\Users\AMP_SAI\Desktop\hexfile/..\..\AppData\Local\Temp\arduino_cache_727569\core...

Go to advanced search