Search found 11 matches

by MasterT
Fri Mar 24, 2017 8:49 pm
Forum: STM Nucleo boards
Topic: STM32L476RG
Replies: 3
Views: 381

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 inter...
by MasterT
Tue Mar 14, 2017 4:12 pm
Forum: Generic STM32F103
Topic: ADC ENOB low value.
Replies: 9
Views: 136

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...
by MasterT
Sat Mar 11, 2017 8:28 pm
Forum: Generic bootloader
Topic: STM32duino bootloader Linux confusion.
Replies: 8
Views: 137

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", GRO...
by MasterT
Sat Mar 11, 2017 8:18 pm
Forum: Generic bootloader
Topic: STM32duino bootloader Linux confusion.
Replies: 8
Views: 137

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"...
by MasterT
Sat Mar 11, 2017 8:06 pm
Forum: Generic bootloader
Topic: STM32duino bootloader Linux confusion.
Replies: 8
Views: 137

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: Generic bootloader
Topic: STM32duino bootloader Linux confusion.
Replies: 8
Views: 137

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: Generic bootloader
Topic: STM32duino bootloader Linux confusion.
Replies: 8
Views: 137

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: Generic bootloader
Topic: STM32duino bootloader Linux confusion.
Replies: 8
Views: 137

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: Generic STM32F103
Topic: ADC ENOB low value.
Replies: 9
Views: 136

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 d...
by MasterT
Fri Mar 10, 2017 3:40 pm
Forum: Generic STM32F103
Topic: ADC ENOB low value.
Replies: 9
Views: 136

Re: ADC ENOB low value.

Thanks all for your comments, Certainly, ENOB low value is related to board design, and arduino Due is not much different. I was surprised that AtMega board with 10-bit ADC has better results than ARM with their "supposed to be" 12-bits, but 8-9 in reality, Here is the sketch, I use IDE ta...

Go to advanced search