CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

PIC24FV32KA304 Pin RA5 MCLR/NOMCLR

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
ortegahernandes



Joined: 14 Feb 2020
Posts: 23

View user's profile Send private message

PIC24FV32KA304 Pin RA5 MCLR/NOMCLR
PostPosted: Thu Mar 26, 2020 5:39 pm     Reply with quote

PIC24FV32KA304

How to use the RA5 pin on the ccs, if there are fuse options and there is no option "NOMCLR" ?
Code:

#device PIC24FV32KA304

#nolist
//////// Program memory: 11264x24  Data RAM: 2048  Stack: 31
//////// I/O: 37   Analog Pins: 16
//////// Data EEPROM: 512
//////// Fuses: WRTB,BSSH5376,BSSH2560,BSSH1152,BSSS5376,BSSS2560,BSSS1152
//////// Fuses: NOBSS,WRT,PROTECT,FRC,FRC_PLL,PR,PR_PLL,SOSC,LPRC,LPFRC_DIV
//////// Fuses: FRC_DIV,SOSC_DIGITAL,SOSC_ANALOG,LPRCLOW,LPRCHIGH,IESO,EC,XT
//////// Fuses: HS,NOPR,OSCIO,POSCFREQ_L,POSCFREQ_M,POSCFREQ_H,SOSC_LOW
//////// Fuses: SOSC_HIGH,CKSFSM,CKSNOFSM,NOCKSFSM,WPOSTS1,WPOSTS2,WPOSTS3
//////// Fuses: WPOSTS4,WPOSTS5,WPOSTS6,WPOSTS7,WPOSTS8,WPOSTS9,WPOSTS10
//////// Fuses: WPOSTS11,WPOSTS12,WPOSTS13,WPOSTS14,WPOSTS15,WPOSTS16,WDT32
//////// Fuses: WDT128,WINDIS,NOWDT,WDT_NOSL,WDT_SW,WDT,NOBROWNOUT
//////// Fuses: BROWNOUT_SW,BROWNOUT_NOSL,BROWNOUT,LVR,PUT,ALTI2C1,BORV_LOW
//////// Fuses: BORV_HIGH,BORV_MID,MCLR,ICSP3,ICSP2,ICSP1,DEBUG,DSWDT_=n
//////// Fuses: DSWDTCK_SOSC,DSWDTCK_LPRC,DSBOR,DSWDT
jeremiah



Joined: 20 Jul 2010
Posts: 1349

View user's profile Send private message

PostPosted: Thu Mar 26, 2020 6:26 pm     Reply with quote

That's just comments in a file. It probably has a typo. I see MCLR there so it would have to have NOMCLR. NOMCLR compiles fine on the latest release of PCWHD for that chip.
Ttelmah



Joined: 11 Mar 2010
Posts: 19515

View user's profile Send private message

PostPosted: Fri Mar 27, 2020 2:27 am     Reply with quote

Yes, and does generate the NOMCLR setting in the .lst file output:

Code:

Configuration Fuses:
   Word  1L: 000F   NOWRTB NOBSS
          H: 0000 
   Word  2L: 0000 
          H: 0000 
   Word  3L: 0003   NOWRT NOPROTECT
          H: 0000 
   Word  4L: 00E2   PR SOSC_ANALOG LPRCHIGH IESO
          H: 0000 
   Word  5L: 003A   HS OSCIO POSCFREQ_H SOSC_HIGH CKSFSM
          H: 0000 
   Word  6L: 005F   WPOSTS16 WDT128 WINDIS NOWDT
          H: 0000 
   Word  7L: 001C   NOBROWNOUT NOLVR PUT NOALTI2C1 BORV_LOW NOMCLR
          H: 0000 
   Word  8L: 0083   ICSP1 NODEBUG
          H: 0000 
   Word  9L: 00DF   DSWDT_33SEC DSWDTCK_LPRC DSBOR NODSWDT
          H: 0000 


Word 7.
ortegahernandes



Joined: 14 Feb 2020
Posts: 23

View user's profile Send private message

PostPosted: Fri Mar 27, 2020 6:06 am     Reply with quote

So, I even tried to put the "NOMCLR". It compiles normally, but it seems that it generates an error in the .hex file.

When I put it to record the error,

when it doesn't have this function it records normally.


Is it a problem in the recorder software ?

Like, because it no longer has the MCLR pin, it generates the error?

https://ibb.co/51MSD75

https://ibb.co/s1rVb45
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Mar 27, 2020 7:02 am     Reply with quote

This thread may possibly be useful:

Config error on 24F16KA101 -
http://www.ccsinfo.com/forum/viewtopic.php?t=43976
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group