Author |
Message |
Topic: Automatic bootloader |
FabioPIC
Replies: 4
Views: 5897
|
Forum: General CCS C Discussion Posted: Sun Jun 03, 2007 11:46 pm Subject: Automatic bootloader |
Thanks a lot! |
Topic: Automatic bootloader |
FabioPIC
Replies: 4
Views: 5897
|
Forum: General CCS C Discussion Posted: Sat Jun 02, 2007 2:54 am Subject: Automatic bootloader |
Unfortunately I'm working with a 18F1220 ... |
Topic: Automatic bootloader |
FabioPIC
Replies: 4
Views: 5897
|
Forum: General CCS C Discussion Posted: Fri Jun 01, 2007 6:17 am Subject: Automatic bootloader |
Looking for a bootloader, I found that available as example.
I' looking for a bootloader/downloader that don't require to press a switch at reset/power-up time, but the bootloader checks itself at st ... |
Topic: Strange program behavior |
FabioPIC
Replies: 6
Views: 7014
|
Forum: General CCS C Discussion Posted: Tue Apr 17, 2007 1:34 am Subject: Strange program behavior |
Back with news.
After timer0 interrupt disabling, the program works perfectly for
about 40 minutes, then one motor stops immediately when the other
motor start, but if I start the motor when the ... |
Topic: Strange program behavior |
FabioPIC
Replies: 6
Views: 7014
|
Forum: General CCS C Discussion Posted: Fri Apr 13, 2007 2:40 am Subject: Strange program behavior |
XINST??
#fuses H4,NOOSCSEN,BROWNOUT,BORV45,PUT,NOWDT,
NOLVP,PROTECT,CPD,STVREN,WRT,WRTB,NODEBUG,NOWRTD,WRTC, CPB |
Topic: Strange program behavior |
FabioPIC
Replies: 6
Views: 7014
|
Forum: General CCS C Discussion Posted: Fri Apr 13, 2007 2:12 am Subject: Strange program behavior |
I developed a program on a 18F458 which shows strange and random problems.
While executing the same loop, the problems can arrive after seconds or after hours.
After a long investigation, this is a ... |
Topic: write_eeprom and interrupts |
FabioPIC
Replies: 11
Views: 28742
|
Forum: General CCS C Discussion Posted: Fri Feb 06, 2004 12:27 pm Subject: write_eeprom and interrupts |
Hi Aart,
in your first reply you said you had a problem similar
to mine, and you solved it writing your own write_eeprom
code. The difference I can see between your code and the CCS's
one is the ... |
Topic: write_eeprom and interrupts |
FabioPIC
Replies: 11
Views: 28742
|
Forum: General CCS C Discussion Posted: Tue Jan 27, 2004 1:09 pm Subject: write_eeprom and interrupts |
Hi Gerrit, and thanks for your explaination.
If what you say is correct, what Microchip suggest on the
data sheet about the write eeprom is wrong: they cannot
assure no interrupts will come durin ... |
Topic: write_eeprom and interrupts |
FabioPIC
Replies: 11
Views: 28742
|
Forum: General CCS C Discussion Posted: Tue Jan 27, 2004 10:20 am Subject: write_eeprom and interrupts |
OK Aart, so both we had the same problem and both found
the same solution (the CCS disable_interrupts(global)).
Still open my previous question about the loop necessity
to clear the GIE bit: wher ... |
Topic: write_eeprom and interrupts |
FabioPIC
Replies: 11
Views: 28742
|
Forum: General CCS C Discussion Posted: Tue Jan 27, 2004 2:33 am Subject: write_eeprom and interrupts |
So, the question is: is the simple BCF FF2.7 "enough" or
we need instead
03E4: BCF FF2.7
03E6: BTFSC FF2.7
03E8: GOTO 03E4
?
If the simple bit clear is enough, why CCS implemented the ... |
Topic: write_eeprom and interrupts |
FabioPIC
Replies: 11
Views: 28742
|
Forum: General CCS C Discussion Posted: Mon Jan 26, 2004 9:16 am Subject: write_eeprom and interrupts |
It could be, but in that case why Microchip suggests such a
way for eeprom writing (the same implemented by CCS)?
---
[/img] |
|