Sonsivri

Electronics => AVR, 8051 Family and ARM Area => Topic started by: sohel on September 29, 2008, 02:49:18 14:49



Title: req to avr codder {nokia 5110 code}
Post by: sohel on September 29, 2008, 02:49:18 14:49

http://www.mcselec.com/index.php?option=com_content&task=view&id=88&Itemid=57

please help me get out hex file from that code. i have also link an design with proteus.


Title: Re: req to avr codder {nokia 5110 code}
Post by: sohel on September 30, 2008, 01:07:44 13:07
Hmm, ok

i am not avr codder and thats why i want to shift to pic with same frame and topology.

when i connect my hardware then proteus work fine . but after some time error message show.
[AVR CORE]PC=0xFC29. PC=0020 is outside of rom space.

i think my compiler error.

please


Title: Re: req to avr codder {nokia 5110 code}
Post by: Kombinator on September 30, 2008, 02:56:17 14:56
Quote
when i connect my hardware then proteus work fine . but after some time error message show.
[AVR CORE]PC=0xFC29. PC=0020 is outside of rom space.
Problem , generating COF file.
Use hex.


Title: Re: req to avr codder {nokia 5110 code}
Post by: sohel on September 30, 2008, 07:30:59 19:30
CAN U COMPILE IT FOR HEX?

PLEASE ???


Title: Re: req to avr codder {nokia 5110 code}
Post by: johnri on October 01, 2008, 09:13:09 21:13
This Nokia.lib is what you need to compile that code.

Just put it in your Bascom Lib directory and compile.
for example:  C:\Program Files\MCS Electronics\BASCOM-AVR\LIB



Title: Re: req to avr codder {nokia 5110 code}
Post by: sohel on October 03, 2008, 02:49:08 14:49
sorry u didnt answer my request. i want say please play my design to ur proteus which design for buad rate 115200. and wait some moment then it show error message. i think its compiler setting or code error. ???


Title: Re: req to avr codder {nokia 5110 code}
Post by: johnri on October 03, 2008, 07:42:29 19:42
sorry I misunderstood you.

I thought you were having trouble compiling it when you said:

>>CAN U COMPILE IT FOR HEX?
>>
>>PLEASE

I don't use Proteus or Bascom, so I can't really say what might be the problem.

I did have a look at the libs of the Bascom compiler and these were in plain assembly code,
if there is any way to generate a listing file of the compiled object then locating the problem might be easier.

sorry I couldn't be of any help.