Results 1 to 7 of 7

Help.. Unsaon pagconvert ug .txt file to .hex file para maprogram nimo sa PIC.


This discussion is about "Help.. Unsaon pagconvert ug .txt file to .hex file para maprogram nimo sa PIC." in the "Computer Hardware" forums.
Unsaon pagconvert ug (notepad) .txt file to .hex file para ma-program nimo sa PIC. naa software ana? pwede nimo ishare? Thanks...

  1. #1
    Senior Member
    Join Date
    Nov 2006
    Posts
    680

    Default Help.. Unsaon pagconvert ug .txt file to .hex file para maprogram nimo sa PIC.




    Unsaon pagconvert ug (notepad) .txt file to .hex file para ma-program nimo sa PIC.

    naa software ana? pwede nimo ishare?

    Thanks

  2. #2
    C.I.A. erwin_rommel's Avatar
    Join Date
    Sep 2006
    Posts
    3,051

    Default Re: Help.. Unsaon pagconvert ug .txt file to .hex file para maprogram nimo sa PIC.

    Quote Originally Posted by viking

    Unsaon pagconvert ug (notepad) .txt file to .hex file para ma-program nimo sa PIC.

    naa software ana? pwede nimo ishare?

    Thanks
    i assemble or i compile pa na nimo then i build sa mplab para maka create og hex file. adto lang sa www.microchip.com para maka download ka og mplab. naa toy other way pero naka limot na ko hehehe.

  3. #3
    Senior Member
    Join Date
    Dec 2007
    Posts
    622

    Default Re: Help.. Unsaon pagconvert ug .txt file to .hex file para maprogram nimo sa PIC.

    Download sa ka og Mplab Ide para mao imo editor og assembler. then himo dayon ka new project. then imo dayon 2 e lod imo txt sa editor. nig assemble nimo kay naa mana cya hex output. ang hex mao na imo e lod sad sa imo hex programmer with your hardware programmer para sa PIC. naa ka hardware programmer. ako naa ko . puide ka nako matabangan. email lang archjet3@hotmail.com or pm lang nako

  4. #4
    Elite Member
    Join Date
    Apr 2003
    Posts
    1,221

    Default Re: Help.. Unsaon pagconvert ug .txt file to .hex file para maprogram nimo sa PIC.

    i used a cross-assembler before that could compile assembly code to specific family of processors/controllers.
    first you write your code as text, then save it as a text file. you then compile your code using the assembler. this will generate a binary or hex equivalent in machine language (use the compiler's options to generate the appropriate output). if you want to do it "your" way, you need to have the complete instruction set (with op codes) of the processor and write the file yourself (using a hex editor) using the op codes and their data. you need to have a very good background on the processor's memory addressing schemes to do this, as well as patience to write machine language...

  5. #5
    C.I.A. erwin_rommel's Avatar
    Join Date
    Sep 2006
    Posts
    3,051

    Default Re: Help.. Unsaon pagconvert ug .txt file to .hex file para maprogram nimo sa PIC.

    Quote Originally Posted by blade4638
    i used a cross-assembler before that could compile assembly code to specific family of processors/controllers.
    first you write your code as text, then save it as a text file. you then compile your code using the assembler. this will generate a binary or hex equivalent in machine language (use the compiler's options to generate the appropriate output). if you want to do it "your" way, you need to have the complete instruction set (with op codes) of the processor and write the file yourself (using a hex editor) using the op codes and their data. you need to have a very good background on the processor's memory addressing schemes to do this, as well as patience to write machine language...
    dili na practical mu gamit og machine code kay lisod himuon, debug, og pag update if ever ganahan ka. mas ok if strong ka og foundation sa c or assembly pero i prefer assembly if pic18f84a ang imong gamiton kay mas gamay og kuha sa program memory pero taas lang ang code.

  6. #6
    Elite Member
    Join Date
    Apr 2003
    Posts
    1,221

    Default Re: Help.. Unsaon pagconvert ug .txt file to .hex file para maprogram nimo sa PIC.

    Quote Originally Posted by erwin_rommel
    dili na practical mu gamit og machine code kay lisod himuon, debug, og pag update if ever ganahan ka. mas ok if strong ka og foundation sa c or assembly pero i prefer assembly if pic18f84a ang imong gamiton kay mas gamay og kuha sa program memory pero taas lang ang code.
    that's why i said "if you want to do it "your" way". using a high-level language compiler (such as C) to build assembly code doesn't produce the most efficient code, its only more convenient for the programmer. i've made a program size comparison before when i was in college using 8088 machine code i wrote in hex and that produced by a C compiler. the size difference was significant, enough for us to decide to use the one i wrote because it fit in our very limited 8kB eprom. what took me about 1.5 hours to write/compile in C took me more than 1 day to write in machine code (wala pa na labot pag-plano sa locations in memory para mahibal-an mga offsets during addressing).

  7. #7
    Senior Member
    Join Date
    Dec 2007
    Posts
    622

    Default Re: Help.. Unsaon pagconvert ug .txt file to .hex file para maprogram nimo sa PIC.

    Kung intresasdo gyud ka makahibalo sa process pag edit until sa pagload sa hex ngad2 sa imo PIC nga IC I can help you and show you how 2 do it. I have the complete tools here to teach you all the way.. Just txt me or Pm or email me. whether on assembly language or in c laguage.. (0915947677. Naa ko ga work sa Mepz 1. we can arrange time kay busy man sad ko.k.

  8.    Advertisement

Similar Threads

 
  1. help! unsaon pgpost ug pics sa thread?
    By redcheek in forum Support Center
    Replies: 2
    Last Post: 05-01-2009, 11:54 PM
  2. HELP: Unsaon Pagpabaga ug buhok?
    By schanqz in forum Fitness & Health
    Replies: 7
    Last Post: 09-20-2008, 11:04 PM
  3. unsa software nga mo convert from AUDIO file to TEXT file?.
    By AMD_earl in forum Software & Games (Old)
    Replies: 5
    Last Post: 02-07-2008, 11:24 AM
  4. How to add mp3 file to Motorola V3i via USB.. please help
    By jdimpas in forum Gizmos & Gadgets (Old)
    Replies: 8
    Last Post: 01-30-2007, 08:04 PM
  5. unsay program i convert ang dvd files to mpeg files?
    By LeMz in forum Software & Games (Old)
    Replies: 7
    Last Post: 04-03-2006, 11:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top