Search found 11 matches

by terraduino
Tue Sep 12, 2017 12:30 am
Forum: Windows
Topic: Failed to init device STM32 using Arduino
Replies: 3
Views: 175

Re: Failed to init device STM32 using Arduino

Thanks @RogerClark for the info.
I agree, the STLink clones are cheap enough. However, I would prefer to have not another device sit on my desk. Moreover, I would be tempted to buy some STM8 to put the STLink clone to good use :) And, unfortunately, the WAF is already low here ... ;)

Thanks & best
by terraduino
Sun Sep 10, 2017 9:57 pm
Forum: Windows
Topic: Failed to init device STM32 using Arduino
Replies: 3
Views: 175

Re: Failed to init device STM32 using Arduino

Hi, I've the same error. stm32flash -w ~/Downloads/gd32f1_generic_boot20_pc13.bin -v -g 0x0 /dev/ttyUSB0 -b 115200 stm32flash Arduino_STM32_0.9 http://github.com/rogerclarkmelbourne/arduino_stm32 Using Parser : Raw BINARY Interface serial_posix: 115200 8E1 Failed to init device. stm32flash -w ~/Down...
by terraduino
Sat Aug 12, 2017 8:14 pm
Forum: General discussion
Topic: [SOLVED] IRQ handling problem (updated: electronic interference?)
Replies: 12
Views: 339

Re: IRQ handling problem (updated: electronic interference?)

Interesting, didn't know that.

Thanks & best
by terraduino
Thu Aug 10, 2017 11:14 am
Forum: General discussion
Topic: [SOLVED] IRQ handling problem (updated: electronic interference?)
Replies: 12
Views: 339

Re: IRQ handling problem (updated: electronic interference?)

Good question. Don't know which it was but maybe I find some time to test a bunch of them. Would be interesting to know.
Unfortunately, the setup of my home office changed a lot yesterday. Anyway, we'll see :)
by terraduino
Mon Aug 07, 2017 10:17 pm
Forum: General discussion
Topic: [SOLVED] IRQ handling problem (updated: electronic interference?)
Replies: 12
Views: 339

Re: IRQ handling problem (updated: electronic interference?)

Actually, I did change the USB cable.
But it's weaker--meaning less max. current--than the previous one. Hence, I would expect more problem ;)
by terraduino
Fri Aug 04, 2017 11:40 pm
Forum: General discussion
Topic: [SOLVED] IRQ handling problem (updated: electronic interference?)
Replies: 12
Views: 339

Re: IRQ handling problem (updated: electronic interference?)

Electronics is ... weird. I tried to reproduce the error that I stumbled across some weeks ago. However, the BluePill runs stable now and no IRQ is triggered. No idea what changed but if I can reproduce the error I'll let you know.

Best
by terraduino
Sat Jul 22, 2017 1:01 pm
Forum: General discussion
Topic: [SOLVED] IRQ handling problem (updated: electronic interference?)
Replies: 12
Views: 339

Re: IRQ handling problem (updated: electronic interference?)

Dear @victor_pv, sorry for the late response. I'll update this thread as soon as I have news.
I'll add a large and a very small capacitor to the BluePill GND/VCC and see if it helps.
Best
by terraduino
Wed Jul 12, 2017 11:29 pm
Forum: General discussion
Topic: [SOLVED] IRQ handling problem (updated: electronic interference?)
Replies: 12
Views: 339

Re: IRQ handling problem (updated: electronic interference?)

Today, I observed that pulling the plug of my printer caused the BluePill to trigger the interrupt. The printer and dedicated USB power supply, which is powering my BluePill, share the same main line. I'm really surprised that this triggered the interrupt. Is it normal behavior that such voltage cha...
by terraduino
Tue Jul 11, 2017 6:30 pm
Forum: General discussion
Topic: [SOLVED] IRQ handling problem (updated: electronic interference?)
Replies: 12
Views: 339

Re: IRQ handling problem (updated: electronic interference?)

Thanks for your suggestions.
I tried a 10k pulldown but it didn't help.

I'm not sure where to put your filtering cap. In parallel to the switch? It will work as a physical de-bounce circuit, right?

Best
by terraduino
Sat Jul 08, 2017 12:13 pm
Forum: General discussion
Topic: [SOLVED] IRQ handling problem (updated: electronic interference?)
Replies: 12
Views: 339

[SOLVED] IRQ handling problem (updated: electronic interference?)

Hi, I attached a reed switch (PA4 and 3V3) to a BluePill that is powered by dedicated 5V USB power supply through micro USB. I activated IRQ on PA4 to get a notice when the window is opened or closed. It did work well, I thought. But eventually I get false notifications although the window was far o...