Search found 65 matches

by vitor_boss
Fri Feb 23, 2018 1:01 am
Forum: STM32F4 Boards
Topic: [libmaple] Black F407VET6
Replies: 149
Views: 7290

Re: [libmaple] Black F407VET6

This is another wave form generation example using DMA now. This example allows to configure the output frequency (and amplitude in case internal triangle wave generator). The example sine wave has 210 samples and 8 bit resolution, with 3.3Vpp. The generated 20 kHz frequency is quite precise and th...
by vitor_boss
Fri Feb 23, 2018 12:03 am
Forum: IDE's
Topic: Debug STM32 with VScode
Replies: 49
Views: 5220

Re: Debug STM32 with VScode

Here is some changes I've made to work. Download https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads latest arm GCC And https://sourceforge.net/projects/openocd/files/openocd/0.10.0/ openOCD 0.10 that is important because early versions won't work wit F4 chips launch.json: { "versio...
by vitor_boss
Mon Feb 19, 2018 9:15 pm
Forum: Code snipplets
Topic: 32-bit timers
Replies: 10
Views: 625

Re: 32-bit timers

I made a 32bit timer for a PIC using the timer overflow flag, it's used only to capture a pulse period and width. Works perfectly.

If you got the idea ins't hard. But if wanna the code just quote this
by vitor_boss
Thu Dec 21, 2017 2:41 pm
Forum: IDE's
Topic: Debug STM32 with VScode
Replies: 49
Views: 5220

Re: Debug STM32 with VScode

I finally managed to debug my project. I installed openocd and gcc-arm-none-eabi using Homebrew. Then I set up parameters inside launch.json file: "miDebuggerPath": "/usr/local/Cellar/gcc-arm-none-eabi/20160928/bin/arm-none-eabi-gdb", "debugServerPath": "/usr/local/Cellar/open-ocd/0.10.0/bin/openoc...
by vitor_boss
Wed Aug 30, 2017 10:38 pm
Forum: PR's bugs and enhancements
Topic: Update texane stlink
Replies: 14
Views: 634

Re: Update texane stlink

I put the folder on D: and had installed all related tools.

Thank you for your time.
by vitor_boss
Wed Aug 30, 2017 1:06 pm
Forum: PR's bugs and enhancements
Topic: Update texane stlink
Replies: 14
Views: 634

Re: Update texane stlink

No, my Windows is 10 Pro x64
Image
by vitor_boss
Wed Aug 30, 2017 11:19 am
Forum: PR's bugs and enhancements
Topic: Update texane stlink
Replies: 14
Views: 634

Re: Update texane stlink

No, I did everything needed but always return error. mingw64-build.bat: @echo off set PATH=C:\Program Files (x86)\CMake\bin;C:\Program Files\CMake\bin;C:\Program Files\mingw-w64\x86_64-7.1.0-win32-sjlj-rt_v5-rev2\mingw64\bin;%PATH% cmake -G "MinGW Makefiles" .. mingw32-make mingw32-make install DEST...
by vitor_boss
Wed Aug 30, 2017 11:11 am
Forum: IDE's
Topic: Debug STM32 with VScode
Replies: 49
Views: 5220

Re: Debug STM32 with VScode

@vitor_boss How i did it on Windows 10. Tested with ST-Link & Bluepill. 1.) Download and install "Arduino": https://www.arduino.cc/en/Main/Software 2.) In Arduino "Boards Manager" install "Arduino SAMD Boards", not "Ardiuno SAM Boards"!!! 3.) Download rogerclarkmelbourne's repo: https://github.com/...
by vitor_boss
Wed Aug 30, 2017 1:50 am
Forum: IDE's
Topic: Debug STM32 with VScode
Replies: 49
Views: 5220

Re: Debug STM32 with VScode

iamseer wrote:
Wed Jul 19, 2017 7:58 pm
Happy debugging!
7_debug.jpg
Maybe I missed something, I follow all the steps and cant get it running.
Could you help?
by vitor_boss
Tue Aug 29, 2017 8:50 pm
Forum: PR's bugs and enhancements
Topic: Update texane stlink
Replies: 14
Views: 634

Re: Update texane stlink

Hi, @vitor_boss I've built the texane stlink 1.4.0 for Windows (64bits), it is available here if you want make a try https://github.com/fpistm/stm32_tools/raw/beeda1bcb8ad04d0fea6b69def045ebae6df1502/stlink-1.4.0-win64.zip It's alive, worked like a boss. Thank you. You will include and let it defau...