blog.world3.net

Author Archives: mojo

« Older posts

XMEGA USART unsets output direction on ports when disabling TX

02/02/2012 – 15:23

I noticed that if I set the TX pin of a port to output and then enable the USART it works. If I then disable the TXEN bit (necessary because with IR comms the TX line has to be held low during reception, otherwise the transceiver blinds itself) the TX port pin is reset to being an [...]

Posted in avr | Comments (0)

Fix Windows 7 not booting due to missing AHCI drivers

29/01/2012 – 15:26

If you change mobo and chipset Windows might not boot due to loading the wrong AHCI drivers at boot time. To speed up booting it only loads the ones it thinks it needs, and once set is not designed to change. To enable them all again go to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Msahci and change the Start key value to [...]

Posted in windows | Comments (0)

Fix Firefox image decoding performance regression

27/01/2012 – 18:34

For some reason Mozilla changed Firefox to decode imagines only when they are visible, meaning that they now slowly appear as you scroll down a page instead of loading quickly in the background first. Seems like a misguided attempt to save some memory. The fix is to set image.mem.decodeondraw to false.

Posted in idiots, software | Comments (0)

Ebay location script fix

27/01/2012 – 18:32

Ebay broke it, I fixed it… Greasemonkey as usual. // ==UserScript== // @name           Ebay-Location-Route // @namespace      www.ebay.co.uk // @description    Adds a link for the item location on google maps // @include       http://*ebay.* // ==/UserScript== // Version 0.5 // author: knoe/MoJo //Configuration var home = “Nowhere”; //home var blank = false;                   //open [...]

Posted in Internet | Comments (0)

Gigabyte crapware

19/01/2012 – 14:12

Picked up a cheap ex-display Gigabyte mobo in mint condition. By all accounts it is a good board, but man do Gigabyte love “value added” crapware. Some examples: Auto Green – Sleep or power down your PC from a Bluetooth device. Since Bluetooth has a range of about 25mm it seems like it would be [...]

Posted in hardware, idiots | Comments (0)

The Novatech website is shit

19/01/2012 – 10:45

Just popped on to the Novatech site to check some prices and noticed how shit it is. For example, if you look at SSDs there is no capacity category, you can only filter by price range or manufacturer. That was crappy back in 1998, and 14 years later it is pretty much unforgivable. Novatech isn’t [...]

Posted in idiots, Internet | Comments (0)

RFM12B bit stream sync issue

22/12/2011 – 16:04

Been working with cheap RFM12B modules at work and discovered something interesting about them. A couple of things actually, the first of which is that the datasheet for the Si4420 IC it uses is much better. The main issue is that the serial data stream you get when receiving is not always aligned to the [...]

Posted in avr, electronics | Comments (0)

Compile time asserts in C

21/12/2011 – 15:48

Assert is a useful function that checks a condition and outputs an error if it is not met at run time. Aside from generating some overhead in the code it is also pretty useless on microcontrollers because the messages go to STDERR and, well, there isn’t one. A much better solution is to do the [...]

Posted in avr | Comments (0)

Scheduling uTorrent on Windows

03/12/2011 – 19:12

Sometimes I close uTorrent and forget to open it again before going to bed for overnight downloading. It cannot be scheduled via the Task Scheduler in Vista/Server 2008 and above because scheduled tasks can no longer display a GUI. This is a security feature designed to prevent shatter attacks which are a form of privilege [...]

Posted in windows | Comments (0)

XMEGA TWI (I2C) bus pull-ups

24/11/2011 – 16:32

The XMEGA 128A1 and XPLAINED hardware guide both suggest that TWI should work with the internal port pull-up resistors. Those pull ups are 50K+ and don’t pull enough for most devices. In short external pull-ups, say 10K, are essential.

Posted in avr, electronics | Comments (0)
« Older posts
  •  

    February 2012
    M T W T F S S
    « Jan    
     12345
    6789101112
    13141516171819
    20212223242526
    272829  
  • Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
  • Categories

    • audio (1)
    • avr (20)
    • BBC (1)
    • electronics (29)
    • genius (4)
    • hardware (22)
    • idiots (39)
    • Internet (21)
    • law (20)
    • microcontrollers (12)
    • networking (17)
    • politics (29)
    • privacy (19)
    • Retro Adapter (5)
    • security (17)
    • software (32)
    • Uncategorized (18)
    • windows (25)
  • Archives

    • February 2012
    • January 2012
    • December 2011
    • November 2011
    • October 2011
    • September 2011
    • July 2011
    • June 2011
    • May 2011
    • March 2011
    • January 2011
    • December 2010
    • November 2010
    • August 2010
    • July 2010
    • June 2010
    • May 2010
    • April 2010
    • March 2010
    • February 2010
    • January 2010
    • December 2009
    • November 2009
    • October 2009
    • September 2009
    • August 2009
    • July 2009
    • June 2009
    • May 2009
    • April 2009
    • March 2009
    • February 2009
    • January 2009
    • December 2008
    • November 2008
    • October 2008
    • September 2008
    • August 2008
    • July 2008
    • June 2008
    • May 2008
    • April 2008
    • March 2008
    • February 2008
    • January 2008
    • November 2005
  • Links:

    Main site: world3.net

    Electronics: denki.world3.net

WordPress | Sandbox