I'm sorry I always want to help.
I have a question again. PIC12F1840 and ds1307. But it does not compile. Maybe I'm running out of memory, I do not know exactly. Is there a way to reduce memory? I am worried about having to use a counter. And does the RTC component consume a lot of memory? Can variables be used in RTC components?
I'll wait for your help.
Thank you.
PIC12F1840 with DS1307
Moderator: Benj
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: PIC12F1840 with DS1307
Hi seokgi,
The message is saying that flowchart has compiled OK but has an issue with programming target device.
So the hex file is being generated, just not transferred to chip.
My advice would be to use IPE.
If you have not got it then download MPLAB X installer then during install you can select to install only IPE if required.
IPE is the PICkit 3 programming software. If you want PICkit 3 to power target device, then you can enable that from the advance menu.
Also I have noticed that you have watchdog timer enabled.
Try disabling it and then see if all works.
As MCLR is enabled, is pin 4 pulled to supply voltage ?
Martin
The message is saying that flowchart has compiled OK but has an issue with programming target device.
So the hex file is being generated, just not transferred to chip.
My advice would be to use IPE.
If you have not got it then download MPLAB X installer then during install you can select to install only IPE if required.
IPE is the PICkit 3 programming software. If you want PICkit 3 to power target device, then you can enable that from the advance menu.
Also I have noticed that you have watchdog timer enabled.
Try disabling it and then see if all works.
As MCLR is enabled, is pin 4 pulled to supply voltage ?
Martin
Martin
-
- Posts: 164
- Joined: Fri Jan 13, 2012 4:21 am
- Location: South KOREA
- Has thanked: 18 times
- Been thanked: 16 times
- Contact:
Re: PIC12F1840 with DS1307
Congratulations!! on the release of flowcode v8. I look forward to it.
I did not find any problems in the above program so I found a problem with the circuit part. The output of the NE555 was connected to the PGD, causing an oscillation. I removed that part and the download issue was resolved. And the PIC12F1840's memory is small and the program is a problem. The RTC component consumes too much memory. Give me a solution.
Thank you.
I did not find any problems in the above program so I found a problem with the circuit part. The output of the NE555 was connected to the PGD, causing an oscillation. I removed that part and the download issue was resolved. And the PIC12F1840's memory is small and the program is a problem. The RTC component consumes too much memory. Give me a solution.
Thank you.
-
- Posts: 164
- Joined: Fri Jan 13, 2012 4:21 am
- Location: South KOREA
- Has thanked: 18 times
- Been thanked: 16 times
- Contact:
Re: PIC12F1840 with DS1307
I used the set feature of the RTC component because it was difficult to convert decimal numbers to hexadecimal. However, the value of the month is not increased. Other functions work normally. And the RTC component function consumes a lot of memory.
Please help me.
Please help me.
- Attachments
-
- DS1307_2.fcfx
- (27.07 KiB) Downloaded 190 times