Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Error while programming pic18f4550 .

Status
Not open for further replies.

simon_12

Junior Member level 3
Joined
Sep 7, 2009
Messages
28
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,476
Hello

I am using student version of C18 Compiler v3.31 for pic 18f4550. The programmer which is used by me is Genius G540 programmer. when i load the hex file into the buffer , it gives the following message


" None configuration worde in the hex file"

"Please set it after loading"

what does it mean?

After that when i click the program button , only erase operation is successful , the blank,verify, program and encrypt operation gives the error.

Please tell me where i am doing wrong? i have already set the configuration bits of pic18f4550 in the programming software( Genius G540).

Regards

Simon
 

betwixt

Super Moderator
Staff member
Joined
Jul 4, 2009
Messages
14,855
Helped
4,853
Reputation
9,724
Reaction score
4,638
Trophy points
1,393
Location
Aberdyfi, West Wales, UK
Activity points
126,439
I do not have that programmer so this is a guess:

Most HEX files have the configuration fuses stored inside them. Normally they are at a reserved address which is outside the normal range for the device. The programming unit should read the data from that address and use it to configure the chip rather than store it as part of the program.

Either the configuration data is not in the HEX file or the Genius programmer is looking in the wrong place to find it. The message is telling that because it could not read the configuration from the file, you should set it manually.

Is it possible you have set the configuration in the assembler/compiler AND in the Genius software as well so it does not know which to use? It is best to embed the configuration in the assembler/compiler file if possible.

Brian.
 

simon_12

Junior Member level 3
Joined
Sep 7, 2009
Messages
28
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,476
I have already set the configuration bits in the comiler/ software but i saw that there was an option of setting the config bits in the genius programming software also that's why i also set the same config bits as i set in the compiler but the error remains.
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top