Search found 139 matches
- Sat May 18, 2013 11:50 pm
- Forum: Flowcode V5
- Topic: dsPIC30F5013 Switch ReadState Bug
- Replies: 2
- Views: 2611
Re: dsPIC30F5013 Switch ReadState Bug
Thanks Jac!
- Thu May 16, 2013 4:25 pm
- Forum: Flowcode V5
- Topic: dsPIC30F5013 Switch ReadState Bug
- Replies: 2
- Views: 2611
dsPIC30F5013 Switch ReadState Bug
Hi guys, Using Flowcode dsPIC 5.5.2.1. Simples I get the following when compiling my little project (SWICTH0 on PORTG_H_0 and LED0 on PORTB_H_1), anmd the program doesn't run on hardware. test.c: In function 'FCD_SWITCH0_WaitUntilHigh': test.c:304: warning: comparison is always true due to limited r...
- Wed May 08, 2013 11:30 am
- Forum: Flowcode V5
- Topic: dsPIC33EP512GP806 Timer issues - Only TMR1 working
- Replies: 5
- Views: 3526
Re: dsPIC33EP512GP806 Timer issues - Only TMR1 working
OK, all timers are working now, I've uncommented all of them and used internal clock for all my timers (double checked), so all fine! You can close this one and you should also review include files for other CPUs as I have seen the same on other files... I'm running Flowcode 5.5.2.1 Hope this helps ...
- Wed May 08, 2013 11:26 am
- Forum: Flowcode V5
- Topic: dsPIC33EP512GP806 Timer issues - Only TMR1 working
- Replies: 5
- Views: 3526
Re: dsPIC33EP512GP806 Timer issues - Only TMR1 working
Thanks Ben,
Yes I had them as internal clock, but the program would just freeze on hardware, that's when I found the commented code![Smile :-)](./images/smilies/icon_smile.gif)
Cheers!
R
Yes I had them as internal clock, but the program would just freeze on hardware, that's when I found the commented code
![Smile :-)](./images/smilies/icon_smile.gif)
Cheers!
R
- Wed May 08, 2013 11:18 am
- Forum: Flowcode V5
- Topic: dsPIC33EP512GP806 Timer issues - Only TMR1 working
- Replies: 5
- Views: 3526
Re: dsPIC33EP512GP806 Timer issues - Only TMR1 working
OK, I have found something weird, some code is commented out of C:\Program Files (x86)\Flowcode(dsPIC)\v5\Tools\C_tools\support\dsPIC33E\inc\p33EP512GP806.inc. Example: ;----- T3CON Bits ----------------------------------------------------- ;.equiv TCS, 0x0001 ;.equiv TGATE, 0x0006 ;.equiv TSIDL, 0x...
- Wed May 08, 2013 10:45 am
- Forum: Flowcode V5
- Topic: dsPIC33EP512GP806 Timer issues - Only TMR1 working
- Replies: 5
- Views: 3526
Re: dsPIC33EP512GP806 Timer issues - Only TMR1 working
From the Data Sheet for this dsPIC "The Timer1 module is a 16-bit timer, which can serve as the time counter for the real-time clock, or operate as a free-running interval timer/counter." "The Timer2/3, Timer4/5, Timer6/7 and Timer8/9 modules are 32-bit timers, which can also be configured as four i...
- Wed May 08, 2013 8:49 am
- Forum: Flowcode V5
- Topic: dsPIC33EP512GP806 Timer issues - Only TMR1 working
- Replies: 5
- Views: 3526
dsPIC33EP512GP806 Timer issues - Only TMR1 working
Hi guys, I have an issue with Flowcode dsPIC (5.5.2.1), seems as the main timer interrupt TMR1 works well, I've got it counting at one speed rate (about 1 per second). However when I add a second timer TMR2/3/4/5 or any other timer available for this dsPIC, it just doesn't work at all. I'm talking a...
- Fri May 03, 2013 1:02 pm
- Forum: Flowcode V5
- Topic: Can't make dsPIC33EP512GP806 to work at all - HELP!
- Replies: 6
- Views: 3596
Re: Can't make dsPIC33EP512GP806 to work at all - HELP!
By the way, how I found out the micro was working fine was by downloading the dsPIC33E Demo for Explorer 16 code from Microchip's website, changed the device in MPLAB IDE and flashed the micro and I got ~3.7MHz clock output off OSC2, so I then realized that the micro was working fine at physical lev...
- Fri May 03, 2013 1:00 pm
- Forum: Flowcode V5
- Topic: Can't make dsPIC33EP512GP806 to work at all - HELP!
- Replies: 6
- Views: 3596
Re: Can't make dsPIC33EP512GP806 to work at all - FIXED!!!!
OK guys, it's working now!!!! First to thank Jac for his amazing help with my MCLR pin (stupid one, this one was yesterday = got fixed). But then again today he gave a great clue: go into MPLAB X and instead of programming the micro only, make it run in Debug mode (PICKit3 seems to support this in M...
- Fri May 03, 2013 7:39 am
- Forum: Flowcode V5
- Topic: Can't make dsPIC33EP512GP806 to work at all - HELP!
- Replies: 6
- Views: 3596
Re: Can't make dsPIC33EP512GP806 to work at all - HELP!
Thanks Jac,
Still no luck I'm afraid, micro doesn't react.
I am going to load the micro with a sample code if I can find one at the Microchip website to see if it starts at all.
Next level will have to be start looking into more detail the C/Asm code that Flowcode is producing...
Thanks,
Ronald
Still no luck I'm afraid, micro doesn't react.
I am going to load the micro with a sample code if I can find one at the Microchip website to see if it starts at all.
Next level will have to be start looking into more detail the C/Asm code that Flowcode is producing...
Thanks,
Ronald
- Thu May 02, 2013 7:41 pm
- Forum: Flowcode V5
- Topic: Can't make dsPIC33EP512GP806 to work at all - HELP!
- Replies: 6
- Views: 3596
Re: Can't make dsPIC33EP512GP806 to work at all - HELP!
Thanks Jac for your tips.
Still no luck I'm afraid.
I can however see that if I use internal oscillator with PLL, power consumption jumps up (from 16mA to 26mA) right after the device if finished programming...
Ronald
Still no luck I'm afraid.
I can however see that if I use internal oscillator with PLL, power consumption jumps up (from 16mA to 26mA) right after the device if finished programming...
Ronald
- Thu May 02, 2013 6:04 pm
- Forum: Flowcode V5
- Topic: Can't make dsPIC33EP512GP806 to work at all - HELP!
- Replies: 6
- Views: 3596
Can't make dsPIC33EP512GP806 to work at all - HELP!
Hi Ben et al, I have tried everything and I'm a bit desperate now... Flowcode 5.5.2.1 Professional. I have a simple circuit: dsPIC33EP512GP806 (have tried on different boards as well), nothing connected to it, very clean 3.3V (10uV ripple), no external XTAL, and for testing I'm using the internal Fa...
- Thu Feb 07, 2013 7:20 am
- Forum: Flowcode V5
- Topic: dsPIC33 - RS232 Module + Peripherial Pin Select
- Replies: 2
- Views: 2282
Re: dsPIC33 - RS232 Module + Peripherial Pin Select
Thanks Jac,
This is of great help.
Ronald
This is of great help.
Ronald
- Wed Feb 06, 2013 10:26 pm
- Forum: Flowcode V5
- Topic: dsPIC33 - RS232 Module + Peripherial Pin Select
- Replies: 2
- Views: 2282
dsPIC33 - RS232 Module + Peripherial Pin Select
Hello all, I am using Flowcode 5 to program mostly dsPIC devices (30 and 33 series) and I'm trying to use the the RS232 module to make 2 of these communicate between each other in the simplest of ways. The dsPIC I'm using is a dsPIC33EP512GP806 with a great feature called Peripheral Pin Select which...