Hello ,
I try to use the Mini-32 board with samples
sample Led blinking is running correctly I modified the time Wait
but sample RTCC doesn't work , on the Mini-32 bootloader with PIC32MX534F064H
- reset
- connect
- Browse the file RTCC.hex (unchanged after loading mini32_examples.zip )
- begin uploading
- restarting the MCU button OK
the led LATD6_bit doesn't blinking
I don't see my error , thank for your help
Regards
sample RTCC on MINI-32 doesn't led blinking
Re: sample RTCC on MINI-32 doesn't led blinking
I know of nobody who has received the RTCC to work successfully.
It has been mentioned here several times.
A support ticket is too much, me, but when so many user had problems, then it should remain the Mikroeteam?
Best regards,
Helmut
It has been mentioned here several times.
A support ticket is too much, me, but when so many user had problems, then it should remain the Mikroeteam?
Best regards,
Helmut
Re: sample RTCC on MINI-32 doesn't led blinking
Hi,
Initially, the Secondary Oscillator which is used for internal RTCC module is disabled by the pre-programmed bootloader (v1.100 and lower).
To overcome this issue, we have made a simple HEX file which must be uploaded prior to uploading the RTCC example and which enables Secondary Oscillator usage.
The procedure is following :
1. Connect to the bootloader,
2. Load the Enable_Sec_Osc_P32MX534F064H.hex in the bootloader application,
3 Upload this HEX by pressing Begin Uploading button.
After the HEX has been uploaded, wait 10 seconds until the code in the HEX is executed.
Then, using the same method upload the RTCC example.
Important : The Enable_Sec_Osc_P32MX534F064H.hex needs to be uploaded only once, prior to RTCC example upload.
After that Secondary Oscillator will remain enabled in bootloader firmware.
You must enable Secondary Oscillator from your code as well.
Place the following code in your RTCC example before enabling RTCC module:
We will update bootloader firmware to include this configuration word change.
Secondary Oscillator will be enabled by default, so for bootloader versions v1.2 or higher,
you will not need to preform this update.
Initially, the Secondary Oscillator which is used for internal RTCC module is disabled by the pre-programmed bootloader (v1.100 and lower).
To overcome this issue, we have made a simple HEX file which must be uploaded prior to uploading the RTCC example and which enables Secondary Oscillator usage.
The procedure is following :
1. Connect to the bootloader,
2. Load the Enable_Sec_Osc_P32MX534F064H.hex in the bootloader application,
3 Upload this HEX by pressing Begin Uploading button.
After the HEX has been uploaded, wait 10 seconds until the code in the HEX is executed.
Then, using the same method upload the RTCC example.
Important : The Enable_Sec_Osc_P32MX534F064H.hex needs to be uploaded only once, prior to RTCC example upload.
After that Secondary Oscillator will remain enabled in bootloader firmware.
You must enable Secondary Oscillator from your code as well.
Place the following code in your RTCC example before enabling RTCC module:
Code: Select all
// enable secondary oscillator
SOSCEN_bit = 1;
while(!SOSCRDY_bit) // wait for secondary oscillator to stabilize
;
Secondary Oscillator will be enabled by default, so for bootloader versions v1.2 or higher,
you will not need to preform this update.
- Attachments
-
- Enable_Sec_Osc_P32MX534F064H.rar
- (985 Bytes) Downloaded 282 times
Re: sample RTCC on MINI-32 doesn't led blinking
Hi ,
I tested with succes , now the led is blinking ..... Super !
your help have been very appreciate , now i use RTCC ( before i used timer1 interrupt to build a clock : reference time )
The mini-32 PIC32MX534F064H is very interesting , i tested on EASYPic5 with Lcd(LCD Adapter Board)PortD + Ethernet2( ENC624J600 )PortC
MikroElectronika i do a very good Job
I see also that the boot loader use 16Kbytes , In fact stay (64 - 16) Kbytes to the program , to solved this the MicroProg I will be the good way
boot loader is not complex to use very good tool.
I continue to discover PIC32
Merci beaucoup
Herve
I tested with succes , now the led is blinking ..... Super !
your help have been very appreciate , now i use RTCC ( before i used timer1 interrupt to build a clock : reference time )
The mini-32 PIC32MX534F064H is very interesting , i tested on EASYPic5 with Lcd(LCD Adapter Board)PortD + Ethernet2( ENC624J600 )PortC
MikroElectronika i do a very good Job
I see also that the boot loader use 16Kbytes , In fact stay (64 - 16) Kbytes to the program , to solved this the MicroProg I will be the good way
boot loader is not complex to use very good tool.
I continue to discover PIC32
Merci beaucoup
Herve
-
- Posts: 29
- Joined: 23 Feb 2009 22:58
Re: sample RTCC on MINI-32 doesn't led blinking
Hi he.pichon,
Because the mini-32 has 3.3Volt supply on pin 11 and pin 32.
The EasyPic5 has 5 Volt on these pins as a supply voltage.
And the maximum ratings for the PIC-processor are 4 Volt.
Please tell us how, so all the mini-32 users can extend their testing facilities.
And for the MikroElektronica guys, the new EasyPic7 can do 3.3Volt, so it can handle the mini-32 as well, exept programming, am I correct ?
louis
How did you do that ?I tested on EASYPic5 with Lcd(LCD Adapter Board)PortD + Ethernet2( ENC624J600 )Port
Because the mini-32 has 3.3Volt supply on pin 11 and pin 32.
The EasyPic5 has 5 Volt on these pins as a supply voltage.
And the maximum ratings for the PIC-processor are 4 Volt.
Please tell us how, so all the mini-32 users can extend their testing facilities.
And for the MikroElektronica guys, the new EasyPic7 can do 3.3Volt, so it can handle the mini-32 as well, exept programming, am I correct ?
louis
Re: sample RTCC on MINI-32 doesn't led blinking
It's a good question :
In first time i used power of Easy pic5 ,despite the constraints 3.3 ( some pin are up to 5V tolerant )
the chip manage correctly ETHERNET 2 and LCD on RD0 no problem
now i think the good way it close the power of Easy pic5 and use only the power from USB ( 3.3V via pads or 5V via USB )
best regards
herve
In first time i used power of Easy pic5 ,despite the constraints 3.3 ( some pin are up to 5V tolerant )
the chip manage correctly ETHERNET 2 and LCD on RD0 no problem
now i think the good way it close the power of Easy pic5 and use only the power from USB ( 3.3V via pads or 5V via USB )
best regards
herve
-
- Posts: 29
- Joined: 23 Feb 2009 22:58
Re: sample RTCC on MINI-32 doesn't led blinking
I have my information from the PIC32MX5XX/6XX/7XX Family Data Sheet document
About the I/O-pins, some of them are 5 Volt tolerant, not all, see page 7.
About the supply voltage, the documentation (page 183) says clearly about the Maximum Rating for VDD is +4.0Volt
So you must be a lucky man ...
My suggestion is:
Isolate both the 3.3Volt pins of the mini-32, now you can use the 5Volt on the board and all the test-hardware
I have bought a extra mini-32 for test purpose only, and with this one I have removed the 3.3Volt pins
During test the mini-32 receives its power from the mini-USB, the board is powered by external power supply
Be carefull in what I/O you use, only half of it is 5 Volt tolerant
And remember, the port-name/pins are different between the mini-32 and EasyPic board
About the I/O-pins, some of them are 5 Volt tolerant, not all, see page 7.
About the supply voltage, the documentation (page 183) says clearly about the Maximum Rating for VDD is +4.0Volt
So you must be a lucky man ...
My suggestion is:
Isolate both the 3.3Volt pins of the mini-32, now you can use the 5Volt on the board and all the test-hardware
I have bought a extra mini-32 for test purpose only, and with this one I have removed the 3.3Volt pins
During test the mini-32 receives its power from the mini-USB, the board is powered by external power supply
Be carefull in what I/O you use, only half of it is 5 Volt tolerant
And remember, the port-name/pins are different between the mini-32 and EasyPic board