Home

Categories

Ben's Adventures
Ben’s adventures
IT
IT related posts

Authors

Ben
Posts by Ben
ZJ
Posts by ZJ

Recent blog posts

STM32CubeProgrammer and STM32_Programmer_CLI fail complaining about missing STM32_Prog_DB_0xNNN.xml or 0xNNN.stldr files (6 Mar 2017 - #478267)
This problem can be caused by not reading the correct device ID, in which case the 0xNNN above will be 0x000. Obviously those files do not exist. See solution here. Another reason reason might be that STM32CubeProgrammer and STM32_Programmer_CLI try to use the incorrect (relative) paths. Some versions of the programs relied on using paths … Continue reading STM32CubeProgrammer and STM32_Programmer_CLI fail complaining about missing STM32_Prog_DB_0xNNN.xml or 0xNNN.stldr files

STM32CubeProgrammer and STM32_Programmer_CLI fail with unknown device ID (6 Mar 2017 - #478267)
Solution: Use SWD with reduced clock speed. Mind you, I have only encountered this problem when trying to program STM32 clones, so an alternative solution may be to only use genuine ST devices purchased from reputable sources.

Colour less pipes (6 Mar 2017 - #478265)
By default less will display colour escape codes directly and will not interpret them. Some programs will only output colour when running in a colour capable terminal; by default a linux pipe is not considered colour capable. We have to tell them explicitly to generate and process colour escape sequences: For further details see askubuntu … Continue reading Colour less pipes

Zoom function in Calibre e-reader (5 Mar 2017 - #469241)
There does not seem to be one. Control + mouse scroll will adjust the font size, but not the overall scale of the display. This is especially annoying when at the default zoom level some of the text falls outside the the e-reader window: Cumbersome, but at least the text will become readable: CSS to … Continue reading Zoom function in Calibre e-reader

Unpack, modify and repack an epub file (5 Mar 2017 - #469209)
Although epub format e-books are simple ZIP archives, care has to be taken in how unzip and zip are used to manipulate them. Without using the -O option when unpacking UTF-8 file names are likely to get corrupted. For the repack, use of -X is required and the directory order in the archive has to … Continue reading Unpack, modify and repack an epub file

Warning: failed to launch javaldx – java may not function correctly (5 Mar 2017 - #469076)
When starting a LibreOffice component, e.g. lowriter or localc, it may complain with the above warning about not being able to start javaldx.

Notes primarily to myself, but perhaps also useful for someone else…