MCUmall EPROM BIOS Chip Burner Forum
MCUmall EPROM BIOS Chip Burner Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 MCUmall Forums
 PIC Programmer
 USB PIC Programmer for 18LF1330

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List Spell Checker
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Insert an Image File
Check here to include your profile signature.
    

T O P I C    R E V I E W
Lainus Posted - 03/05/2010 : 09:50:40
Hello,

I have used a 18LF1330 with ICSP.

For burn, I have tried with 18F1320, and the burn is correct, but the program doesn't run.

The program is very simple and write with CCS.
With Proteus ISIS, run correctly.

Please, can you help please?

Thank you
2   L A T E S T    R E P L I E S    (Newest First)
Lainus Posted - 03/06/2010 : 10:31:16
http://www.mcumall.com/forum/topic.asp?TOPIC_ID=1313
Lainus Posted - 03/05/2010 : 10:46:28
#include <18f1330.h>
#FUSES INTRC_IO,NOWDT,NOPUT,NOMCLR,NOBROWNOUT,NOPROTECT,NODEBUG,NOFCMEN,NOIESO
#use delay(Internal=4M)

#use standard_io (a)
#use standard_io (b)

void main()
{

///Configuració pinout // set portc 0=sortida 1=entrada
set_tris_a(0b01111010); // set portA configuració pinout
set_tris_b(0b00001100); // set portB configuració pinout

output_high (PIN_B1);
output_high (PIN_B5);
//////////////////////////////bucle infinit...........
While(true){
output_high (PIN_A0);
delay_ms (500);
output_low (PIN_A0);
delay_ms(500);

if (input (pin_a5)){
output_high (PIN_B4);
}
else{
output_low (PIN_B4);
}


}
}

MCUmall EPROM BIOS Chip Burner Forum © Copyright 2003 - 2009 Mcumall Electronics Inc. Go To Top Of Page
Generated in 0.06 sec. Snitz Forums 2000