Author |
Message |
Topic: bootloader+uart |
saeed
Replies: 6
Views: 12709
|
Forum: General CCS C Discussion Posted: Tue May 30, 2017 8:48 am Subject: bootloader+uart |
I'm confused
In the absence of bootloader, i used to use #ROM getenv("EEPROM_ADDRESS")+y = {x} in the preprocessor to initialize eeprom and read_eeprom(get ... |
Topic: bootloader+uart |
saeed
Replies: 6
Views: 12709
|
Forum: General CCS C Discussion Posted: Tue May 30, 2017 6:48 am Subject: bootloader+uart |
Thank You Ttelmah
The problem solved as you mentioned.
I have another problem.I want to use #ROM getenv("EEPROM_ADDRESS") = {x} in ex_bootload. but when i use read_eepro ... |
Topic: bootloader+uart |
saeed
Replies: 6
Views: 12709
|
Forum: General CCS C Discussion Posted: Mon May 29, 2017 4:05 pm Subject: bootloader+uart |
Hi
I'm working on ccs bootloader example and i can run them properly. (ex_bootloader.c and ex_bootload.c)
Now i want to add a serial comm in the ex_bootload file. I know i have to use #int_global bu ... |
Topic: bootloader problem |
saeed
Replies: 6
Views: 14501
|
Forum: General CCS C Discussion Posted: Thu May 25, 2017 6:45 am Subject: bootloader problem |
It's not my code!
It's CCS example for bootloader
You're not supposed to post the CCS examples or drivers.
Thats right but i send the full code to show that it works with pic16f887 and doesn ... |
Topic: bootloader problem |
saeed
Replies: 6
Views: 14501
|
Forum: General CCS C Discussion Posted: Thu May 25, 2017 5:36 am Subject: bootloader problem |
Well I can see a couple of things (#1 Proteus is BUSTED) but it's a real 'challenge' to decode your code. I'm 'old school' and don't like a lot of conditionals (if-then-elses) based on compiler or PIC ... |
Topic: bootloader problem |
saeed
Replies: 6
Views: 14501
|
Forum: General CCS C Discussion Posted: Thu May 25, 2017 2:16 am Subject: bootloader problem |
Hi
I'm playing with ccs bootloader example and i can run it with pic16f887 in proteus but the example doesn't work with pic18f45k22.
I use SIOW.exe to load ex_bootload.hex into mcu and in both mcus ... |
Topic: sending sms in pdu format |
saeed
Replies: 3
Views: 11226
|
Forum: General CCS C Discussion Posted: Tue Apr 04, 2017 4:48 pm Subject: sending sms in pdu format |
First, you are leaving out the short message service centre number, so we can't tell if this is right. Remember this is sent in decimal semi octets, coded as a continuous binary stream, so getting thi ... |
Topic: sending sms in pdu format |
saeed
Replies: 3
Views: 11226
|
Forum: General CCS C Discussion Posted: Tue Apr 04, 2017 10:46 am Subject: sending sms in pdu format |
Hi
I try to send sms in pdu format and i can do it in hyperterminal. I try to send character 'S' (ascii code 53).
But when i do it via mcu, there is no result.
In addition, there is no problem in o ... |
Topic: multiple interrupt problem[solved] |
saeed
Replies: 2
Views: 8255
|
Forum: General CCS C Discussion Posted: Sun Mar 19, 2017 3:19 am Subject: multiple interrupt problem[solved] |
Thank you Ttelmah
I remove the delay in int_rb and code is working now.
|
Topic: multiple interrupt problem[solved] |
saeed
Replies: 2
Views: 8255
|
Forum: General CCS C Discussion Posted: Sat Mar 18, 2017 11:37 pm Subject: multiple interrupt problem[solved] |
Hi
I'm trying to use int_rb(for 4x4 keypad) and int_rda(for sim900a module) in my project. int_rda works well when int_rb is "not" present and i can send/receive data between mcu and gsm mo ... |
|