Author |
Message |
Topic: Strange behavior of the CCS USB bootloader |
tonkostz
Replies: 0
Views: 3525
|
Forum: General CCS C Discussion Posted: Sat Apr 19, 2014 5:11 am Subject: Strange behavior of the CCS USB bootloader |
I am using the ccs usb bootloader (without changes) to upload my application but here is what happens when i do it:
I have a led connected to pin C7 which never lights when uploading the program thro ... |
Topic: Pwm and frequency generator |
tonkostz
Replies: 4
Views: 8479
|
Forum: General CCS C Discussion Posted: Fri Mar 28, 2014 8:43 am Subject: Pwm and frequency generator |
I am trying to make a variable duty and variable frequency generator.
I use two pots connected to AN0 and AN1 adc channels.
Duty cycle should vary from 1% to 99% and the frequency - from 400Hz to a ... |
Topic: PIC18F4431 ccs bootloader problem (ex_bootloader.c) |
tonkostz
Replies: 10
Views: 14397
|
Forum: General CCS C Discussion Posted: Fri Mar 07, 2014 9:03 am Subject: PIC18F4431 ccs bootloader problem (ex_bootloader.c) |
Is anyone tested the ccs bootloader on the 2331/2431/4331/4431 family mcu's?
I tried everything i could think of but after the upload the program is not working. |
Topic: PIC18F4431 ccs bootloader problem (ex_bootloader.c) |
tonkostz
Replies: 10
Views: 14397
|
Forum: General CCS C Discussion Posted: Thu Mar 06, 2014 1:08 am Subject: PIC18F4431 ccs bootloader problem (ex_bootloader.c) |
I added the NOPWMPIN fuse and errors option in rs232.
I loaded the above program (with Tera Term) for blinking LED and after the transfer LED is not blinking, it is constantly in on state. I think t ... |
Topic: PIC18F4431 ccs bootloader problem (ex_bootloader.c) |
tonkostz
Replies: 10
Views: 14397
|
Forum: General CCS C Discussion Posted: Wed Mar 05, 2014 1:13 pm Subject: PIC18F4431 ccs bootloader problem (ex_bootloader.c) |
I tried to add errors to the rs 232 options but then this warning appears.
>>> Warning 202 "ex_bootloader.c" Line 36(5,8): Variable never used: rs232_errors
Do i have to do som ... |
Topic: Store number in rom and than read it. |
tonkostz
Replies: 2
Views: 5865
|
Forum: General CCS C Discussion Posted: Wed Mar 05, 2014 4:18 am Subject: Store number in rom and than read it. |
Thanks Ttelmah! |
Topic: PIC18F4431 ccs bootloader problem (ex_bootloader.c) |
tonkostz
Replies: 10
Views: 14397
|
Forum: General CCS C Discussion Posted: Wed Mar 05, 2014 4:18 am Subject: PIC18F4431 ccs bootloader problem (ex_bootloader.c) |
Thank you Ttelmah.
1. My fuses are exactly the same in the bootloader and in my application.
2. I have not tried the RS232 operation yet.
3. I think the bootloader pin is working correctly.
4. I ... |
Topic: PIC18F4431 ccs bootloader problem (ex_bootloader.c) |
tonkostz
Replies: 10
Views: 14397
|
Forum: General CCS C Discussion Posted: Wed Mar 05, 2014 2:56 am Subject: PIC18F4431 ccs bootloader problem (ex_bootloader.c) |
I tried the ccs example bootloader.c without changes except for the the device and fuses my application still don't work. |
Topic: Store number in rom and than read it. |
tonkostz
Replies: 2
Views: 5865
|
Forum: General CCS C Discussion Posted: Wed Mar 05, 2014 2:31 am Subject: Store number in rom and than read it. |
I use
#rom #ROM 0x3FF0={1234} to store 04D2 to rom address 0x3FF0.
Hot to read 0x3FF0 address and if number is the same to perform some operation? |
Topic: PIC18F4431 ccs bootloader problem (ex_bootloader.c) |
tonkostz
Replies: 10
Views: 14397
|
Forum: General CCS C Discussion Posted: Wed Mar 05, 2014 1:34 am Subject: PIC18F4431 ccs bootloader problem (ex_bootloader.c) |
I am trying to make this bootloader work for this MCU with no success at all.
I use FT232RL chip and Tera Term program to transfer a small test program but it never works. I read PCM programmer post ... |
Topic: How to blink text without using delay_ms() function? |
tonkostz
Replies: 2
Views: 4055
|
Forum: General CCS C Discussion Posted: Thu Jun 13, 2013 1:27 am Subject: How to blink text without using delay_ms() function? |
Thank you very much! It works! |
Topic: How to blink text without using delay_ms() function? |
tonkostz
Replies: 2
Views: 4055
|
Forum: General CCS C Discussion Posted: Thu Jun 13, 2013 1:05 am Subject: How to blink text without using delay_ms() function? |
I want to blink a whole text line on the lcd but without using the delay_ms() function?
I mean that this variant is not good for me:
lcd_gotoxy(1,1);
printf(lcd_putc," Bli ... |
Topic: Question about 3 PWM signals and interrupts |
tonkostz
Replies: 11
Views: 9989
|
Forum: General CCS C Discussion Posted: Tue Feb 12, 2013 11:46 am Subject: Question about 3 PWM signals and interrupts |
Common Rail electromagnetic injectors. |
Topic: Question about 3 PWM signals and interrupts |
tonkostz
Replies: 11
Views: 9989
|
Forum: General CCS C Discussion Posted: Sun Feb 10, 2013 12:09 pm Subject: Question about 3 PWM signals and interrupts |
Variable frequency from 7Hz to 38Hz and variable pulse width from 150uS to 2mS. Here is a picture.
http://media.snimka.bg/s1/1711/029665959.jpg |
Topic: Question about 3 PWM signals and interrupts |
tonkostz
Replies: 11
Views: 9989
|
Forum: General CCS C Discussion Posted: Sun Feb 10, 2013 10:23 am Subject: Question about 3 PWM signals and interrupts |
The waveform shows only the pulse width of the three pwm signals without the pause between them. PWM_2+PWM_3=PWM_1.
PWM_2 and PWM_3 are inverse of each other but not with same pulse width. PWM_2 is f ... |
|