Search found 1014 matches

by Rick Kimball
Wed Sep 06, 2017 4:45 pm
Forum: USB to Serial adaptors
Topic: Problem programming Blue Pill using an Arduino Mega
Replies: 14
Views: 377

Re: Blue Pill - Error trying to program

Use a wire to connect the TX to the RX on the arduino mega, then use a terminal program that lets you set the parity, (say something like putty) and see if it works properly. Try 8-E-1.
by Rick Kimball
Wed Sep 06, 2017 3:37 pm
Forum: Off topic
Topic: TTGO ESP32, OLED, & Battery
Replies: 9
Views: 285

Re: TTGO STM32, OLED, & Battery

Isn't that an esp32 not a stm32?
by Rick Kimball
Wed Sep 06, 2017 3:05 pm
Forum: USB to Serial adaptors
Topic: Problem programming Blue Pill using an Arduino Mega
Replies: 14
Views: 377

Re: Blue Pill - Error trying to program

Does your arduino mega as a usb work properly with parity?

Do you have an FTDI usb dongle you could use instead?
by Rick Kimball
Mon Sep 04, 2017 5:35 pm
Forum: Off topic
Topic: Counterfeit F103s
Replies: 24
Views: 662

Re: Counterfeit F103s

I would think if you really cared you would buy from an authorized distrubutor . The other alternative is to use the low cost Nucelo / Discovery boards. They would still be low cost (assuming you are in the US) but they will be made with real chips for sure. If you go the China route, you pays your ...
by Rick Kimball
Mon Sep 04, 2017 1:35 am
Forum: STM core: Bugs and enhancements
Topic: [SOLVED]HAL_SYSTICK_Callback not working on Nucleo-F103RB in Arduino IDE
Replies: 10
Views: 251

Re: HAL_SYSTICK_Callback not working on Nucleo-F103RB in Arduino IDE

While your approach might work with the HAL based core it really isn't very Arduino friendly. You could accomplish the same thing by making a call from your loop() function or by adding a SerialEvent handler function. volatile bool oneSecFlag = false; void setup() { // put your setup code here, to r...
by Rick Kimball
Sun Sep 03, 2017 4:50 pm
Forum: STM32F103 Boards
Topic: [SOLVED] STM32F103ZE 64KB Memory depleted by String class array
Replies: 37
Views: 666

Re: STM32F103ZE 64KB Memory Handle Error

It does appear that it allocates an empty String.buffer character array when the String array is initialized. When I was debugging, I noticed the String.buffer variable being NULL. However, by the time you get to the setup() function, String.buffer does have a valid heap allocated value. The minimum...
by Rick Kimball
Sat Sep 02, 2017 10:55 pm
Forum: STM32F103 Boards
Topic: [SOLVED] STM32F103ZE 64KB Memory depleted by String class array
Replies: 37
Views: 666

Re: STM32F103ZE 64KB Memory Handle Error

That isn't what I observed in the debugger.
by Rick Kimball
Fri Sep 01, 2017 9:11 pm
Forum: STM32F103 Boards
Topic: [SOLVED] STM32F103ZE 64KB Memory depleted by String class array
Replies: 37
Views: 666

Re: STM32F103ZE 64KB Memory Handle Error

It is highly unlikely the problem is String. If you have 9k of code, that is a lot of lines of code that could be making the String function a look like a red herring. Are you using an array of Strings or a single String and trying iterate though each item in the single String? What does that 9k of ...
by Rick Kimball
Fri Sep 01, 2017 8:32 pm
Forum: STM32F103 Boards
Topic: [SOLVED] STM32F103ZE 64KB Memory depleted by String class array
Replies: 37
Views: 666

Re: STM32F103ZE 64KB Memory Handle Error

Why don't you post that code then?
by Rick Kimball
Fri Sep 01, 2017 7:55 pm
Forum: PR's bugs and enhancements
Topic: "Serial" now works out-of-the-box on the USB-serial port of the Nucleo F103RB.
Replies: 1
Views: 167

Re: "Serial" now works out-of-the-box on the USB-serial port of the Nucleo F103RB.

Doesn't seem to work right. I made the following change to make it act right: $ git diff variants/nucleo_f103rb/ diff --git a/STM32F1/variants/nucleo_f103rb/board.cpp b/STM32F1/variants/nucleo_f103rb/board.cpp index 9f3e08a..cc71179 100644 --- a/STM32F1/variants/nucleo_f103rb/board.cpp +++ b/STM32F1...