FAQ | Points | Add... | Recent posts | Search | Register | Log in


[PIC16F628] pro¶ba o modyfikację kodu


Post new topic  Reply to topic      Main Page -> Forum Index -> Microcontrollers Generally -> PIC Microcontrollers -> [PIC16F628] pro¶ba o modyfikację kodu
Author
Message
mkpl
Poziom 23
Poziom 23


Joined: 11 Mar 2004
Posts: 3416
Location: Mysłowice

Post#1 Post from the author of the topic 25 Nov 2010 13:40   

[PIC16F628] pro¶ba o modyfikację kodu


Witam
Jest szansa na przepisanie kodu w asm z 16f84 na 16f628 (takie mam). Na picach się kompletnie nie znam.



Soft.rar
 Filename:  Soft.rar
Download
 Contents:  
 Filesize:  8.92 KB
 Punkty:  0

Back to top
   
Google

Google Adsense


Post# Post from the author of the topic 25 Nov 2010 13:40   





Back to top
   
adamwesola
Poziom 18
Poziom 18


Joined: 31 Oct 2004
Posts: 485
Location: Warszawa

Post#2 25 Nov 2010 21:58   

Re: [PIC16F628] pro¶ba o modyfikację kodu


Trochę to klopotliwe, autor zastosowal aliasy rozkazów i makropolecenia, zawarte s± one zapewne w inkludowanym pliku 16f84.h, ponadto niektóre nazwy zmiennych s± niedozwolone, trzeba je zmienić.
Pocz±tek już przerobilem, zobaczę czy dalej sie da.
Jeżeli masz plik .hex to go daj, po zdisasemblowaniu bedzie widac wszystkie makra i aliasy w jawnej formie, wlasciwie to latwiej przerobić będzie z hexa niż ze "Ľródlowego".
Back to top
   
Google

Google Adsense


Post# 25 Nov 2010 21:58   





Back to top
   
mkpl
Poziom 23
Poziom 23


Joined: 11 Mar 2004
Posts: 3416
Location: Mysłowice

Post#3 Post from the author of the topic 25 Nov 2010 22:24   

Re: [PIC16F628] pro¶ba o modyfikację kodu


Ok już dodaję :)



Soft+Hex.rar
 Filename:  Soft+Hex.rar
Download
 Contents:  
 Filesize:  11 KB
 Punkty:  0

Back to top
   
Google

Google Adsense


Post# Post from the author of the topic 25 Nov 2010 22:24   





Back to top
   
adamwesola
Poziom 18
Poziom 18


Joined: 31 Oct 2004
Posts: 485
Location: Warszawa

Post#4 26 Nov 2010 22:38helpful post - solution   

Re: [PIC16F628] pro¶ba o modyfikację kodu


Powinno być dobrze, dostosowalem adresy zmiennych, adresy dla FSR-a i sposób obslugi eepromu.
Je¶li nie jest potrzebna końcówka MCLR (reset procesora) to możesz j± wyl±czyć w wierszu __CONFIG MCLRE_OFF.



pomoc.zip
 Filename:  pomoc.zip
Download
 Contents:  
 Filesize:  6.51 KB
 Punkty:  0.00

Back to top
   
mkpl
Poziom 23
Poziom 23


Joined: 11 Mar 2004
Posts: 3416
Location: Mysłowice

Post#5 Post from the author of the topic 27 Nov 2010 00:23   

Re: [PIC16F628] pro¶ba o modyfikację kodu


Wielkie dzięki kolego ! ;) wsad przetestuję tylko polutuję układ
Back to top
   
Post new topic  Reply to topic      Main Page -> Forum Index -> Microcontrollers Generally -> PIC Microcontrollers -> [PIC16F628] pro¶ba o modyfikację kodu
Page 1 of 1
Similar topics
Pro¶ba o sprawdzenie kodu Bascom (2)
[Bascom] Pro¶ba o wytłumaczenie kodu (5)
[c++]pro¶ba o wyja¶nienie linijki kodu (6)
Pro¶ba o sprawdzenie schematu i kodu... (10)
[C] Pro¶ba o zmianę kodu, do znawców C (5)
AVR pro¶ba o optymalizacje kodu (14)
SPI-Pro¶ba sprawdzenia kodu (2)
Adaptacja kodu z PIC16F690 na PIC16F628... (1)
PIC16F628 pro¶ba o skompilowanie kodu z C (7)
Algorytm sortowania - pro¶ba o poprawienie kodu (2)

Page generation time: 0.131 seconds


FAQ || Administrator || Moderators || Widgets and banners || Contact
elektroda.pl topic RSS feed