Search found 26 matches
- Mon Jan 18, 2021 12:05 pm
- Forum: General discussion
- Topic: [Solved] Can I use SPI2 with Uno/Nano Library that uses SPI?
- Replies: 11
- Views: 6451
Re: Can I use SPI2 with Uno/Nano Library that uses SPI?
if you see this post https://github.com/stm32duino/Arduino_Core_STM32/issues/669 you will see you can setup spi_2 class with the line #define MOSI2 PB15 #define MISO2 PB14 #define SCLK2 PB13 #define SS2 PB12 //SPIClass(uint8_t mosi, uint8_t miso, uint8_t sclk, uint8_t ssel) SPIClass SPI_2(MOSI2, MIS...
- Tue Jan 12, 2021 8:53 am
- Forum: General discussion
- Topic: STM32F410 Loads code ok, even I can see the registers and PC moving with the Cube Software, but won't even blink a LED
- Replies: 6
- Views: 3748
Re: STM32F410 Loads code ok, even I can see the registers and PC moving with the Cube Software, but won't even blink a L
I have recently developed a bootloader for the stm32f4xx series and I can say that clocks and setup varies in each build environment, some set them up fully and others require input and without such input will default to values that can cause issues later on. Heres some tips I have learned along the...
- Sun Aug 09, 2020 9:55 am
- Forum: General discussion
- Topic: How to code the touchscreen for a STM32MP157C-DK2 ?
- Replies: 5
- Views: 3746
- Sat Jun 06, 2020 3:29 pm
- Forum: General discussion
- Topic: Need to change Vector table Address
- Replies: 39
- Views: 27756
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.
- Fri Jun 05, 2020 8:46 am
- Forum: General discussion
- Topic: Need to change Vector table Address
- Replies: 39
- Views: 27756
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
beyond what i've mentioned in prior post I can offer no more advice yet
darkspr1te
- Fri Jun 05, 2020 7:36 am
- Forum: General discussion
- Topic: Need to change Vector table Address
- Replies: 39
- Views: 27756
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 ...
- Thu Jun 04, 2020 3:13 pm
- Forum: General discussion
- Topic: Need to change Vector table Address
- Replies: 39
- Views: 27756
Re: Need to change Vector table Address
Please also note that in the bootloader itself you must also change the bootvect address
to
darkspr1te
Code: Select all
MAIN_PR_OFFSET =0x7000
Code: Select all
MAIN_PR_OFFSET=0x10000
darkspr1te
- Thu Jun 04, 2020 3:06 pm
- Forum: General discussion
- Topic: Need to change Vector table Address
- Replies: 39
- Views: 27756
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...
- Fri May 15, 2020 9:15 am
- Forum: STM32 SD-Bootloader
- Topic: STM32 SD-Bootloader
- Replies: 2
- Views: 11078
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 & p...
- Sat Apr 18, 2020 9:09 pm
- Forum: General discussion
- Topic: Custom baud rates on F103
- Replies: 4
- Views: 5480
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...