101

Re: Частотомер

У меня так

Скетч использует 14764 байт (11%) памяти устройства. Всего доступно 131072 байт.
Глобальные переменные используют 2504 байт (12%) динамической памяти, оставляя 17976 байт для локальных переменных. Максимум: 20480 байт.

102

Re: Частотомер

http://forum.rcl-radio.ru/uploads/images/2024/12/05ea17bee9a033571b5f1ccc6513e32e.png

103

Re: Частотомер

Всё выставляю как у Вас.
Только у меня: Всего доступно 65536 байт.
Вместо ваших; Всего доступно 131072 байт.
Может в этом проблема? И не реагирует pinA15.

104 (2024-12-19 23:36:39 отредактировано ra4amg)

Re: Частотомер

Вот что получается:
http://forum.rcl-radio.ru/uploads/images/2024/12/44b535c58afedde1ee6e477785c93c5e.jpg

105

Re: Частотомер

http://forum.rcl-radio.ru/uploads/images/2024/12/cc261f814359b3716642f8fe4d067ddc.png

106

Re: Частотомер

У Вас прошивка так происходит

http://forum.rcl-radio.ru/uploads/images/2024/12/cdb714c5f092bca152b6f52adc90a7ee.png

107

Re: Частотомер

http://stm32flash.googlecode.com/

Using Parser : Raw BINARY
Interface serial_w32: 115200 8E1
Version      : 0x30
Option 1     : 0x00
Option 2     : 0x00
Device ID    : 0x0414 (High-density)
- RAM        : 64KiB  (512b reserved by bootloader)
- Flash      : 512KiB (sector size: 2x2048)
- Option RAM : 16b
- System RAM : 2KiB
Write to memory
Erasing memory

Wrote address 0x08000100 (1.76%)
Wrote address 0x08000200 (3.52%)
Wrote address 0x08000300 (5.27%)
Wrote address 0x08000400 (7.03%)
Wrote address 0x08000500 (8.79%)
Wrote address 0x08000600 (10.55%)
Wrote address 0x08000700 (12.31%)
Wrote address 0x08000800 (14.07%)
Wrote address 0x08000900 (15.82%)
Wrote address 0x08000a00 (17.58%)
Wrote address 0x08000b00 (19.34%)
Wrote address 0x08000c00 (21.10%)
Wrote address 0x08000d00 (22.86%)
Wrote address 0x08000e00 (24.62%)
Wrote address 0x08000f00 (26.37%)
Wrote address 0x08001000 (28.13%)
Wrote address 0x08001100 (29.89%)
Wrote address 0x08001200 (31.65%)
Wrote address 0x08001300 (33.41%)
Wrote address 0x08001400 (35.16%)
Wrote address 0x08001500 (36.92%)
Wrote address 0x08001600 (38.68%)
Wrote address 0x08001700 (40.44%)
Wrote address 0x08001800 (42.20%)
Wrote address 0x08001900 (43.96%)
Wrote address 0x08001a00 (45.71%)
Wrote address 0x08001b00 (47.47%)
Wrote address 0x08001c00 (49.23%)
Wrote address 0x08001d00 (50.99%)
Wrote address 0x08001e00 (52.75%)
Wrote address 0x08001f00 (54.51%)
Wrote address 0x08002000 (56.26%)
Wrote address 0x08002100 (58.02%)
Wrote address 0x08002200 (59.78%)
Wrote address 0x08002300 (61.54%)
Wrote address 0x08002400 (63.30%)
Wrote address 0x08002500 (65.05%)
Wrote address 0x08002600 (66.81%)
Wrote address 0x08002700 (68.57%)
Wrote address 0x08002800 (70.33%)
Wrote address 0x08002900 (72.09%)
Wrote address 0x08002a00 (73.85%)
Wrote address 0x08002b00 (75.60%)
Wrote address 0x08002c00 (77.36%)
Wrote address 0x08002d00 (79.12%)
Wrote address 0x08002e00 (80.88%)
Wrote address 0x08002f00 (82.64%)
Wrote address 0x08003000 (84.40%)
Wrote address 0x08003100 (86.15%)
Wrote address 0x08003200 (87.91%)
Wrote address 0x08003300 (89.67%)
Wrote address 0x08003400 (91.43%)
Wrote address 0x08003500 (93.19%)
Wrote address 0x08003600 (94.95%)
Wrote address 0x08003700 (96.70%)
Wrote address 0x08003800 (98.46%)
Wrote address 0x080038e0 (100.00%) Done.

Starting execution at address 0x08000000... done.

108

Re: Частотомер

У Вас такая плата?

http://forum.rcl-radio.ru/uploads/images/2024/12/f516e290090ec2f19006b4f8506e383c.png

109

Re: Частотомер

Вариант STM32F103C8(20k RAM. 64k Flash)

110

Re: Частотомер

http://forum.rcl-radio.ru/uploads/images/2024/12/2ed1626b9453dabe25cccad0554e8140.jpg

111

Re: Частотомер

http://forum.rcl-radio.ru/uploads/images/2024/12/4c2e06f8686ffdc16e3adc700ac1338e.png

112

Re: Частотомер

http://forum.rcl-radio.ru/uploads/images/2024/12/95e45d3592f5e4cac45bb3d2198752ad.jpg

113

Re: Частотомер

Вопрос снимается. Купил другую STM-ку, всё заработало. Подправлю показания(немного не сходятся). Не большой вопрос: можно ли подавать +5V питание на STM(подаю 3,3V)? Спасибо за помощь и терпение.

114

Re: Частотомер

На вход 5V можно подавать напряжение 5 В

115

Re: Частотомер

Спасибо!