The boards have the stm32duino booloader installed.
When I connect it to the usb to update the firmware via cube programmer, the USB does not recognize it and via UART, it gives this error:
Error connecting devide KO .... blah blah
Do you know if it´s possible to use the cube programmer with the ...
Search found 11 matches
- Tue Jul 21, 2020 10:15 am
- Forum: General discussion
- Topic: USB updatable app like XLOADER?
- Replies: 7
- Views: 7289
- Mon Jul 20, 2020 4:58 am
- Forum: General discussion
- Topic: USB updatable app like XLOADER?
- Replies: 7
- Views: 7289
Re: USB updatable app like XLOADER?
Can you upload via USB with the STM32CubeProgrammer or it works only for the 4 pins port?
Im trying to use dfu-utils but it is command console driven only, isnt?
Im trying to use dfu-utils but it is command console driven only, isnt?
- Wed Jul 08, 2020 9:53 pm
- Forum: General discussion
- Topic: USB updatable app like XLOADER?
- Replies: 7
- Views: 7289
Re: USB updatable app like XLOADER?
Fantastic. I will check. Many thanks! =D
- Wed Jul 08, 2020 3:53 pm
- Forum: General discussion
- Topic: Interfacing with computer via serial
- Replies: 2
- Views: 3563
Re: Interfacing with computer via serial
Great, I´ll look into monitors. Thank you so much, Steve =D
- Wed Jul 08, 2020 3:51 pm
- Forum: General discussion
- Topic: USB updatable app like XLOADER?
- Replies: 7
- Views: 7289
Re: USB updatable app like XLOADER?
But this would force users to compile sketches, something that mostly arent capable of.
Is there any way of sending them just the .bin file to directly upload via USB?
I guess worst case scenario I can say them to get 2usd stlinks and upload from there, but having the usb and the bootloader ...
Is there any way of sending them just the .bin file to directly upload via USB?
I guess worst case scenario I can say them to get 2usd stlinks and upload from there, but having the usb and the bootloader ...
- Wed Jul 08, 2020 11:10 am
- Forum: General discussion
- Topic: Interfacing with computer via serial
- Replies: 2
- Views: 3563
Interfacing with computer via serial
I would like to develop a command console similar to the one in the arduino IDE, where you can read serial data and also send commands to the bluepill via USB serial
I know some java, so I could program it there. Im just wondering if something similar does exists that I can build on it so I dont ...
I know some java, so I could program it there. Im just wondering if something similar does exists that I can build on it so I dont ...
- Wed Jul 08, 2020 10:48 am
- Forum: General discussion
- Topic: USB updatable app like XLOADER?
- Replies: 7
- Views: 7289
USB updatable app like XLOADER?
Im producing some updates to bluepills. In arduino I tell users to use XLOADER to upload the hex files.
What would be the equivalent in the blue pill so users can update via USB?
(Their bluepills have the stm32bootloader installed)
What would be the equivalent in the blue pill so users can update via USB?
(Their bluepills have the stm32bootloader installed)
- Sun May 17, 2020 11:56 pm
- Forum: General discussion
- Topic: How to use SPI2
- Replies: 17
- Views: 43764
Re: How to use SPI2
This post has an exemple on how to use SPI2 with Roger's core:
https://github.com/rogerclarkmelbourne/Arduino_STM32/pull/536
void setup() {
// Source: https://community.platformio.org/t/pio-arduino-stm32f103cbt6-remap/6786/5
afio_cfg_debug_ports(AFIO_DEBUG_SW_ONLY); // PB3 free
afio_remap ...
- Sun May 17, 2020 11:55 pm
- Forum: General discussion
- Topic: How to use SPI2
- Replies: 17
- Views: 43764
Re: How to use SPI2
Roger Clark, the creator of the libary said to do:
SPI.setMOSI(PB15);
SPI.setMISO(PB14);
SPI.setSCLK(PB13);
SPI.begin();
Or:
SPIClass SPI_2(PB15,PB14,PB13);
SPI_2.begin();
This is related to Official STM32 Core.
https://github.com/rogerclarkmelbourne/Arduino_STM32/issues/432
I totally ...
- Sun May 17, 2020 11:53 pm
- Forum: General discussion
- Topic: How to use SPI2
- Replies: 17
- Views: 43764
Re: How to use SPI2
a few words about platformio
depends on which board you selected, your platformio project can use roger's (maple target) or official (stm32 target) core and those cores are not compatible in case of SPI
Thank you so much for the info. What are the differences between Roger´s and Official ones ...