Search found 13 matches

by darkspr1te
Sat Jun 06, 2020 3:29 pm
Forum: General discussion
Topic: Need to change Vector table Address
Replies: 38
Views: 1273

Re: Need to change Vector table Address

It could be a module in arduino being enabled (eg usb) that might be conflicting with the bootloader , that is just a assumption thought.
by darkspr1te
Fri Jun 05, 2020 8:46 am
Forum: General discussion
Topic: Need to change Vector table Address
Replies: 38
Views: 1273

Re: Need to change Vector table Address

Are you stuck in that environment? as you can build both in platformio/vscode and have a lot more control over the build but thats my personal preference.
beyond what i've mentioned in prior post I can offer no more advice yet



darkspr1te
by darkspr1te
Fri Jun 05, 2020 7:36 am
Forum: General discussion
Topic: Need to change Vector table Address
Replies: 38
Views: 1273

Re: Need to change Vector table Address

At this point the things I would do to diagnose this issue is add a Hardfault handler to your source code ( see bootloader for a example ) and then use SWD debug to see where the program is once the bootloader has handed over and see if any output on uart. Are you able to provide me with a test bin ...
by darkspr1te
Thu Jun 04, 2020 3:13 pm
Forum: General discussion
Topic: Need to change Vector table Address
Replies: 38
Views: 1273

Re: Need to change Vector table Address

Please also note that in the bootloader itself you must also change the bootvect address

Code: Select all

MAIN_PR_OFFSET =0x7000
to

Code: Select all

MAIN_PR_OFFSET=0x10000


darkspr1te
by darkspr1te
Thu Jun 04, 2020 3:06 pm
Forum: General discussion
Topic: Need to change Vector table Address
Replies: 38
Views: 1273

Re: Need to change Vector table Address

In order to change the boot address in rogerclarke you must adjust the define VECT_TAB_FLASH=0x08000000 , it's used in target-config.mk and a few other area of the builds, it's defined in boards.txt as discovery_f103.build.vect_flags=-DUSER_ADDR_ROM=0x08000000 and the the build system does something...
by darkspr1te
Fri May 15, 2020 9:15 am
Forum: STM32 SD-Bootloader
Topic: STM32 SD-Bootloader
Replies: 2
Views: 2117

Re: STM32 SD-Bootloader

Another bootloader, https://github.com/darkspr1te/mkstft35_bl_vet_fsmc for stm32f407 boards this has support for lcd/touch/spi/sdcard/fatfs uses adafruit gfx lib so all ada fruit tech demos are usable. when used on MKS TFT 35 v1 boards frame rate is 140fps via fsmc this version has make file & platf...
by darkspr1te
Sat Apr 18, 2020 9:09 pm
Forum: General discussion
Topic: Custom baud rates on F103
Replies: 4
Views: 667

Re: Custom baud rates on F103

The arduino stm32 core seems to allow any baud rate, https://github.com/stm32duino/Arduino_Core_STM32/blob/cffb347c52bb1813e5e15a0928bb0a1af138db24/cores/arduino/HardwareSerial.cpp have not delved any further but If you are using the can bus on a F103 remember that you cannot use USB serial which is...
by darkspr1te
Sun Feb 16, 2020 7:42 pm
Forum: General discussion
Topic: Maple r5 and IDE replacement
Replies: 2
Views: 632

Re: Maple r5 and IDE replacement

I have found great success porting maple projects(from random sources) into platformio as you can throw the environment variable around a lot to suit your needs. a example is, I started writing one application in arduino stm32 but then added HAL LL code to speed it up then eventually added my own li...
by darkspr1te
Fri Jan 31, 2020 10:28 am
Forum: STM32 SD-Bootloader
Topic: Just another bootloader
Replies: 3
Views: 1153

Re: Just another bootloader

currently 24k for non-lcd and 28k for lcd init routines, can be further improved by removing hardfault routines, and compiler settings, alas i'am very new to that side of platformio so i've not worked on anything there yet.
darkspr1te
by darkspr1te
Fri Jan 31, 2020 10:24 am
Forum: STM32 SD-Bootloader
Topic: STM32 SD-Bootloader
Replies: 2
Views: 2117

STM32 SD-Bootloader

Hi All, I have completed a bootloader for stm32f107x devices that supports updating via sdcard core of system uses platformio/stm32cube and HAL calls so porting to others should be easy. https://github.com/darkspr1te/stm32f107vc_sd_bootloader same bootloader but with LCD routines (supports HX and IT...

Go to advanced search