![](templates/subSilver/images/CCSLogo.jpg) |
![CCS C Software and Maintenance Offers](templates/subSilver/images/forumAd6.jpg) |
View previous topic :: View next topic |
Author |
Message |
ortegahernandes
Joined: 14 Feb 2020 Posts: 23
|
PIC24FV32KA304 Pin RA5 MCLR/NOMCLR |
Posted: Thu Mar 26, 2020 5:39 pm |
|
|
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 |
|
|
![](templates/subSilver/images/spacer.gif) |
jeremiah
Joined: 20 Jul 2010 Posts: 1329
|
|
Posted: Thu Mar 26, 2020 6:26 pm |
|
|
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. |
|
![](templates/subSilver/images/spacer.gif) |
Ttelmah
Joined: 11 Mar 2010 Posts: 19378
|
|
Posted: Fri Mar 27, 2020 2:27 am |
|
|
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. |
|
![](templates/subSilver/images/spacer.gif) |
ortegahernandes
Joined: 14 Feb 2020 Posts: 23
|
|
Posted: Fri Mar 27, 2020 6:06 am |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
![](templates/subSilver/images/spacer.gif) |
|
|
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
|