Author |
Message |
Topic: bootloader 18F45J10 |
fernandokestering
Replies: 15
Views: 29759
|
Forum: General CCS C Discussion Posted: Fri Sep 28, 2018 5:14 am Subject: bootloader 18F45J10 |
Thanks! |
Topic: bootloader 18F45J10 |
fernandokestering
Replies: 15
Views: 29759
|
Forum: General CCS C Discussion Posted: Thu Sep 27, 2018 4:04 pm Subject: bootloader 18F45J10 |
Ttelmah
Solved problem!!!!!
Thanks, |
Topic: bootloader 18F45J10 |
fernandokestering
Replies: 15
Views: 29759
|
Forum: General CCS C Discussion Posted: Thu Sep 27, 2018 12:57 pm Subject: bootloader 18F45J10 |
Yes, I am using interrupts in the application,
Follow bootloader code
#if defined (__ PCM__)
#include <16F887.h>
#fuses NOWDT
#use delay (crystal = 20MHz)
#use rs232 ( ... |
Topic: bootloader 18F45J10 |
fernandokestering
Replies: 15
Views: 29759
|
Forum: General CCS C Discussion Posted: Thu Sep 27, 2018 12:43 pm Subject: bootloader 18F45J10 |
Aplication code
#define _bootloader
#define LOADER_SIZE (0x0FFF)
#define LOADER_START (0)
#define LOADER_END (LOADER_SIZE)
#define APPLICATION_START (LOADER_SIZE+ ... |
Topic: bootloader 18F45J10 |
fernandokestering
Replies: 15
Views: 29759
|
Forum: General CCS C Discussion Posted: Thu Sep 27, 2018 12:18 pm Subject: bootloader 18F45J10 |
Yes, the looder_size is 0XFFF
I made the comparison of the files, the only different one for the original file for the read of the program mamypium, in addition to the bootloader area, is in the ware ... |
Topic: bootloader 18F45J10 |
fernandokestering
Replies: 15
Views: 29759
|
Forum: General CCS C Discussion Posted: Thu Sep 27, 2018 10:48 am Subject: bootloader 18F45J10 |
Achieve downlaod of the program using the HC-05.
I confirmed by reading the program memory
The program starts to be written at position 0x1000, but after restarting and trying to make the firware ex ... |
Topic: bootloader 18F45J10 |
fernandokestering
Replies: 15
Views: 29759
|
Forum: General CCS C Discussion Posted: Wed Sep 26, 2018 10:39 am Subject: bootloader 18F45J10 |
Yes, it's working perfect for uart. I just forgot to mention it, but I'm trying to upgrade using the HC-05 (bluetooth) module.
As soon as I want to update the uC, I send a command and write in an ext ... |
Topic: bootloader 18F45J10 |
fernandokestering
Replies: 15
Views: 29759
|
Forum: General CCS C Discussion Posted: Tue Sep 25, 2018 12:08 pm Subject: bootloader 18F45J10 |
I'm using the 18F45J10 uc, and trying to make the ex_bootloader.c example work with it, however I'm not succeeding.
I already configured the clock speed, apparently everything is correct, but I can n ... |
Topic: bootloader 18F45J10 |
fernandokestering
Replies: 15
Views: 29759
|
Forum: General CCS C Discussion Posted: Sun Sep 23, 2018 6:17 pm Subject: bootloader 18F45J10 |
I am trying to use the bootloader example "ex_bootloader.c" provided with the ccs compiler to load programs via RS232 to uC 18F45J10. I am doubtful where I need to change for this program to ... |
Topic: PWM Duty Cycle Problem |
fernandokestering
Replies: 13
Views: 27566
|
Forum: General CCS C Discussion Posted: Thu Sep 13, 2018 4:53 pm Subject: PWM Duty Cycle Problem |
#use pwm(output=pin_c2, timer=2, frequency=50kHz, duty=50) |
Topic: Library J1939 CCS v5 |
fernandokestering
Replies: 3
Views: 10737
|
Forum: General CCS C Discussion Posted: Mon Sep 10, 2018 4:03 pm Subject: Library J1939 CCS v5 |
Exactly this ID (18FEC1EE) that I am.
I'm simply checking when this ID and others that interest me appear on the network, there I read the data. |
Topic: Library J1939 CCS v5 |
fernandokestering
Replies: 3
Views: 10737
|
Forum: General CCS C Discussion Posted: Mon Sep 10, 2018 11:58 am Subject: Library J1939 CCS v5 |
Has anyone used the J1939 library provided with the version 5 compiler successfully?
I am trying to request address data 65,217, but it does not return data.
I can only capture the data of this PGN ... |
Topic: Return CAN |
fernandokestering
Replies: 10
Views: 20953
|
Forum: General CCS C Discussion Posted: Fri Sep 07, 2018 4:15 am Subject: [solved] |
Hi newguy
Thanks!!!![/code] |
Topic: Error in Adc Pic 16F886 |
fernandokestering
Replies: 3
Views: 11308
|
Forum: General CCS C Discussion Posted: Thu Sep 06, 2018 2:19 pm Subject: Error in Adc Pic 16F886 |
Correct code:
#include <16f886.h>
#device adc=10
#fuses intrc,nowdt
#use delay(clock=4Mhz)
#define use_portb_lcd TRUE
#include <LCD.C>
#include <math.h>
#u ... |
Topic: Return CAN |
fernandokestering
Replies: 10
Views: 20953
|
Forum: General CCS C Discussion Posted: Thu Sep 06, 2018 1:55 pm Subject: Return CAN |
I am receiving this information from the CAN network, PGN 65217 (total distance)
18FEC1EE
DATA = C2 45 73 00 3E 3D 73 00
How do I convert to KM? |
|