Search found 12 matches

by MasterT
Fri Mar 31, 2017 11:34 pm
Forum: STM Nucleo boards
Topic: STM32L476RG
Replies: 14
Views: 1659

Re: STM32L476RG

Is there some kind of driver, or it's not implemented yet? This should be one in the next few weeks for the STM32L4 core. Time-triggered ADC, which is what you seem to be after ? Not exactly, time triggered ADC is simple part, and I may switch ADC in free-running after all. What is not clear, is ho...
by MasterT
Fri Mar 24, 2017 8:49 pm
Forum: STM Nucleo boards
Topic: STM32L476RG
Replies: 14
Views: 1659

Re: STM32L476RG

I can't figure out correct name of the dma interrupt subroutine, so far void DMA1_Channel1_Handler(void) void DMA1_Channel1_IRQnHandler(void) void HAL_DMA_IRQHandler(void) nether works. I set up dma in conjunction with adc, and I know it is working in "manual" mode till half transfer interrupt has t...
by MasterT
Tue Mar 14, 2017 4:12 pm
Forum: STM32F103 Boards
Topic: ADC ENOB low value.
Replies: 9
Views: 532

Re: ADC ENOB low value.

The code is quite complex - I had a look. May I suggest to you to create a "version 2 standard" where: 1. you connect a clean <500ohm 1kHz (or 100kHz) sinus signal (centered by say 2x 10k and coupled via a 100uF capacitor) at the pin XYZ 2. you run the sketch with almost no intervention 3. after a ...
by MasterT
Sat Mar 11, 2017 8:28 pm
Forum: USB bootloader
Topic: STM32duino bootloader Linux confusion.
Replies: 10
Views: 1308

Re: STM32duino bootloader Linux confusion.

Yes, I got it! Group name is wrong, here is how rules file 45-maple.rules should be: ATTRS{idProduct}=="1001", ATTRS{idVendor}=="0110", MODE="664", GROUP="dialout" ATTRS{idProduct}=="1002", ATTRS{idVendor}=="0110", MODE="664", GROUP="dialout" ATTRS{idProduct}=="0003", ATTRS{idVendor}=="1eaf", MODE="...
by MasterT
Sat Mar 11, 2017 8:18 pm
Forum: USB bootloader
Topic: STM32duino bootloader Linux confusion.
Replies: 10
Views: 1308

Re: STM32duino bootloader Linux confusion.

And more confusion, port ttyACM0 belongs to dialout group, this what i used to in all arduino releases, nevertheless rules file 45-maple.rules says ATTRS{idProduct}=="1001", ATTRS{idVendor}=="0110", MODE="664", GROUP="plugdev" ATTRS{idProduct}=="1002", ATTRS{idVendor}=="0110", MODE="664", GROUP="plu...
by MasterT
Sat Mar 11, 2017 8:06 pm
Forum: USB bootloader
Topic: STM32duino bootloader Linux confusion.
Replies: 10
Views: 1308

Re: STM32duino bootloader Linux confusion.

I insert a line, as advised: Sketch uses 16056 bytes (24%) of program storage space. Maximum is 65536 bytes. Global variables use 2816 bytes of dynamic memory. /home/NoName/Softvari/arduino-1.8.1/hardware/Arduino_STM32/tools/linux/maple_upload ttyACM0 2 1EAF:0004 /tmp/arduino_build_299861/Blink.ino....
by MasterT
Sat Mar 11, 2017 5:00 pm
Forum: USB bootloader
Topic: STM32duino bootloader Linux confusion.
Replies: 10
Views: 1308

Re: STM32duino bootloader Linux confusion.

O'K, I changed to 0004, and now I see correct command line address /hardware/Arduino_STM32/tools/linux/maple_upload ttyACM0 2 1EAF:0004 /tmp/arduino_build_982847/Blink.ino.bin dfu-util 0.8 dfu-util: Invalid DFU suffix signature Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyr...
by MasterT
Sat Mar 11, 2017 4:38 pm
Forum: USB bootloader
Topic: STM32duino bootloader Linux confusion.
Replies: 10
Views: 1308

Re: STM32duino bootloader Linux confusion.

Well, my board.txt is empty.. [NoName@localhost tools]$ pwd /home/NoName/Softvari/arduino-1.8.1/hardware/Arduino_STM32/tools [NoName@localhost tools]$ ls -l total 16 -rw-rw-r--. 1 NoName NoName 0 Feb 25 21:26 boards.txt drwxrwxr-x. 6 NoName NoName 4096 Feb 25 21:26 linux drwxrwxr-x. 6 NoName NoName ...
by MasterT
Sat Mar 11, 2017 9:40 am
Forum: USB bootloader
Topic: STM32duino bootloader Linux confusion.
Replies: 10
Views: 1308

STM32duino bootloader Linux confusion.

HI, I installed STM32duino bootloader following instructions on this web site https://medium.com/@paramaggarwal/programming-an-stm32f103-board-using-usb-port-blue-pill-953cec0dbc86#.tppplljtw But uploading doesn't work, my own research turns blank, so here is my questions, sorry if it was asked many...
by MasterT
Fri Mar 10, 2017 6:26 pm
Forum: STM32F103 Boards
Topic: ADC ENOB low value.
Replies: 9
Views: 532

Re: ADC ENOB low value.

There is simple "arduino style" user interface, I thought it 'd easy to understand from the main listing. Commands "x" "f" "e" - commented, just print into IDE serial monitor text field "send line" one letter and press Enter "d" - control data set, to verify fft/ math., after you switch to d enter x...