Author |
Message |
Topic: How to Stop Auto-Expand of Tabs on New Project Open |
canero
Replies: 2
Views: 9741
|
Forum: General CCS C Discussion Posted: Tue Dec 11, 2018 3:39 am Subject: How to Stop Auto-Expand of Tabs on New Project Open |
Hello,
I have a rather strange question about IDE options. I have this auto expand option Unticked in Editor options. But when I reopen a project, all the tabs open expanded all the time. So i kee ... |
Topic: Synchronising 2 dsPICs (or multiple PICs) |
canero
Replies: 11
Views: 21244
|
Forum: General CCS C Discussion Posted: Wed Oct 03, 2018 2:25 pm Subject: Synchronising 2 dsPICs (or multiple PICs) |
Hello again.
I successfully made the synch with IO as Thelmah suggested. Thanks a lot. The difference is noticable in a slow motion cam.
Now I am trying to make 3 PIC synchronization since I wi ... |
Topic: Synchronising 2 dsPICs (or multiple PICs) |
canero
Replies: 11
Views: 21244
|
Forum: General CCS C Discussion Posted: Wed Oct 03, 2018 8:46 am Subject: Synchronising 2 dsPICs (or multiple PICs) |
OK got your point Thelmah but this only solves the problem "starting the operation at the same time".
How do you continue to be in sync mode after that until the end of operation, that was ... |
Topic: Synchronising 2 dsPICs (or multiple PICs) |
canero
Replies: 11
Views: 21244
|
Forum: General CCS C Discussion Posted: Wed Oct 03, 2018 5:24 am Subject: Synchronising 2 dsPICs (or multiple PICs) |
Hello;
Thank you for your quick responses. My 2 dsPICs have PID loops in cascade, both controlling speed and position in closed loop. The motors are small dc motors with optical encoders.
Ttel ... |
Topic: Synchronising 2 dsPICs (or multiple PICs) |
canero
Replies: 11
Views: 21244
|
Forum: General CCS C Discussion Posted: Wed Oct 03, 2018 12:42 am Subject: Synchronising 2 dsPICs (or multiple PICs) |
Hello;
I have a test bench concerning 2 dc motors. I need to run these motors in sync since they need to lift some weight from 2 opposite ends. In order to move them in sync, I suspect that the PIC ... |
Topic: dsPic30F4011 Interrupts Stop after Bootload |
canero
Replies: 18
Views: 34655
|
Forum: General CCS C Discussion Posted: Sat Apr 28, 2018 2:59 am Subject: dsPic30F4011 Interrupts Stop after Bootload |
Hello;
I have worked on this matter a little more. First I changed the Loader Size to 4FF and thought it was working but i was wrong, its still the same.
I took the symbol map of the bootloader p ... |
Topic: dsPic30F4011 Interrupts Stop after Bootload |
canero
Replies: 18
Views: 34655
|
Forum: General CCS C Discussion Posted: Thu Apr 26, 2018 3:19 pm Subject: dsPic30F4011 Interrupts Stop after Bootload |
OK.
A basic test with your compiler, shows where the fault is.
The application code must always start on a page boundary, and the code in the bootloader needs to fit in the space allocated for it. ... |
Topic: dsPic30F4011 Interrupts Stop after Bootload |
canero
Replies: 18
Views: 34655
|
Forum: General CCS C Discussion Posted: Wed Apr 25, 2018 2:15 pm Subject: dsPic30F4011 Interrupts Stop after Bootload |
OK.
Your last comment is interesting. Think about it. Interrupts imply a hardware 'call' to a specific memory address. If there is no code at this address this will almost certainly completely cras ... |
Topic: dsPic30F4011 Interrupts Stop after Bootload |
canero
Replies: 18
Views: 34655
|
Forum: General CCS C Discussion Posted: Mon Apr 23, 2018 1:10 am Subject: dsPic30F4011 Interrupts Stop after Bootload |
since this PIC is the slave, how do you know the Master is sending ? Does a scope confirm data IS being sent to the Slave ??
Yes I am sure. I did 2 tests. First I checked with oscilloscope if I am ... |
Topic: dsPic30F4011 Interrupts Stop after Bootload |
canero
Replies: 18
Views: 34655
|
Forum: General CCS C Discussion Posted: Sun Apr 22, 2018 2:00 pm Subject: dsPic30F4011 Interrupts Stop after Bootload |
#BUILD STACK=0x200
That should be large enough for most normal use.
Hello.
I tried your suggestions, the RAM use increased to 26% but its still the same. The code normally runs but interrupts ... |
Topic: dsPic30F4011 Interrupts Stop after Bootload |
canero
Replies: 18
Views: 34655
|
Forum: General CCS C Discussion Posted: Sun Apr 22, 2018 1:20 pm Subject: dsPic30F4011 Interrupts Stop after Bootload |
OK, so that's not it....
next idea...
Maybe you need to increase the 'stack' size ? I recall some of these 'high powered' PICs need you to increase the size of the stack. The more complicated the co ... |
Topic: dsPic30F4011 Interrupts Stop after Bootload |
canero
Replies: 18
Views: 34655
|
Forum: General CCS C Discussion Posted: Sun Apr 22, 2018 5:12 am Subject: dsPic30F4011 Interrupts Stop after Bootload |
OK I don't use that PIC but just quickly looking at your code..
...this doesn't look 'correct'.
#INT_SI2C
//!#int_ssp
You commented out the official CCS PreProcessor directive name and rep ... |
Topic: dsPic30F4011 Interrupts Stop after Bootload |
canero
Replies: 18
Views: 34655
|
Forum: General CCS C Discussion Posted: Sun Apr 22, 2018 2:54 am Subject: dsPic30F4011 Interrupts Stop after Bootload |
Hello.
I have a strange behaviour with dsPIC30f4011. I loaded the CCS supplied serial pcd-bootload code through PICKit2. After that, I downloaded my application through serial port with pcd_bootlo ... |
|