microchip languages

Thread Starter

ht systems

Joined Aug 2, 2011
71
hello , when i generate a c code file and transform it into hex code to my microchip , the microchip doesnt work at all , whats the problem ?
note : im using top win 2007 programmer .
 

debjit625

Joined Apr 17, 2010
790
I think you missed the main stuffs...
Which compiler and development platform ?
Which mcu? Microchip have a wide range of PICs which one you are talking about.
Post your circuit and code with the configuration bits you are using...
 

praondevou

Joined Jul 9, 2011
2,942
There is too much information missing (almost everything);).


If you are unsure if the problem is the programmer or the program you wrote, try to program the uC with a simple example program you should be able to find in one of the hundreds of tutorials on the internet or program a very simple program like turning on/off an output pin and measuring it with an oscilloscope.

Also you can verify with an oscilloscope if the uC oscillator is working.
 

Thread Starter

ht systems

Joined Aug 2, 2011
71
here it is , i geenerat it from flowcode v4 program . i think that the problem is when i transform it to hex code so would anyone write the steps for transforming the c code to the microchip ?
 

Attachments

debjit625

Joined Apr 17, 2010
790
so would anyone write the steps for transforming the c code to the microchip ?
1)Learn language C
2)Use HI-TECH C compiler with MPLAB as IDE
3)Write your code and compile.
4)You will get your *.hex file load it to mcu.

Again you didn't provide any information about your PIC,their are many and their compilers are also different so here is the website for HI Tech choose your compiler yourself : http://www.htsoft.com/

And website for MPLAB : http://www.microchip.com

Good Luck
 
Top