• Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

C to HEX

zesla

New Member

wkrug

Active Member
You have to Compile the Source Code with Code Vision AVR.
First start "Check Syntax" in the Project Menu.
Check and debug the shown Errors, Warnings can be ignored sometimes.
But check them to go shure.
Then Start "Make" in the Project Menu.
A Window pops up that will show you the usage of the Controller resources.

At this time the .hex, the .eep an the .cof ( debug exchange file ) will be created.
It appears in the current CodeVision project folder and you can program it into the controller with PonyProg e.g.
 

zesla

New Member
Ok thanks,

So CodeVision is able to do so. I will try it to see the result.
Do I need to do any extra task after onverting the file into the HEX so that I could use it in PonyProg too?

Thanks
 

wkrug

Active Member
You can use any programming software also PonyProg to write the .hex File into the controller.
When you have accessed the EEPROM in Source Code you should program the EEPROM space with the .eep File too.
 

misterT

Well-Known Member
Most Helpful Member
Can I ask why you chose CodeVision over AVR Studio?
 
Last edited:

Latest threads

EE World Online Articles

Loading

 
Top