Sunday, 20 December 2015

UrJTAG Testing - FT2232D - Atmeg16 JTAG - Boundary Scan

I am a big fan of FTDI ..

Ok where to get the board ..
FT232B/R -> does not have mpsse support , dont buy this ..
FT2232D-> USB full speed device -> polling range 800 -1000 times per sec
FT2232H -> High speed device -> Polling range 6000 times per sec..
FT4232H -> should work like FT2232H  , haven't tested yet
FT232H -> New one I guess


Buy this   FT2232H Mini-Module 
Now where to get  ,  element14.com , Digikey.com ...may be you can buy directly from FTDI




 For Indian users can buy it from
http://shop.ngxtechnologies.com/product_info.php?products_id=30  -> 1200RS  , which is cheap & best in the market ... FT2232D





Remove c10 to c15 capacitors , which are on the high speed data lines ,,,  I guess , It is a design flaw ..( Only for NXG ARM USB JTAG)

Another one schematic is here
http://www.ethernut.de/pdf/turtelizer20c-schematic.pdf

For JTAG pin details for your chip refer the manual.. 

I have used  NXG ARM USB JTAG  &  Atmega 16 



Wire it up    TCK, TDI ,TDO,TMS  ...  RST not required ... 

Incase you encounter libusb error , just install filter driver ...  
libusb-win32-devel-filter-1.2.6.0.exe ... Restart the PC ..




BSDL file is not in the list ... So download it from atmel 


put it on the c drive ...


Now we will make the pins Set to 1 & zero ... 

Jtag>instruction EXTEST
jtag>shift IR
jtag>set signal PB(1)  out 1 
jtag>shift DR ->   Now the output will be high 
jtag>set signal PB(1) out 0 
jtag>shift DR -> Now the output will be zero







Saturday, 19 December 2015

Antivirus is for Common man , Not for programmers & Technocrats


Theoretically any antivirus should convert the object code or Machine code in to user understandable one & make a decision based on that ..

In my 15 years of computer experience I have not seen such an anti virus in my life ... Most antivirus follow manual analysis ( means they have a back end team which is working every day 24x7 classifying studying the exe executables submitted by people around the world .. and they create a virus signature database based on it .. this is the reason every antivirus need to be updated every day to keep you system safe..

I have many exe's which the antivirus report them as virus , actually they are genuine softwares , they have no malicious code in it ... you might have had the same experience ..
This was the main reason I lost my confidence on antivirus..



Thursday, 10 December 2015

Windows cannot be installed to this disk.. The selected disk is of GPT Style - Fix Windows 7/8/10

This error appears especially when you install a fresh windows OS to the System .. Or attempting to install Windows on , previously configured linux PC.






Here is the simple steps to follow..

1. Take backup of the harddisk ... No file will be leftout after you complete the below steps .. So take the backup .. We are turning back the HDD to almost factory default.

2.Close this Window & Move back to the previous window


3.Press  Fn+Shift+F10  or Shift +F10..  Now a  black screen pops up .. Enter the below commands.

4.       diskpart     - Enter 
          list             -Enter
          Select disk 0    - Enter
          clean           - Enter

5. After completion close this window ... Now you should be able to install