Author |
Message |
Topic: float ??? |
benedictkim
Replies: 3
Views: 10622
|
Forum: General CCS C Discussion Posted: Fri Feb 21, 2020 8:09 am Subject: float ??? |
Hi all.
Version IDE/PCB/PCM/PCH/PDC - 5.016.
MCU - dsPIC30F6014A
float curr_volt;
float cal_r_value;
float val = 0;
uint8_t ret_temper;
val = (float)adc_value;
fprint ... |
Topic: [dsPIC30F6014]Bootloader + No interrupt in Application FW |
benedictkim
Replies: 8
Views: 16504
|
Forum: General CCS C Discussion Posted: Tue Nov 19, 2019 2:05 am Subject: [dsPIC30F6014]Bootloader + No interrupt in Application FW |
The first time you download the application FW from the boot loader, the application FW does not work. If interrupted by communication, the application FW is saved or if waiting for 30 seconds, it reb ... |
Topic: [dsPIC30F6014]Bootloader + No interrupt in Application FW |
benedictkim
Replies: 8
Views: 16504
|
Forum: General CCS C Discussion Posted: Mon Nov 18, 2019 11:36 pm Subject: [dsPIC30F6014]Bootloader + No interrupt in Application FW |
In general, interrupts are not used by the boot loader, so the structure is changed to polling method. Interrupted in the application program.
Can't I use the timeout function that supports #use rs ... |
Topic: [dsPIC30F6014]Bootloader + No interrupt in Application FW |
benedictkim
Replies: 8
Views: 16504
|
Forum: General CCS C Discussion Posted: Mon Nov 18, 2019 7:26 pm Subject: [dsPIC30F6014]Bootloader + No interrupt in Application FW |
Ttelmah, thank you
I searched for "ccs boot loader re vertoring" on Google and normally I shouldn't use interrupts in the bootloader, but it seemed to work.
And
#int_global
void isr ... |
Topic: [dsPIC30F6014]Bootloader + No interrupt in Application FW |
benedictkim
Replies: 8
Views: 16504
|
Forum: General CCS C Discussion Posted: Mon Nov 18, 2019 6:37 am Subject: [dsPIC30F6014]Bootloader + No interrupt in Application FW |
2) Posting the hex code is a waste of time as nobody can easily reverse
engineer it into CCS C code.
Sorry. The hex code is posted for reference in case 1 and case 3.
We are using a boot loa ... |
Topic: [dsPIC30F6014]Bootloader + No interrupt in Application FW |
benedictkim
Replies: 8
Views: 16504
|
Forum: General CCS C Discussion Posted: Mon Nov 18, 2019 4:29 am Subject: [dsPIC30F6014]Bootloader + No interrupt in Application FW |
Dear all, I created a boot loader and application FW.
All application FWs have been downloaded in the bootloader state.
After rebooting, it will be changed to application FW. The basic behavior in t ... |
Topic: dsPIC30F6014A PCD Bootloader OK and App FW with No Interrupt |
benedictkim
Replies: 3
Views: 9938
|
Forum: General CCS C Discussion Posted: Thu Nov 14, 2019 11:24 pm Subject: dsPIC30F6014A PCD Bootloader OK and App FW with No Interrupt |
Interrupts were resolved by changing the order in the source phase.
Thank you. |
Topic: dsPIC30F6014A PCD Bootloader OK and App FW with No Interrupt |
benedictkim
Replies: 3
Views: 9938
|
Forum: General CCS C Discussion Posted: Thu Nov 14, 2019 6:50 pm Subject: dsPIC30F6014A PCD Bootloader OK and App FW with No Interrupt |
Below is the bootloader code.
The boot loader is very complicated.
However, the download is normal and the default operation is not abnormal except for interrupt.
Please treat me well.
Thank you.
... |
Topic: FingerPrint Transferring 4 bit |
benedictkim
Replies: 9
Views: 16663
|
Forum: General CCS C Discussion Posted: Thu Nov 14, 2019 2:02 am Subject: Re: FingerPrint Transferring 4 bit |
1pixel = 1bit
ImageBuffer size = 256(Horizontal)*288(Vertical) = 73,228
2^4 = 16
8bit BMP format = 2^8 = 256 |
Topic: dsPIC30F6014A PCD Bootloader OK and App FW with No Interrupt |
benedictkim
Replies: 3
Views: 9938
|
Forum: General CCS C Discussion Posted: Thu Nov 14, 2019 1:52 am Subject: dsPIC30F6014A PCD Bootloader OK and App FW with No Interrupt |
I uploaded the boot loader FW and downloaded a simple application as shown below.
The result is that the normal functioning works fine, but the timer and RS232 receive interrupts do not.
Why not d ... |
|