Search found 125 matches

by fredbox
Thu Apr 16, 2020 11:28 pm
Forum: General discussion
Topic: Problem uploading to STM32F103C8T6 board
Replies: 14
Views: 20835

Re: Problem uploading to STM32F103C8T6 board

Also search Youtube for help. This video is a couple of years old but it looks similar to your hardware: https://www.youtube.com/watch?v=Tm7IWQLrKYs
by fredbox
Thu Apr 16, 2020 1:13 am
Forum: General discussion
Topic: Problem uploading to STM32F103C8T6 board
Replies: 14
Views: 20835

Re: Problem uploading to STM32F103C8T6 board

As mentioned elsewhere in this forum, most of these boards come with the flash write protected and have to be unlocked before general use. Is your led blinking with both jumpers set to 0? Also, the quality control on these boards is awful. You should buy at least 3 boards in hopes that one of them i...
by fredbox
Sat Apr 11, 2020 4:04 pm
Forum: Ideas & suggestions
Topic: RSS Feed
Replies: 3
Views: 11365

Re: RSS Feed

When I click on a post from the RSS feed, I can log in and reply. The option to accept the cookie is not shown.
I can't log out until I go back to the forum home page and accept the cookie.
by fredbox
Sat Apr 11, 2020 3:02 pm
Forum: General discussion
Topic: Various problems with bluepill, stlink and serial
Replies: 18
Views: 18665

Re: Various problems with bluepill, stlink and serial

When I select BOOT0=1, the blink sketch continues working.
With BOOT0=1, press reset. It should not be blinking. BOOT1 is next to the reset switch, BOOT0 is near B10 and B11.
by fredbox
Sat Apr 11, 2020 12:29 am
Forum: General discussion
Topic: Various problems with bluepill, stlink and serial
Replies: 18
Views: 18665

Re: Various problems with bluepill, stlink and serial

Every blue pill I've had came with the flash write protected. You will need to use a tool such as stm32flash. $ ./stm32flash -h stm32flash Arduino_STM32_0.9 http://github.com/rogerclarkmelbourne/arduino_stm32 Usage: ./stm32flash [-bvngfhc] [-[rw] filename] [tty_device | i2c_device] -a bus_address Bu...
by fredbox
Wed Apr 08, 2020 4:07 pm
Forum: IDE's
Topic: Compilation? problem with Arduino 1.8.12 and Olimexino STM32 board
Replies: 6
Views: 6517

Re: Compilation? problem with Arduino 1.8.12 and Olimexino STM32 board

I have a board with a similar disconnect circuit. In setup(), I set the disconnect pin to an output and digitalWrite the pin low so that the 1.5K resistor is always in the circuit. Put a Serial.begin() in setup. In the USB menu, enable CDC generic serial. Upload using ST-Link and the USB Serial port...
by fredbox
Tue Apr 07, 2020 11:13 pm
Forum: IDE's
Topic: Variable types in Arduino IDE
Replies: 7
Views: 7222

Re: Variable types in Arduino IDE

These integer types are also available for use in Roger's libmaple core.
by fredbox
Mon Apr 06, 2020 4:27 pm
Forum: General discussion
Topic: STM32 Resets the com port problem
Replies: 1
Views: 2307

Re: STM32 Resets the com port problem

Are you using Serial USB? If so, the USB port will disappear every time your smart board is reset. To work around this, you would need to attach a USB serial to TTL adapter on one of the USARTs and redirect your serial output. This will let your serial port will remain open during a reset. Another i...
by fredbox
Sat Apr 04, 2020 5:41 pm
Forum: IDE's
Topic: Variable types in Arduino IDE
Replies: 7
Views: 7222

Re: Variable types in Arduino IDE

char const * msg[] = { "test string 001", "test string 002", "test string 003", "test string 004", "test string 005", "test string 006" }; Sketch uses 16456 bytes Global variables use 3532 bytes Change the first line to: char const * const...

Go to advanced search