Mohammad Ahmad

how to question - programming chip

Discussion created by Mohammad Ahmad on Apr 3, 2006
Latest reply on Apr 3, 2006 by David Payne
Hi all,
New here, basically my question is on how to correctly program my chip:

There is a document called AN2399.pdf which explains almost everything and has software and code, but I am still having trouble. They gave me a program called USB-ICP.asm, which is assembly program that allows the chip to enter into In Circuit Programming (ICP) mode so that new code can be put in. But when I compile my C code and then put it into the chip it(the code) does not run (for example I'm turning on LED).
One time I put in the C code, without the USB-ICP.asm program, this resulted in the C code working but I was not able to reprogram the chip.

Any help will be appreciated.