Search found 1671 matches

by ag123
Sat Dec 21, 2019 2:25 pm
Forum: Code snippets
Topic: automating arduino serial interaction with expect/tcl
Replies: 0
Views: 8367

automating arduino serial interaction with expect/tcl

this isn't necessarily limited to libmaple but that i've tested this in libmaple core hence posted here beside the well known languages c/c++/java/python etc there is an 'ancient' and little used language called expect and tcl this seemed to be for the unix/linux folks (should work on Rpi, Beaglebon...
by ag123
Sat Dec 21, 2019 5:47 am
Forum: Ideas & suggestions
Topic: usb-uart example sketch and some thoughts about uart
Replies: 6
Views: 15161

Re: usb-uart example sketch and some thoughts about uart

thanks ray, in the case of my sketch, it is just a convenience feature i used while i'm testing out the features of esp8266 AT rom. my serial terminal is kind of 'handicapped' no macros etc, so i exploit the convenience of the sketch and did a 'command processor' ;) btw i still think the usb macroce...
by ag123
Fri Dec 20, 2019 6:06 pm
Forum: General discussion
Topic: [Help] stm32f103 TFBGA bootloader flashing
Replies: 2
Views: 6925

Re: [Help] stm32f103 TFBGA bootloader flashing

check if you are accidentally installing something in ram? flash address normally is 0x8000000
by ag123
Fri Dec 20, 2019 4:04 pm
Forum: General discussion
Topic: dhrystone and whetstone benchmarks
Replies: 93
Views: 66463

Re: dhrystone and whetstone benchmarks

+1 Thanks ! :D
by ag123
Fri Dec 20, 2019 3:43 pm
Forum: General discussion
Topic: dhrystone and whetstone benchmarks
Replies: 93
Views: 66463

dhrystone and whetstone benchmarks

this is an old favorite topic in the old forum
uploaded again, seasons greetings :D
by ag123
Fri Dec 20, 2019 3:20 pm
Forum: Custom design boards
Topic: Bluepill F4 board, anyone still working on it?
Replies: 83
Views: 68386

Re: Bluepill F4 board, anyone still working on it?

ok finally i ordered a couple f401, cos it seem like 'everyone else has it' :lol: the f411 seem to have SD hardware support, f401 nil f4* and even f303cc doesn't feel the same as the stm32f103, they are faster even for the same clock speed according to the flyer, and specs it has that ART accelerato...
by ag123
Fri Dec 20, 2019 12:42 pm
Forum: Forum rules, FAQs and HowTo's
Topic: Limit on attachment image sizes?
Replies: 7
Views: 13408

Re: Limit on attachment image sizes?

i've occasionally used imgur https://imgur.com/ but i'm not sure how long the images would be retained there. so those images may 'disappear' after a while. slighly larger sizes say < 200k would probably help, my guess is compression can mostly fit many in but there would still be many that exceed t...
by ag123
Fri Dec 20, 2019 12:03 pm
Forum: General discussion
Topic: Weird HardwareTimer behavior
Replies: 8
Views: 7071

Re: Weird HardwareTimer behavior

one way though is to explore dma https://www.st.com/content/ccc/resource/technical/document/application_note/group0/91/01/84/3f/7c/67/41/3f/DM00236305/files/DM00236305.pdf/jcr:content/translations/en.DM00236305.pdf chapter 5 Arbitrary waveform generation using timer DMA-burst feature and this is pro...
by ag123
Fri Dec 20, 2019 10:17 am
Forum: General discussion
Topic: Weird HardwareTimer behavior
Replies: 8
Views: 7071

Re: Weird HardwareTimer behavior

well, it means your timer is generating the interrupts as you expect, so if you expect your timer to say run at 100khz that would be 100k interrupts per sec + 1000 interrupts from systick. so say if you increase the loop count to say 101000 / 2 and split the intervals between led on - led off it wou...
by ag123
Fri Dec 20, 2019 9:21 am
Forum: General discussion
Topic: Weird HardwareTimer behavior
Replies: 8
Views: 7071

Re: Weird HardwareTimer behavior

my guess is one could check if other interrupts (e.g. usb sof every 1ms and systick every 1ms used for delay(n) ) could be occuring. one of those tricks i do is place asm("wfi"); in loop(), that is nearly the same as delay(1) and have an variable, counter checking the number of "wfi&q...

Go to advanced search