Author |
Message |
Topic: Pic18F87J94 bootloader. Downloaded firmware doesn't work. |
isgoy
Replies: 28
Views: 55170
|
Forum: General CCS C Discussion Posted: Wed Jul 25, 2018 3:04 am Subject: Pic18F87J94 bootloader. Downloaded firmware doesn't work. |
Thank you Ttlemah.
It doesn't work.
I have to do another test like temtronic says and with your suggestion.
I will say you my conclusions. |
Topic: Pic18F87J94 bootloader. Downloaded firmware doesn't work. |
isgoy
Replies: 28
Views: 55170
|
Forum: General CCS C Discussion Posted: Mon Jul 23, 2018 1:12 am Subject: Pic18F87J94 bootloader. Downloaded firmware doesn't work. |
I have tried with another pic and it also fails.
It is strange because original whole code uses variables in a lot of blocks of RAM and it doesn't fail |
Topic: Pic18F87J94 bootloader. Downloaded firmware doesn't work. |
isgoy
Replies: 28
Views: 55170
|
Forum: General CCS C Discussion Posted: Fri Jul 20, 2018 1:47 am Subject: Pic18F87J94 bootloader. Downloaded firmware doesn't work. |
It also fails with array of 128. |
Topic: Pic18F87J94 bootloader. Downloaded firmware doesn't work. |
isgoy
Replies: 28
Views: 55170
|
Forum: General CCS C Discussion Posted: Thu Jul 19, 2018 12:29 am Subject: Pic18F87J94 bootloader. Downloaded firmware doesn't work. |
I am talking with CCS. We have analyzed generated LST files and it seems that all is correct.
I have done some test and it fails when the variables are in another bank of RAM different to 0. It seem ... |
Topic: Pic18F87J94 bootloader. Downloaded firmware doesn't work. |
isgoy
Replies: 28
Views: 55170
|
Forum: General CCS C Discussion Posted: Fri Jul 13, 2018 3:38 pm Subject: Pic18F87J94 bootloader. Downloaded firmware doesn't work. |
Originally I used structures of 8 bits declared in a library to some flags in the code. To reduce them and to don't use this libraries, I have declared this "unsigned int1" variables.
I do ... |
Topic: Pic18F87J94 bootloader. Downloaded firmware doesn't work. |
isgoy
Replies: 28
Views: 55170
|
Forum: General CCS C Discussion Posted: Fri Jul 13, 2018 7:08 am Subject: Pic18F87J94 bootloader. Downloaded firmware doesn't work. |
Hello
I have reduced the firmware because it seems that it is a problem with ram variables. I have reduced it to have a minimum firmware where it fails. I have realised that if I declare some array ... |
Topic: Pic18F87J94 bootloader. Downloaded firmware doesn't work. |
isgoy
Replies: 28
Views: 55170
|
Forum: General CCS C Discussion Posted: Wed Jul 11, 2018 3:13 am Subject: Pic18F87J94 bootloader. Downloaded firmware doesn't work. |
Hello
I have put a function like I use in reading ports library and it runs ok, with all of them. I have realised that if I declare the counters used in this library as global it works but if they ... |
Topic: Pic18F87J94 bootloader. Downloaded firmware doesn't work. |
isgoy
Replies: 28
Views: 55170
|
Forum: General CCS C Discussion Posted: Tue Jul 10, 2018 9:41 am Subject: Pic18F87J94 bootloader. Downloaded firmware doesn't work. |
Yes. This is what I have done.
I have left one timer interrupt and it actives a flag every one second to increment a counter. With this counter I switch on some leds sequentially. Also I active a 7-s ... |
Topic: Pic18F87J94 bootloader. Downloaded firmware doesn't work. |
isgoy
Replies: 28
Views: 55170
|
Forum: General CCS C Discussion Posted: Tue Jul 10, 2018 7:07 am Subject: Pic18F87J94 bootloader. Downloaded firmware doesn't work. |
Hello
Thank you very much for your time and suggestions
I have tried all of them without good results (standard_io, fast_io, fixed_io, fuses, pull-up values...)
In bootloader now I don't conf ... |
Topic: Pic18F87J94 bootloader. Downloaded firmware doesn't work. |
isgoy
Replies: 28
Views: 55170
|
Forum: General CCS C Discussion Posted: Mon Jul 09, 2018 6:59 am Subject: Pic18F87J94 bootloader. Downloaded firmware doesn't work. |
If I download the firmware without bootloader in the pic it runs ok with all the original fuses.
I tried to disable
#use fast_io(ALL)
and in this case it also runs ok
Then I make the bootloader ... |
Topic: Pic18F87J94 bootloader. Downloaded firmware doesn't work. |
isgoy
Replies: 28
Views: 55170
|
Forum: General CCS C Discussion Posted: Mon Jul 09, 2018 1:42 am Subject: Pic18F87J94 bootloader. Downloaded firmware doesn't work. |
Hello
I have tried your solution. It was actived IOL1WAY fuse. I have desactived but I have still the problem.
In mains program fuses I have put
#include <18F87J94.h>
#device ADC=10
# ... |
Topic: Pic18F87J94 bootloader. Downloaded firmware doesn't work. |
isgoy
Replies: 28
Views: 55170
|
Forum: General CCS C Discussion Posted: Fri Jul 06, 2018 7:29 am Subject: Pic18F87J94 bootloader. Downloaded firmware doesn't work. |
Hello
I have a firmware that works with a Pic18F87j94 and compiler version 5.025.
I am trying to put a bootloader and I use the CCS usb bootloader example.
I have modified the example putting my ... |
Topic: glcd_bar correct function |
isgoy
Replies: 0
Views: 23484
|
Forum: Code Library Posted: Thu Mar 29, 2012 4:22 am Subject: glcd_bar correct function |
I have found a bug in the "glcd_bar" function. For some angles it doesn't work well. This code runs correctly.
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ... |
|