Pumpkin, Inc.

Pumpkin User Forums

weird ICD2 problem(in programmer mode)

For issues specific to Microchip's PICmicro® MCUs, including compilers (e.g. HI-TECH PICC & PICC-18, Microchip MPLAB®-C18) and IDEs (e.g. Microchip MPLAB®).

weird ICD2 problem(in programmer mode)

Postby aek » Sun Jul 24, 2005 9:03 am

My guess would be that somehow the configuration options for the PIC18 aren't right when you burn the normal code -- did you set all the options explicitly in your code?

When you run from MPLAB + ICD2, configuration options are part of the project and they get downloaded, etc. But when you program a bare device, you need to ensure that the configuration words (at a high address) are also in the HEX file, etc. You can see them pretty easily by examining the hex file ...

------------------

-------
aek
aek
 
Posts: 1888
Joined: Sat Aug 26, 2000 11:00 pm

Re: weird ICD2 problem(in programmer mode)

Postby engink » Sun Jul 24, 2005 11:31 am

I’m using PICC18 8.35 PL3 + salvo 3.2.3 + mplab 7.2. Recently I’m making a project about embedded TCP/IP.When I run the program in debug mode,everything works perfectly, also I check the ICD option in picc18 compile options. But when I burn this code in programmer mode(of course uncheck icd option in compiler options), program goes crazy. doesn’t work properly without debug mode. I can’t understand this weird problem. Anyone has an idea to solve this?
engink
 
Posts: 2
Joined: Wed Jun 29, 2005 11:00 pm
Location: turkey

Re: weird ICD2 problem(in programmer mode)

Postby engink » Mon Jul 25, 2005 1:06 am

there isn't problem about conf. words. This is a bug I think in salvo or hitech compiler.look this discussion:
http://www.htsoft.com/forum/all/showflat.php?Cat=&Board=pic&Number=12636&Searchpage=4&Main=12626&Words=icd2&topic=&Search=true#Post12636

this person has same problem like me

engink
 
Posts: 2
Joined: Wed Jun 29, 2005 11:00 pm
Location: turkey


Return to PICmicro MCUs

Who is online

Users browsing this forum: No registered users and 1 guest

cron