EmBitz is Code::Blocks based pre-packaged IDE with ARM compiler targeted for embedded.
It is relatively lightweight (50MB installer including GCC), ~600MB after installation. Obviously it's also much more responsive than any eclipse-based IDE.
IDE works with STLink and it looks like it's much more stable than SW4STM32 (when working with SW4STM32 I had to reset/reconnect STLink each 5 minutes, so far I haven't seen any problems with EmBitz.
While collection of .svd files is available only after buying support package it seems that .svd files from other sources work as well.
2017-04-01
2017-03-25
VSIXInstaller
When you are looking for crappy software, Microsoft can provide. I'm not not talking about Windows as Linux desktop distributions I've tried recently failed me way worse, often with functionality broken right from the start (i.e. it seems to me that no one tests it before releasing, not even once). But when it comes to overly complicated and bloated non-os software Microsoft is definitely the leader.
Last year I've installed Visual Studio 2015 Community and I just discovered that it has a habit of eating disk space on system partition, 10MB (some installer file with random name and some log file) every day with update installation that fails:
2017-03-17 08:26:21 - Microsoft VSIX Auto Update
2017-03-17 08:26:21 - -------------------------------------------
2017-03-17 08:26:22 - VSIXAutoUpdate : Supported products on the machine
2017-03-17 08:26:22 - Microsoft Visual Studio Community 2015
2017-03-17 08:26:22 - VSIXAutoUpdate : Supported products applicable to auto update
2017-03-17 08:26:22 - Microsoft Visual Studio Community 2015
2017-03-17 08:27:17 - VSIXAutoUpdate result in error when updating extension:
2017-03-17 08:27:17 - xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx-Developer Analytics Tools-7.18.214.2
2017-03-17 08:27:17 - Certificate check failed. Certificate information of the previously installed extension could not be read.
I hope that disabling VSIX Auto Update in Task Scheduler would stop this.
Last year I've installed Visual Studio 2015 Community and I just discovered that it has a habit of eating disk space on system partition, 10MB (some installer file with random name and some log file) every day with update installation that fails:
2017-03-17 08:26:21 - Microsoft VSIX Auto Update
2017-03-17 08:26:21 - -------------------------------------------
2017-03-17 08:26:22 - VSIXAutoUpdate : Supported products on the machine
2017-03-17 08:26:22 - Microsoft Visual Studio Community 2015
2017-03-17 08:26:22 - VSIXAutoUpdate : Supported products applicable to auto update
2017-03-17 08:26:22 - Microsoft Visual Studio Community 2015
2017-03-17 08:27:17 - VSIXAutoUpdate result in error when updating extension:
2017-03-17 08:27:17 - xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx-Developer Analytics Tools-7.18.214.2
2017-03-17 08:27:17 - Certificate check failed. Certificate information of the previously installed extension could not be read.
I hope that disabling VSIX Auto Update in Task Scheduler would stop this.
2016-10-24
Logitech M310
Since replacement mouse wheel encoder for my A4Tech X-710 turned out to be almost as imprecise as old one and it's USB cable has lost almost all isolation exposing wires (I guess chemical decomposition over time) and plastic cracked a little next to screws it's time to change mouse.
I've bought refurbished Logitech M310 for $12.
First impression:
If you are using windows consider turning off "Allow this device to wake up the computer" option in device manager to not be surprised with accidental waking up of computer. Useful commands:
I am not noticing optical sensor performance drop after switching from X-710 which is probably good thing. I'm using cloth mouse pad thus these are not challenging conditions though.
Surprisingly (I had no issues with similar microswitches in X-710 for 10 years) left microswitch started generating double clicks after about year of use. At first I've tried to clean it using few drops of solvent, but it seem to help only temporarily. Next step was opening microswitch, cleaning dirt from "hammer" area:
There are very small grooves on left and middle prongs holding springy element with hammer in place thanks to tension. If microswitch cover would not be removed very carefully spring may jump out of these grooves right away.
See also: https://electronics.stackexchange.com/questions/29955/how-do-i-fix-an-omron-d2fc-f-7n-microswitch-from-unwanted-clicks.
I've bought refurbished Logitech M310 for $12.
First impression:
- it's "full size" mouse and it turns out it's very similar in size and shape to X-710
- left and right button are nice but little louder than in A4Tech
- middle/scroll button is slightly hard to use requiring some force to be pressed and pretty loud
- scroll wheel moves quietly and with little resistance although still seems to be precise (contrary to opinions I've found on micro-precise scroll used e.g. in M325)
- off-center optical sensor probably needs some time to adjust to (sensor in X-710 was placed exactly in the middle)
- mouse feet seem inferior to those (thicker and 6 instead of 4) in X-710
- mouse worked out of the box (I'm not sure if paired earlier or does not require pairing), no software installation was necessary with Windows 7
If you are using windows consider turning off "Allow this device to wake up the computer" option in device manager to not be surprised with accidental waking up of computer. Useful commands:
- powercfg lastwake - check reason of last wakeup
- powercfg -devicequery wake_armed - list devices allowed to wake PC
I am not noticing optical sensor performance drop after switching from X-710 which is probably good thing. I'm using cloth mouse pad thus these are not challenging conditions though.
![]() |
| Damage on button plastic was caused by using aggressive solvent for cleaning microswitch and not waiting for it to dry |
![]() |
| Nordic NRF31512C |
Surprisingly (I had no issues with similar microswitches in X-710 for 10 years) left microswitch started generating double clicks after about year of use. At first I've tried to clean it using few drops of solvent, but it seem to help only temporarily. Next step was opening microswitch, cleaning dirt from "hammer" area:
There are very small grooves on left and middle prongs holding springy element with hammer in place thanks to tension. If microswitch cover would not be removed very carefully spring may jump out of these grooves right away.
See also: https://electronics.stackexchange.com/questions/29955/how-do-i-fix-an-omron-d2fc-f-7n-microswitch-from-unwanted-clicks.
2016-10-11
Saleae logic analyzer clone
See also:
https://sigrok.org/wiki/MCU123_Saleae_Logic_clone
https://sigrok.org/wiki/MCU123_USBee_AX_Pro_clone
One of the limitations is incompatibility with 1.8V logic.
Build quality might have been better as with one I bought case latches were not closing because LED diodes positions were not matching cuts in top cover.
USB cable from the set I've received is not working consistently, I'm using other one, probably higher quality with this logic analyzer.
2016-10-09
ST-Link v2 clone
Popular cheap ST-Link v2 clone from China
STM32F101CBT6 is used instead of STM32F103CBT6 that may be found on "regular" ST-Link v2. Fun fact: STM32F101CBT6 does not officially has USB device.
See also: https://github.com/blacksphere/blackmagic/issues/62
Board markings MX-LINK V2 2016-01-18.
ST-LINK recognizes it as firmware version V2J21S4 and shows serial number.
There are four PCB points for manufacturing purposes, in order: SWD, GND, SWCLK, +3.3V.
I have also slightly older ST-Link clone with different pinout:
This one has only single LED. Again, STM32F101CBT6There are four PCB points for manufacturing purposes, in order: SWD, GND, SWCLK, +3.3V.
There was no isolating foam on the "bottom" side like in newer version - I would recommending adding one to avoid short to aluminum case and/or between PCB pads.
Subscribe to:
Posts (Atom)





















