Search found 323 matches

by Vassilis
Tue Jan 16, 2018 5:33 pm
Forum: Libraries & Hardware
Topic: Stm32f103C8 External Dac
Replies: 21
Views: 363

Re: Stm32f103C8 External Dac

try that code uint8_t DPINS[] = {PA0, PB0, PA1, PB1, PB12, PB13, PB14, PB15}; // random pin uint8_t num; uint8_t sine[256] = { 0x80, 0x83, 0x86, 0x89, 0x8C, 0x90, 0x93, 0x96, 0x99, 0x9C, 0x9F, 0xA2, 0xA5, 0xA8, 0xAB, 0xAE, 0xB1, 0xB3, 0xB6, 0xB9, 0xBC, 0xBF, 0xC1, 0xC4, 0xC7, 0xC9, 0xCC, 0xCE, 0xD1,...
by Vassilis
Mon Jan 15, 2018 3:49 pm
Forum: Libraries & Hardware
Topic: Stm32f103C8 External Dac
Replies: 21
Views: 363

Re: Stm32f103C8 External Dac

The R2R DAC requires an Operational Amplifier (OP_AMP) to get some mΑ to the output. For example, you can not drive an LED with the R2R dac as-is. You need to use an OP-AMP such as LMV358. If I were you, I would use an SPI DAC such as MCP4921 (single DAC) or MCP4922 (double DAC) that can provide 25m...
by Vassilis
Wed Jan 03, 2018 12:52 pm
Forum: General discussion
Topic: Happy New Year for 2018
Replies: 16
Views: 364

Re: Happy New Year for 2018

Happy new year guys !
by Vassilis
Tue Nov 14, 2017 6:18 pm
Forum: Code snipplets
Topic: 4 channel polyphonic tone generator (blue pill)
Replies: 14
Views: 441

Re: 4 channel polyphonic tone generator (blue pill)

Well done Steve, I like it !
by Vassilis
Sun Nov 12, 2017 6:34 pm
Forum: STLink
Topic: Ultra simple STM32 debugger
Replies: 49
Views: 1834

Re: Ultra simple STM32 debugger

There is no need to use that debugger if you use Eclipse. Eclipse has its own debugging feature. The debugger I wrote is for those who use the Arduino IDE that does not support debugging ;)
by Vassilis
Sun Nov 12, 2017 6:20 pm
Forum: STLink
Topic: Ultra simple STM32 debugger
Replies: 49
Views: 1834

Re: Ultra simple STM32 debugger

The .elf file uses the xxxx.ino.cpp file that is in the windows temp directory (%temp%) Go to the temp folder and then to the folder: arduino_build_XXXXXX/sketch You will see the file YYYYYYYY.ino.cpp. Open it. At the second line (and maybe at the 3rd line) you will see the full .ino file path that ...
by Vassilis
Sun Nov 12, 2017 5:52 pm
Forum: STLink
Topic: Ultra simple STM32 debugger
Replies: 49
Views: 1834

Re: Ultra simple STM32 debugger

Does your file path contain any space character between words ?
For example:

Code: Select all

C:\Users\123ert\Desktop\my project\test.ino
The <my project> has a space character between these two words. That is a small problem.

ps. I added the text resizing feature.
by Vassilis
Sun Nov 12, 2017 4:57 pm
Forum: STLink
Topic: Ultra simple STM32 debugger
Replies: 49
Views: 1834

Re: Ultra simple STM32 debugger

I don't see any way to set breakpoints. At this moment breakpoints function is not supported. I will add this future if there is interest in the software. Oh and one other thing is that the text is really small on my screen and a bit difficult to read (4k monitor) That is a good addition (text resi...
by Vassilis
Sun Nov 12, 2017 4:45 pm
Forum: STLink
Topic: Ultra simple STM32 debugger
Replies: 49
Views: 1834

Re: Ultra simple STM32 debugger

Pito , replace the old jar file with the new one (v0.4.1) p.s. I don't know if that helps but my first ST-Link has firmware V2.J27.S6 STM32+STM8 Debugger and the second V2.J28.S7 STM32+STM8 Debugger . Both of them work fine with the debugger Ultra_Simple_STM32_Debugger.zip - EDIT - Added text resiz...
by Vassilis
Sat Nov 11, 2017 5:27 pm
Forum: STLink
Topic: Ultra simple STM32 debugger
Replies: 49
Views: 1834

Re: Ultra simple STM32 debugger

@Pito Your debugger.cfg file seems to be correct. 1. I guess you run the 'RunMe_windows.bat' file 2. When you click <connect> do the two st-link leds blink? The .elf file contains the sub-file paths are used in the project. That means, (usually) you cannot compile your project in one computer and us...