Search found 131 matches

by stas2z
Thu Apr 16, 2020 8:17 am
Forum: General discussion
Topic: Problem uploading to STM32F103C8T6 board
Replies: 14
Views: 20579

Re: Problem uploading to STM32F103C8T6 board

(except if I buy one with the arduino bootloader preinstalled, right?). Nope, you got it wrong. First, the thing you have is not a programmer. It's just a converter, from usb to serial ttl. Programmers are a bit different thing. All mcus generally support in-chip programming, for atmega(arduino) it...
by stas2z
Wed Apr 15, 2020 7:34 pm
Forum: General discussion
Topic: Problem uploading to STM32F103C8T6 board
Replies: 14
Views: 20579

Re: Problem uploading to STM32F103C8T6 board

@mrburnette
seems like he already tried serial, cuz he is talking about ft232rl (fake highly likely) usb ttl and call it "programmer"
by stas2z
Tue Apr 14, 2020 4:30 pm
Forum: Ideas & suggestions
Topic: Options for a lot of cpu clock frequencies.
Replies: 10
Views: 15726

Re: Options for a lot of cpu clock frequencies.

it will be in the main.c, just copy paste this function to your sketch and add extern "C" like fpiSTM said
by stas2z
Tue Apr 14, 2020 7:08 am
Forum: General discussion
Topic: EEPROM.put - where does it stores data?
Replies: 16
Views: 17790

Re: EEPROM.put - where does it stores data?

No, bytes you put to flash cant reach your ram
flash area start address is 800 0000 (hex), when SRAM is starting at 2000 0000 (hex)
in decimals it will be 134 217 728 and 536 870 912, hundreds of millions bytes difference
by stas2z
Sun Apr 12, 2020 10:14 am
Forum: General discussion
Topic: SD library SPI pins remap
Replies: 10
Views: 15388

Re: SD library SPI pins remap

ChoCho wrote: Sun Apr 12, 2020 9:49 am I added enabledebugPorts() in setup, but during compilation it said : 'enabledebugPorts' was not declared in this scope.
enableDebugPorts();
by stas2z
Sat Apr 11, 2020 9:48 pm
Forum: Libraries & Hardware
Topic: Hardware CAN initialization fails
Replies: 22
Views: 16909

Re: Hardware CAN initialization fails

yes, as HAL is written on C, not C++, you need to use extern "C" {} for redefining irq handlers etc
by stas2z
Sat Apr 11, 2020 6:25 pm
Forum: Ideas & suggestions
Topic: Options for a lot of cpu clock frequencies.
Replies: 10
Views: 15726

Re: Options for a lot of cpu clock frequencies.

roger's core allows these frequencies cuz its compatible with usb clocking with this (stm32 official) core (not roger's one) you can configure your mcu any way you wish by overriding weak SystemClock_Config with cumbemx generated where you can play with clock parameters https://i.imgur.com/lrtWNS9.j...
by stas2z
Sat Apr 04, 2020 2:31 pm
Forum: IDE's
Topic: Variable types in Arduino IDE
Replies: 7
Views: 7177

Re: Variable types in Arduino IDE

Code: Select all

const
will be enough
by stas2z
Fri Apr 03, 2020 6:03 am
Forum: STM32L4 based boards
Topic: Transfer of values ​​to ArduinoUNO original ports.
Replies: 10
Views: 16718

Re: Transfer of values ​​to ArduinoUNO original ports.

inturrupt handler have to be quick as much as it possible and have some rectrictions also, but digitalWrite is very heavy trying to be beginners friendly with tonns of checks and inits inside for interrupt handlers it's much better to use direct writing routines, at least digitalWriteFast for offici...

Go to advanced search