Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

WHY ? TASM WHY not MPLAB ?

Status
Not open for further replies.
no thank you.

i just ask ,if not freely available , no problem !

if required we will try to develop our own . i have little hand on vb.
 

Hi Manish, me again,
the NEW_PROG not working correctly,
in eeprom is MIND THE CAR, with this code (and all older code) on display I look mind@the@car, every letter vice LARGE is small and space is @,
PCL is a greather for 32 in TABLE
TABLE movf CHARACTER,W ;(put CHARACTER in W, W=77, for "M")
andlw 127 ;(logical AND between 127 and 77, result is W=77)
addwf PCL,F ;(PCL have value 47 and with 77 add, PCL goes to 124 or "m"
regards
 

SORRY , MY MISTAKE !

TRY THIS !

THE PROG WILL SHOW "MIND THE CAR " " , , X"

SOME THINK LIKE THAT !
 

Hi Manish, greath idea with using NOP,
I try something with sublw and subwf but you'r idea is exelent,
code working super,
best regards
p.s. I can't explaine why CHAR 32 OR SPACE not work?
 

what is next , now .

slave controller program .

i love remote programming !
 

Hi Manish, can you tell me why CHAR32 or SPACE not work,
regards
 

pasicr said:
Hi Manish, can you tell me why CHAR32 or SPACE not work,
regards

I fix the problem, best regards

Added after 4 minutes:

Hi Manish, now I will make a new PCB with external eeprom (24c08),
because you like remote programming, can you proposal change in code,
instead write and read from internal eeprom in 16F628, write and read from external eeprom 24C08,
regards
 

Hi Manish, where are you?
You have new programming problem for solve?,
regards
 

i just , came to my home , sorry for late .

i want to take a rest of one day !

i just checking eda , and my mail.

we will back to work very soon.

thank you !

plz check this
 

now , what is the next prob.
plz in details

Added after 26 minutes:

Hi Manish, can you tell me why CHAR32 or SPACE not work,
regards

there is no ! verification about .obj file and .asm file

i dont think that it going to be verified at all !!!!!!!!!


i.e. CHAR32 is missing for you !
 

Hi Manish,
I don't have a problem with code, that is OK,
now I will make a new PCB with external eeprom (24c08),
because you like remote programming, can you proposal change in code,
instead write and read from internal eeprom in 16F628, write and read from external eeprom 24C08,
regards
 

first , send the flow chart of you requirement , schematic , and what that dam pc doing with the link ,

i have lots of work still,

i will try and we will get some solution about it !
 

Hi Manish,
schematic is OLD from led message project from EPEMag, 2006/11,
the diference is only in add external EEPROM 24C08, SCL is connected to RA0 and SDA is connected to RA1.
the sch is:

intention is to put text in external eeprom and read from him,
not use internal eeprom:
old code:
;WRITE DATA TO EEPROM ROUTINE modified for PIC16F62x devices
;according to data sheet page 93 (is the same as for 16F87x device
;except that PIR2 of '87x has become PIR1 for '62x and page 2/3 not used)
;This routine is entered with W holding
;the eeprom byte address at which data
;is to be stored. The data to be stored
;is held in PROMVAL, which is located in both pages at or above $70

SETPRM: BANK1
movwf EEADR ;copy W into EEADR to set eeprom address
movf PROMVAL,W;get data value from PROMVAL and hold in W
movwf EEDATA;copy W into eeprom data byte register
bsf EECON1,WREN;enable write flag

MANUAL: movlw $55;these lines cause the action required by
movwf EECON2;by the eeprom to store the data in EEDATA
movlw $AA;at the address held by EEADR.
movwf EECON2
bsf EECON1,WR;set the ``perform write'' flag
BANK0

CHKWRT: btfss PIR1,EEIF ;wait until bit 4 of PIR1 is set
goto CHKWRT
bcf PIR1,EEIF ;clear bit 4 of PIR1
return

;READ DATA FROM EEPROM ROUTINE modified for PIC16F62x
;the data sheet page 93 is wrong! This routine here works!
;This routine is entered with W holding
;the eeprom byte address to be read.

PRMGET: BANK1
movwf EEADR ;copy W into EEADR to set eeprom address
bsf EECON1,RD ;enable read flag
movf EEDATA,W ;read eeprom data now in EEDATA into W
BANK0
return

I need change in code to write and read from external eeprom,
best regards
 

ok ,
i have small question ,

if we will make this to extend the length of number of columns ,
then what about mc intelligences ( will it automatically knows this , that the length get increase )and pc software modification .

first clear it , it may difficult to you to make me correct remotely !


try until i get it !,

what i get from you is that , we are just add eeprom ex to the pic thats it ! and we just replace the "wr/rd of internal prog code" by "external wr/rd prog code":- which will be the real deal for you !

i dont think that it will work !

you need one more think here is that in main scanning loop(wherever it is ) you have to adjust it accordingly !
 

Hi Manish, you say:
extend the length of number of columns

No, it is not my intention, I need to increase lenght of message, (number of columns is OK)
in old code max. lenght of message is 126 char (internal eeprom in 16f628),
I need to put on display larger message than 126 char,
for example:
TO ALL PEOPLE, HAPPY NEW YEAR 2008, WITH ALL THE BEST
has 53 char place in internal eeprom,
best regards
 

msg length , no ckt modification !

is this ok !

display board is same , msg length get increased ok!

still we need to modify the main scanning loop !
 

what about pc program ,

if we modify the pic prog , then how about pc software !

will it allows us to send the data of msg more than its original msg length !
 

Hi Manish, PC program is not problem, before 6 months I buy from my friend (is clasical programmer) new software to command EPEMag led message project, in first version have implement lenght of message to 126 CHAR, today I speak with him, he will modify that,
regards
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top