SMS length problem in GSM modem communicating with PIC16F877

Status
Not open for further replies.

garg29

Advanced Member level 1
Joined
Nov 17, 2004
Messages
443
Helped
25
Reputation
50
Reaction score
10
Trophy points
1,298
Visit site
Activity points
3,593
Hi guys,
i'm trying to learn gsm modem communicatin with microcontroller(pic16f877). in 'C' laguage.

I'm able to receive sms through gsm modem but only first few characters. I am defining a string as
Code:
unsigned char sms[50];
but if i try to increase the no. of characters and for that i try to define
Code:
unsigned char sms[100];
i get the following errors:-
Error[491] : can't find 0x85 words for psect "rbss_0" in segment "BANK0"
Error[491] : can't find 0x7 words for psect "temp" in segment "COMBANK"
Error[593] : can't find 0x2 words (0x2 withtotal) for psect "code_ptr" in segment "BANK0"

i tried using different bank
Code:
bank1 unsigned char sms[100];
but i still get the same resultts

Please help me out.

With best regards,
Garg
Code:
 

SMS Length problem

use PIC that has no banking like 18F if you have array of more than one bank memory size
or try using 16 bit pointer
 
Reactions: mwatha

    mwatha

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…