Поздравляем maik-vs с днём рождения!
- Кто-то работал с Артери чипами, в особенности с AT32F413? Впервые
столкнулся с работой по USB и пришлось делать виртуальный COM-port,
но оказалось, что при помощи стандартных библиотек, которые
предоставляет Артери это реализуемо при полном включении USART, в
т.ч. и их ножек, что недопустимо, т.к. все пины заняты...
Виртуальный ком-порт использую из-за того, что нужно гнать много
инфы за один раз. Есть ли возможность обойти это или стоит все таки
полностью пересесть на sanakubi(11 знак., 05.12.2023 10:16, ARM, полностью)
- Друзья, сегодня к моему удивлению, состыковал блюпил на базе
AT32F403A с недорогим программатором отладчиком WCH-Link CMSIS-DAP.
В IAR шъет и дебажит. А может знаете - есть ли какая утилита под
это дело наподобие стлинк утилиты? vesago(1 знак., 04.12.2023 09:25, ARM, картинка, полностью)
- В STM32F40x байтового доступа к бэкап регистрам RTC_BKP_DRx нету
что ли ? В RM не нашел указаний по доступу. По факту 1 байт
дублируется на все 4. - 3m(29.11.2023 12:58, ARM, полностью)
- Хабр. HPM6280 Evgeny_CD(1 знак., 30.11.2023 21:46, ARM, ссылка, полностью)
- Подскажите графическую библиотеку, чтобы графики было удобно
рисовать + текст рядом. по типу картинки на осциллографе? - Mty1(26.11.2023 01:27, ARM, полностью)
- Azure GUIX LightElf(1 знак., 27.11.2023 17:38, ссылка)
- Их есть у нас! Evgeny_CD(1 знак., 27.11.2023 03:39, ссылка)
- Извиняюсь, что сразу не уточнил - на st32f103 + tft ili9341 - Mty1(27.11.2023 01:56)
- рисовать где? PC/Win PC/Linux или на экранчике железяки. если
первое и второе то я использую Gnuplot klen(2 знак., 26.11.2023 11:23, ссылка, картинка)
- Совсем не в теме, но помнится Microchip для RISC-V графическую либу
бесплатной лет 10 назад сделал. - Visitor(26.11.2023 10:53)
- Просто для расчётов можно взять Jupyter notebook и mathplotlib. Для
эмбеддета всё должно быть в выбранном графическом стэке. - evgeniy1294(26.11.2023 10:36)
- Они же все до ужаса жирные. Единственный вариант - свое написать. Eddy_Em(141 знак., 26.11.2023 10:03)
- plotly - Cкpипaч(26.11.2023 09:18)
- Я извиняюсь народ.) Но пролейте пожалуйста свет кто чем сейчас
programmирует чипы на RISC-V? proglyk(319 знак., 07.11.2023 22:08, ARM, полностью)
- Прочитал внимательно весь топик. Проблем нет. Все описанное
надумано от недостатка знаний и опыта. Конкретно не сформулирована
не одна критическая проблема. Что значит ch32v003 не побежден?
Человек говорящиц одновременно слова "бизнес" и "кейген" он кто?
ПианЭр? А вообще сахару внмательнее перечитывать нужно. - klen(13.11.2023 13:32)
- На линухе есть проблемы с тулчейнами под RISC-V, пока всё не
настолько хорошо, как под ARM. Вообще достаточно
JLINK+openOCD+GDB+GCC+любимый редактор. Будущего у win нет, поэтому
всё равно придется всем переезжать на линух, IAR туда уже вроде
портировали, если вы привыкли к этому компилятору. - evgeniy1294(10.11.2023 06:53)
- Jlink же дорогущий. Уж проще с wchlink'ом. Софт есть. Я, правда, в
отличие от заядлых вендузятников, никогда не пробовал в IDE
засунуть все ненужное. Qt-creator использую лишь для удобного
написания кода, а собираю (make), прошиваю (make flash) и отлаживаю
(make dbgserver + make dbg) в любимой консольке. Хотя, коллега мне
говорил, что можно и qt-creator настроить, чтобы он все это по
клавосочетаниям делал, но мне это кажется каким-то гейством. - Eddy_Em(10.11.2023 20:15)
- Моя памятка по openOCD и его интеграции в различные среды
разработки evgeniy1294(1 знак., 11.11.2023 22:29, ссылка)
- Есть Jlink за 250к, а есть отечественный Jet-link flasher pro за
20к с эзернетами и прошивкой по кнопке. Он ещё и обновляется как
оригинал. Есть Black magic опенсорсный из blue pill, но не пробовал
под RISC-V. evgeniy1294(378 знак., 11.11.2023 20:50)
- Никогда про xmake не слышал, в линуксе оно однозначно не
используется. Весь софт собирается исключительно посредством make.
А вот его можно руками писать (для ембеддеда - самое оно) или
генерить автомейком, симейком, ниндзей и т.п. - Eddy_Em(13.11.2023 08:16)
- Можно линку на QtCreator? Хочу сравнить в реальной работе над
реальным проектом вижуал студию, вижуал код и криэйтор. - ig_z(13.11.2023 04:10)
- А почему такой вердикт о cmake? Я им активно не пользовался пока,
прослушал на юдеми курс, у меня сложилось впечатление, что связка
cmake, conan | vcpackage вполне себе современная молодежная
свистоперделка. - ig_z(13.11.2023 04:05)
- По пользуешься, узнаешь. Половина базового функционала или не
описана, или работает не так как описано, или вообще не работает.
Птичий язык, работает криво, сам собрать ничего не может и
генерирует make-портянку. evgeniy1294(336 знак., 13.11.2023 09:32 - 09:37)
- А главное - непонятно нафига. Мейк же примитивен, он только
разрешает зависимости да смотрит время изменения файлов. А что ещё
нужно то? Если для сборки этого не хватает - всегда можно дописать
скрипты или вспомогательные утилиты на любом удобном языке. Причём
собирать их можно тем же мейком прямо в процессе. - =AlexD=(13.11.2023 09:38)
- Допиши и удивить, сборочные утилиты бывают сложнее проекта. Make
умер, ещё в 90х не справлялся с задачей. evgeniy1294(51 знак., 13.11.2023 09:41)
- Кернел Линуха собирается обычным мейком и не жужжит. Некоторые
вспомогательные утилиты собираются в процессе прямо из сишечки. - =AlexD=(13.11.2023 10:34)
- >>> SciFi(1 знак., 13.11.2023 10:36, ссылка)
- И? Проблема большинства языков в том что они плохо в исполнение до
компиляции умеют. А Сишечка и вовсе не умеет. И это никакими
костылями не исправить. make по крайней мере прост и есть всегда.
Все остальные костыли - не читаемы в принципе. Поэтому без разницы
чем подпереть. - =AlexD=(13.11.2023 10:43)
- Что тут нечитаемого? Тоже самое придется указать и в make, ни на
строчку короче не будет: evgeniy1294(3050 знак., 13.11.2023 10:52)
- Когда я говорю про нечитаемось, я говорю про исполнение неких
программ в процессе сборки. Которые должны что-то создать исходя из
контекста среды компиляции. И эти программы будут по любому
нечитаемы, потому что требуют к себе понимание исходников самой
программы. Что ей там нужно для сборки. Честнее тупо создать некую
build_utilites и собрать/вызвать её из make, но не тянуть весь этот
трешовый код в некий птичий язык сборки проекта. - =AlexD=(13.11.2023 11:01)
- Всё тоже самое делается в make , только короче. Спрашивается,
нафига ещё одна дублирующая сучность? Изучать ещё одну утилиту
что-бы что? Может потратить это время на углубление понимания make? - =AlexD=(13.11.2023 10:56)
- На make оно может быть короче только при условии предварительного
задания переменных окружения. Вот тебе ссылка, перепиши на make: evgeniy1294(1 знак., 13.11.2023 12:30, ссылка)
- Переменные среды - это как просто переменные, но которые можно
передать в BASH, что очень удобно во многих случаях, в отличии от
ваше б-гмерзской луа. - =AlexD=(13.11.2023 13:10)
- Нет, это не просто переменные. Это платформозависимая часть системы
сборки, которую мне придётся делать самостоятельно, если мой
дистрибутив отличается или я хочу использовать другой тулчейн для
сборки. Особенно плохо с этим на Windows, где для сборки софта под
платформу приходится делать целую отдельную песочницу. И никакую
сборочную утилиту тут не сделать. evgeniy1294(235 знак., 13.11.2023 13:34)
- Никто не заставляет использовать тебя именно системные переменные и
даже пути. Всё можно описать вручную. В общем, надуманные
трудности. В кроссплатформенности свои проблемы, более существенные
чем утилита сборки проекта. - =AlexD=(13.11.2023 14:25)
- Изначально вы мне пытались показать, что на make "будет короче", я
указал, что короче не будет и объяснил почему - вам нужно
предоставить одну и ту же информацию одной и той же программе
(gcc). И нет, это не надуманные трудности, приводящие в конце
концов к виртуальной машине/контейнеру, в которой строго
определённое окружение для разработки софта, не меняющееся годами в
целях длительной поддержки продукта. И это не плохой вариант,
бизнесу плевать как сделано, пока это evgeniy1294(28 знак., 13.11.2023 15:52)
- Логика китайцев вообще не поддается никакой логике ☺ Eddy_Em(313 знак., 13.11.2023 11:34)
- У нас тут МК и мигающие лампочки. Достижения 90-х вполне
справляются с задачей. Некоторые ещё и до сей не дошли, застряли в
60-х :-) - SciFi(13.11.2023 09:45)
- +1. При этом в других языках, в которых модульность не является
побочным эффектом макроподстановки, уже в начале 90х собирались
проекты любого уровня сложности. - Cкpипaч(13.11.2023 09:43)
- Что касается пакетный менеджеров, то есть только один - системный.
И вам всё равно придётся писать свой пакет под выбранный
дистрибутив. evgeniy1294(143 знак., 13.11.2023 09:35)
- С Jet Link flasher pro точно шьешь RISC-V? RxTx(88 знак., 11.11.2023 21:56, ссылка, ссылка)
- Если бы всё это ещё и подкреплялось успешными проектами. А то ведь
v003 не побеждён. И это как раз из-за неправильного инструментария
- тыкаться во тьме вместо нормальной отладки... - VladislavS.(11.11.2023 01:10)
- Конечно, jlink за 250 тыс.руб в ЧипиДип, а j-trace так еще дороже.
Ну тут, наверно, имеется ввиду китайский последних версий. Мой
9.6-ый, очевидно, для этого не годится. Все это надо изучать, а
времени мало. Тут еще момент - изначально в EWRISCV полноценно
поддерживается I-Jet (новый под V) и никаких продуктов Segger - еще
одна палка в колёса. Правда, есть функция внешней библиотеки
отладчика, но опять же надо разбираться. :( - proglyk(10.11.2023 22:57)
- Спасибо! Звучит интересно - proglyk(10.11.2023 20:12)
- Embeetle IDE - - Вот еще такая штука попадалась на глаза, есть под
Windows 64-bit и Linux 64-bit Bhg2(42 знак., 09.11.2023 17:13, ссылка, ссылка)
- GCC + Visual Studio + VisualGDB + OpenOCD. - VladislavS.(08.11.2023 07:43)
- Каждый вендор старается или присоседиться к кому, или изваять свою
ИДЕ. WCH, например, точит на свой ГЦЦ или на Кейл. - mse homjak(07.11.2023 22:20)
- Странные дела. Точнее странный STM32L476RCT6. Не было проблем, но
тут появились со странный маркировкой. Раньше в верхней строке было
- ARM4. Появились с верхней строкой ARMv. Что за проблемы? Всё
началось с того, что в Кейле не могу подключиться для отладки.
Заметил, что надо делать полное стирание камня - тогда
подключается. А потом завис пульт при смене прошивки через сеть.
Оказалось, что всё, что в банке 2 - мусор. Т.е. посекторно банк 2
не стирается. Только общее Лaгyнoв(317 знак., 16.11.2023 16:40, ARM, полностью)
- Друзья, поделитесь мыслью - собрал примитивный проектик под
GD32F103. Суть проектика - шимом звук на зуммер подается с таймера
1 + USB CDC. Юсб подкинул копипастом из китайского примера. Как
прикрутил USB - перестал работать зуммер. Решил проблему путем
переноса инициализации USB кишков на самый верх. Работает, но не
приятно, что не понимаю причины. Таймер 1 вроде не использут USB.
По крайней мере не нашел по исходникам. Ноги тоже не
переинициализирует. Нашел только vesago(39 знак., 17.11.2023 09:07, ARM, полностью)
- У ST сейчас есть эти Ideas. Из них самых первший "Publish register
level example code... " Если хочете и согласитесь, пожалста сдайте
для этого голос, и увидим, што случится... wek(43 знак., 26.06.2020 19:20, ARM, ссылка, ссылка, полностью)
- А нет ли у кого нормального сишного стартапа для CH32V003 и
CH32V203? Eddy_Em(248 знак., 22.10.2023 00:59, ARM, полностью)
- Пробовал и так, и эдак. Ничего не получается. Ну и ладно, оставлю
внукам… Пока куча дел, которые "нужно было сделать вчера". - Eddy_Em(31.10.2023 20:28)
- Для V003. VladislavS.(2 знак., 25.10.2023 14:22, ссылка, картинка)
- Вот блин, хочется сделать так: Eddy_Em(755 знак., 23.10.2023 19:39)
- Вот так утаптывается стартовый код в таблицу векторов. Заодно
команду J в функцию завернул. VladislavS.(1 знак., 22.10.2023 12:20, картинка)
- О, и на V203 нашёлся. Только не помню, насколько там проверено всё.
Вроде должен быть рабочий. В любом случае, как источник вдохновения
пойдёт. Там основная идея - cекцию VladislavS.(174 знак., 22.10.2023 08:35, ссылка)
- Спасибо. Eddy_Em(55 знак., 22.10.2023 09:10)
- Ох, сколько тебя ещё сюрпризов на RISC-V ожидает :) Есть для V307
на плюсах. Основные моменты можешь подсмотреть. Асмовый стартап у
них корявенький. Мой раза в два меньше кода даёт в итоге. VladislavS.(1 знак., 22.10.2023 08:11, ссылка)
- тут вот обсужают МК за 11 центов, может кому интересно. Alex68(1 знак., 07.11.2023 00:42, ARM, ссылка, полностью)
- внезапно .. GD32VW553KIQ7 160 MHz Flash 2048K SRAM 320K QFN32!!!
WiFi BLE5.2 klen(1577 знак., 04.11.2023 13:42 - 14:00, ARM, ссылка, картинка, полностью)
- попробовал поразгонять ch32v307 по частоте. на 220Мгц работает на
первый взгляд без глюков. дальше тоже работает но почему то фапч
упирается как в стену в 228МГц независимо от выставленных
множителей.... klen(167 знак., 03.11.2023 03:12, ARM, полностью)
- Подскажите, пожалуйста: Проц AT32F407. Одним и тем же кодом (с
подстановкой) запускаю любой канал таймеров 3,4,10,11. Режим PWM-A.
Таймеры 1 и 8 - молчат. Чего им не хватает, где я торможу? - Idler(30.10.2023 13:09, ARM, полностью)
- Хабр. Программируем и отлаживаем STM32 через USB Type-C порт, не
нарушая спецификации USB Evgeny_CD(1 знак., 28.10.2023 23:58, ARM, ссылка, полностью)